Sha256: 4936ea70c6d00f1e83e32ca1eb38854135d2d35ecb1274947cbfe59dd26aca15

Contents?: true

Size: 646 Bytes

Versions: 2

Compression:

Stored size: 646 Bytes

Contents

Then /^I should see the "(.*?)" list item$/ do |list_item|
  on(MainMenuScreen).should have_text list_item
end

When /^I press the "(.*?)" list item$/ do |list_item|
  on(MainMenuScreen).send "#{list_item}_list_item_text"
end

When /^I press the Back button$/ do
  on(MainMenuScreen) do |screen|
    screen.wait_for_text 'Accessibility Service'
    screen.back
  end
end

When /^I scroll down to the bottom of the screen$/ do
  on(MainMenuScreen).scroll_down
end

When /^I scroll up to the top of the screen$/ do
  on(MainMenuScreen).scroll_up
end

When /^I hit the enter key twice$/ do
  on(MainMenuScreen).enter
  on(MainMenuScreen).enter
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gametel-0.3 features/step_definitions/main_screen_steps.rb
gametel-0.2 features/step_definitions/main_screen_steps.rb