Sha256: 5df0b2340a1589159208243c40522538867b0155cba964def8d7e7f74d348ac7

Contents?: true

Size: 302 Bytes

Versions: 1

Compression:

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
druid-ts-0.0.1 features/step_definations/form_steps.rb