Sha256: 4917d43ff8889c8b6bd882dff0880097fa6cef4946c76bda20d933aa63cb455d
Contents?: true
Size: 622 Bytes
Versions: 18
Compression:
Stored size: 622 Bytes
Contents
Given /^I\'m on the buttons screen$/ do on(MainMenuScreen) do |screen| screen.views screen.wait_for_text 'Buttons' end on(ViewsMenuScreen) do |screen| screen.buttons screen.wait_for_text 'Normal' end end Then /^I should be able to click the button by "(.*?)"$/ do |how| on(ButtonScreen).send "normal_#{how}" end When /^I click the on\/off button$/ do on(ButtonScreen).on_off_id end Then /^I should see the text "(.*?)" on the screen$/ do |text| on(ButtonScreen).should have_text text end When /^I click the on\/off button by "(.*?)"$/ do |how| on(ButtonScreen).send "on_off_#{how}" end
Version data entries
18 entries across 18 versions & 1 rubygems