Sha256: ea9322adfa3f6bab9351cc07d06672fbbb3c9ad7ec7c89fde2c7a0cccdd6d8fa

Contents?: true

Size: 848 Bytes

Versions: 16

Compression:

Stored size: 848 Bytes

Contents

When /^I am perusing options for Alert Dialogs$/ do
  on(MainMenuScreen).app
  on(AppScreen).alert_dialogs
end

When /^I choose the List Dialogs button by id$/ do
  on(AlertDialogsScreen).list_dialog
end

When /^I am observing custom views$/ do
  on(MainMenuScreen) do |screen|
    screen.scroll_down
    screen.views
  end
  on(ViewsMenuScreen).custom
end

Then /^I should be able to click a view by "(.*?)"$/ do |how|
  on(ControlsScreen).send "view_field_#{how}"
end

Then /^the "(.*?)" field identified by "(.*?)" can determine the following properties:$/ do |what, how, properties|
  screen = ControlsScreen.new
  view = screen.send "#{what}_field_#{how}_view"
  properties.hashes.each do |property|
    result = view.send("#{property["property"]}?")
    result.to_s.should eq(property["value"]), "for field #{property["property"]}"
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

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