Sha256: 140d7a9249cc4840782ab10b6496e48a8c84584ba2be6a830c51f20319afaa06
Contents?: true
Size: 487 Bytes
Versions: 2
Compression:
Stored size: 487 Bytes
Contents
When(/^I locate the form by "(.*?)"$/) do |how| @element = @page.send "form_#{how}_form" 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}_form" 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
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
druid-ts-1.1.1 | features/step_definations/form_steps.rb |
druid-ts-1.1.0 | features/step_definations/form_steps.rb |