Sha256: 6523b230a899396a0692f6729d3c5e02f7c5d980e8cb4fe6246f79f08501e659
Contents?: true
Size: 830 Bytes
Versions: 2
Compression:
Stored size: 830 Bytes
Contents
When(/^I select the First check box$/) do @page.check_cb_id end Then(/^the First check box should be selected$/) do expect(@page.cb_id_checked?).to be true end When(/^I unselect the First check box$/) do @page.uncheck_cb_id end Then(/^the First check box should not be selected$/) do expect(@page.cb_id_checked?).to be false end When(/^I locate the check box by "(.*?)"$/) do |how| @how = how end Then(/^I should be able to check the check box$/) do @page.send "check_cb_#{@how}".to_sym end When(/^I retrieve a check box element$/) do @element = @page.cb_id_element end When(/^I search for the check box by "(.*?)" and "(.*?)"$/) do |param1, param2| @how = "#{param1}_#{param2}" end When(/^I select the first check box while the script is executing$/) do @page.checkbox_element(:id => "cb_id").check end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
druid-ts-1.1.1 | features/step_definations/checkbox_steps.rb |
druid-ts-1.1.0 | features/step_definations/checkbox_steps.rb |