Sha256: 791c274a4fa81f530b3ecfe4823fcd41d2f151eeeb527e3815a6a1e00285b518

Contents?: true

Size: 458 Bytes

Versions: 2

Compression:

Stored size: 458 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|
  Mohawk::Waiter.wait_until { Uia.find_element title: window_title }
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

2 entries across 2 versions & 1 rubygems

Version Path
mohawk-0.2.1 features/step_definitions/button_steps.rb
mohawk-0.2 features/step_definitions/button_steps.rb