Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve like tests #8002

Closed
wants to merge 2 commits into from
Closed

Conversation

Flaburgan
Copy link
Member

This PR reorganize a bit the cucumber steps and improve the like steps. It is a base for the coming cucumber tests I'm writing for #2999.

end

Then /^I should see the Bitcoin address$/ do
find("#bitcoin_address")['value'].should == "AAAAAA"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.

var elem = $(el);
if ('" + text + "' == $.trim(elem.text()) ) {
elem.click();
}});")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Layout/MultilineMethodCallBraceLayout: Closing method call brace must be on the line after the last argument when opening brace is on a separate line from the first argument.

Copy link
Member

@jhass jhass left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix the style and then this is good to go :)

@SuperTux88 SuperTux88 added this to the 0.7.11.0 milestone Apr 28, 2019
@Flaburgan
Copy link
Member Author

Style check fixed and I finished the improvements I wanted to do but I haven't time for it on Sunday. So this should be ready to be merged.

@Flaburgan
Copy link
Member Author

@jhass travis is green ;)

@jhass jhass closed this in 83a9877 May 3, 2019
@jhass
Copy link
Member

jhass commented May 3, 2019

Merged as 554faa4 83a9877

🍪

@Flaburgan Flaburgan deleted the improve-like-tests branch May 3, 2019 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants