Sha256: f75e3c2733590d4ce322770e6290869e754a10f88fdbaf928dec7490c62c4ff5
Contents?: true
Size: 610 Bytes
Versions: 1
Compression:
Stored size: 610 Bytes
Contents
When(/^I select the "(.*?)" radio button$/) do |name| @page.send "select_#{name.downcase}_id".to_sym end Then(/^the "(.*?)" radio button should be selected$/) do |name| expect(@page.send "#{name.downcase}_id_selected?".to_sym).to be true end When(/^I locate the radio button by "(.*?)"$/) do |how| @how = how end When(/^I select the radio button$/) do @page.send "select_milk_#{@how}".to_sym end When(/^I retrieve a radio button$/) do @element = @page.milk_id_radio_button end When(/^I search for the radio button by "(.*?)" and "(.*?)"$/) do |param1, param2| @how = "#{param1}_#{param2}" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
druid-ts-0.0.1 | features/step_definations/radio_button_steps.rb |