Sha256: d1480f8a53152ebd7a36cc88e15a0cd934d5f9ebf89ad79709f77ebe7e716574

Contents?: true

Size: 920 Bytes

Versions: 15

Compression:

Stored size: 920 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

Then(/^I should see that the checkbox exists$/) do
  expect(@page.cb_id?).to be true
end

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
druid-s-1.0.0 features/step_definations/checkbox_steps.rb
druid-ts-1.2.6 features/step_definations/checkbox_steps.rb
druid-ts-1.2.5 features/step_definations/checkbox_steps.rb
druid-ts-1.2.4 features/step_definations/checkbox_steps.rb
druid-ts-1.2.3 features/step_definations/checkbox_steps.rb
druid-ts-1.2.2 features/step_definations/checkbox_steps.rb
druid-ts-1.2.1 features/step_definations/checkbox_steps.rb
druid-ts-1.2.0 features/step_definations/checkbox_steps.rb
druid-ts-1.1.8 features/step_definations/checkbox_steps.rb
druid-ts-1.1.7 features/step_definations/checkbox_steps.rb
druid-ts-1.1.6 features/step_definations/checkbox_steps.rb
druid-ts-1.1.5 features/step_definations/checkbox_steps.rb
druid-ts-1.1.4 features/step_definations/checkbox_steps.rb
druid-ts-1.1.3 features/step_definations/checkbox_steps.rb
druid-ts-1.1.2 features/step_definations/checkbox_steps.rb