Skip to content

Instantly share code, notes, and snippets.

@ddikman
Created Jul 28, 2021
Embed
What would you like to do?
Example of cucumber step definitions
Then("the first match is {string}") do |title|
expect(find(:css, '#search div h3', :match => :first).text).to eq(title)
end
When("tapping search") do
click_button('btnK')
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment