Sha256: 85c4bb2344309de5682f5712be113bac91aae8e3c44d5d126b3f3070441a9ae6

Contents?: true

Size: 457 Bytes

Versions: 11

Compression:

Stored size: 457 Bytes

Contents

When /^I click the "(.*?)" button$/ do |name|
  on(MainScreen).send "#{name.to_field}_button"
end

Then /^I should see the "(.*?)" window$/ do |window_title|
  RAutomation::Window.new(:title => window_title).wait_until_exists
end

When /^I look at the value of the "(.*?)" control$/ do |name|
  @last_value = on(MainScreen).send "#{name.to_field}_value"
end

Then /^the value should be "(.*?)"$/ do |value|
  @last_value.should eq(value)
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
mohawk-0.1.4 features/step_definitions/button_steps.rb
mohawk-0.1.0 features/step_definitions/button_steps.rb
mohawk-0.0.9 features/step_definitions/button_steps.rb
mohawk-0.0.8 features/step_definitions/button_steps.rb
mohawk-0.0.7 features/step_definitions/button_steps.rb
mohawk-0.0.6 features/step_definitions/button_steps.rb
mohawk-0.0.5 features/step_definitions/button_steps.rb
mohawk-0.0.4 features/step_definitions/button_steps.rb
mohawk-0.0.3 features/step_definitions/button_steps.rb
mohawk-0.0.2 features/step_definitions/button_steps.rb
mohawk-0.0.1 features/step_definitions/button_steps.rb