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

Version Path
gametel-0.8 features/step_definitions/button_steps.rb
gametel-0.7 features/step_definitions/button_steps.rb
gametel-0.6 features/step_definitions/button_steps.rb
gametel-0.5.9.3 features/step_definitions/button_steps.rb
gametel-0.5.9.2 features/step_definitions/button_steps.rb
gametel-0.5.9.1 features/step_definitions/button_steps.rb
gametel-0.5.9 features/step_definitions/button_steps.rb
gametel-0.5.8.1 features/step_definitions/button_steps.rb
gametel-0.5.8 features/step_definitions/button_steps.rb
gametel-0.5.7 features/step_definitions/button_steps.rb
gametel-0.5.6 features/step_definitions/button_steps.rb
gametel-0.5.5 features/step_definitions/button_steps.rb
gametel-0.5.4 features/step_definitions/button_steps.rb
gametel-0.5.3 features/step_definitions/button_steps.rb
gametel-0.5.2 features/step_definitions/button_steps.rb
gametel-0.5.1 features/step_definitions/button_steps.rb
gametel-0.5 features/step_definitions/button_steps.rb
gametel-0.4 features/step_definitions/button_steps.rb