Skip to content

Instantly share code, notes, and snippets.

@woodybrood
Created August 13, 2012 15:50
Show Gist options
  • Save woodybrood/3342093 to your computer and use it in GitHub Desktop.
Save woodybrood/3342093 to your computer and use it in GitHub Desktop.
Then /^I should see a Result of (\d+)$/ do |result|
actual = query("textField marked:'Results'", :text)
actual[0].should == result
end
When /^I enter (\d+)$/ do |value|
value.each_char do |number|
macro %Q[I touch the "#{number}button" button]
end
macro 'I touch the "Enter" button'
end
When /^I tap \*$/ do
macro 'I touch the "*button" button'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment