Sha256: 5fec5005dcf424f1c0ead397e7a271df53c8f93084039fd23e3b6baf7d6e8f01

Contents?: true

Size: 637 Bytes

Versions: 10

Compression:

Stored size: 637 Bytes

Contents

When /^I navigate to the Controls screen$/ do
  navigate_to(ControlsScreen)
end

When /^I continue navigating to the Controls screen$/ do
  continue_navigation_to(ControlsScreen)
end

When /^I navigate to the Buttons screen using the "(.*?)" route$/ do |route|
  navigate_to(ButtonScreen, :using => route.to_sym)
end

Given /^I am on the the ViewsMenuScreen$/ do
  navigate_to(ViewsMenuScreen)
end

When(/^I wait for the "(.*?)" screen$/) do |which|
  begin
    on(which.to_class)
  rescue Exception => e
    @last_error = e
  end
end

Then(/^the last error should tell me "(.*?)"$/) do |what|
  @last_error.message.should eq(what)
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
gametel-0.8 features/step_definitions/navigation_steps.rb
gametel-0.7 features/step_definitions/navigation_steps.rb
gametel-0.6 features/step_definitions/navigation_steps.rb
gametel-0.5.9.3 features/step_definitions/navigation_steps.rb
gametel-0.5.9.2 features/step_definitions/navigation_steps.rb
gametel-0.5.9.1 features/step_definitions/navigation_steps.rb
gametel-0.5.9 features/step_definitions/navigation_steps.rb
gametel-0.5.8.1 features/step_definitions/navigation_steps.rb
gametel-0.5.8 features/step_definitions/navigation_steps.rb
gametel-0.5.7 features/step_definitions/navigation_steps.rb