Sha256: 3cb85b391a5bc2c87384dbab384a2064294c94944e6b4b17523b7b7a29bd6476
Contents?: true
Size: 1.41 KB
Versions: 1
Compression:
Stored size: 1.41 KB
Contents
When /^I select the "([^\"]*)" collinson radio button$/ do |how| @page.send "select_#{how.downcase}_id".to_sym end When /^I select the "([^\"]*)" collinson collinson radio button$/ do |how| @page.send "choose_#{how.downcase}_id".to_sym end Then /^the "([^\"]*)" collinson radio button should be selected$/ do |how| @page.send "#{how.downcase}_id_selected?".to_sym end Then /^the "([^\"]*)" collinson collinson radio button should be selected$/ do |how| @page.send "#{how.downcase}_id_selected?".to_sym end When /^I search for the collinson radio button by "([^\"]*)"$/ do |how| @how = how end When /^I search for the collinson radio button by "([^\"]*)"$/ do |how| @how = how end When /^I search for the collinson radio button by "([^"]*)" and "([^"]*)"$/ do |param1, param2| @how = "#{param1}_#{param2}" end When /^I search for the collinson radio button by "([^"]*)" and "([^"]*)"$/ do |param1, param2| @how = "#{param1}_#{param2}" end When /^I select the collinson radio button$/ do @page.send "select_milk_#{@how}".to_sym end When /^I select the collinson radio button$/ do @page.send "select_milk_#{@how}".to_sym end When /^I select the collinson radio button while the script is executing$/ do @page.collinson radio_button_element(:id => 'milk_id').select end Then /^I should see that the collinson radio button exists$/ do @page.milk_id?.should == true end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
meeane-page-object-0.1.10 | features/step_definitions/radio_button_collinson_steps.rb |