Sha256: 917e7d070f10cb166b1153e2d1e5189a142f602a7fe1b93fb7b666c1c6d94535

Contents?: true

Size: 536 Bytes

Versions: 19

Compression:

Stored size: 536 Bytes

Contents

require 'honeydew'

When(/^I launch app (.+)$/) do |app|
  Honeydew.current_device.launch_application app
end

Then(/^I square root (\d+)/) do |number|
  Honeydew.current_device.long_click_element 'square root'
  number.to_s.each_char {|n| Honeydew.current_device.click_button n }
  Honeydew.current_device.click_button '='
end

When(/^I press the (.+) button$/) do |text|
  Honeydew.current_device.click_button text
end

Then(/^I should see (\d+) as the result$/) do |result|
  Honeydew.current_device.should have_edit_text(result)
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
honeydew-0.29.1 examples/cucumber/features/step_definitions/calculator_steps.rb
honeydew-0.29.0 examples/cucumber/features/step_definitions/calculator_steps.rb
honeydew-0.28.0 examples/cucumber/features/step_definitions/calculator_steps.rb
honeydew-0.27.4 examples/cucumber/features/step_definitions/calculator_steps.rb
honeydew-0.27.3 examples/cucumber/features/step_definitions/calculator_steps.rb
honeydew-0.27.2 examples/cucumber/features/step_definitions/calculator_steps.rb
honeydew-0.27.1 examples/cucumber/features/step_definitions/calculator_steps.rb
honeydew-0.27.0 examples/cucumber/features/step_definitions/calculator_steps.rb
honeydew-0.25.0 examples/cucumber/features/step_definitions/calculator_steps.rb
honeydew-0.24.1 examples/cucumber/features/step_definitions/calculator_steps.rb
honeydew-0.24.0 examples/cucumber/features/step_definitions/calculator_steps.rb
honeydew-0.23.0 examples/cucumber/features/step_definitions/calculator_steps.rb
honeydew-0.22.0 examples/cucumber/features/step_definitions/calculator_steps.rb
honeydew-0.21.0 examples/cucumber/features/step_definitions/calculator_steps.rb
honeydew-0.20.0 examples/cucumber/features/step_definitions/calculator_steps.rb
honeydew-0.19.0 examples/cucumber/features/step_definitions/calculator_steps.rb
honeydew-0.18.0 examples/cucumber/features/step_definitions/calculator_steps.rb
honeydew-0.17.0 examples/cucumber/features/step_definitions/calculator_steps.rb
honeydew-0.16.0 examples/cucumber/features/step_definitions/calculator_steps.rb