Sha256: 8ae1751a12c8b4dc252c2fac318b9e917bfe401580a1d4daa1e981117efcab55

Contents?: true

Size: 581 Bytes

Versions: 10

Compression:

Stored size: 581 Bytes

Contents

When(/^I locate the form by "(.*?)"$/) do |how|
  @element = @page.send "form_#{how}_element"
end

Then(/^I should be able to submit the form$/) do
  @element.submit
end

When(/^I locate the form using "(.*?)" and "(.*?)"$/) do |param1, param2|
  @element = @page.send "form_#{param1}_#{param2}_element"
end

When(/^I locate the form$/) do
  @element = @page.form_id_element
end

When(/^I locate a form while the script is executing$/) do
  @element = @page.form_element(:id => 'form_id')
end

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

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
druid-s-1.0.0 features/step_definations/form_steps.rb
druid-ts-1.2.6 features/step_definations/form_steps.rb
druid-ts-1.2.5 features/step_definations/form_steps.rb
druid-ts-1.2.4 features/step_definations/form_steps.rb
druid-ts-1.2.3 features/step_definations/form_steps.rb
druid-ts-1.2.2 features/step_definations/form_steps.rb
druid-ts-1.2.1 features/step_definations/form_steps.rb
druid-ts-1.2.0 features/step_definations/form_steps.rb
druid-ts-1.1.8 features/step_definations/form_steps.rb
druid-ts-1.1.7 features/step_definations/form_steps.rb