Sha256: a2cc1ddc8a0093c93c2ebd710925e0225196ec8064c887c31a4dda955349f6e3
Contents?: true
Size: 725 Bytes
Versions: 2
Compression:
Stored size: 725 Bytes
Contents
When(/^I set the file field to the step definition file$/) do @page.file_field_id = __FILE__ end Then(/^This filefield element should exist$/) do expect(@page.file_field_id_element.exist?).to be true end When(/^I search for the file field by "([^"]*)"$/) do |how| @how = how end Then(/^I should be able to set the file field$/) do @page.send "file_field_#{@how}=", __FILE__ end When(/^I search for the file field by "([^"]*)" and "([^"]*)"$/) do |param1, param2| @how = "#{param1}_#{param2}" end When(/^I locate a file field while the script is executing$/) do @element = @page.file_field_element(:id => 'file_field_id') end Then(/^The file field should exist$/) do expect(@element.exist?).to be true end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
druid-ts-1.1.1 | features/step_definations/file_field_steps.rb |
druid-ts-1.1.0 | features/step_definations/file_field_steps.rb |