Sha256: fee5c118b064a6ce2991646088c5011352b6ec3a3318d3ac1dcad762f35664d2

Contents?: true

Size: 707 Bytes

Versions: 1

Compression:

Stored size: 707 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_checkbox
end

When(/^I search for the check box 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/checkbox_steps.rb