Sha256: cce3351519f1872dbab5aa4c5851eba687317fba3f0e6a53f5d92c33025d92fc

Contents?: true

Size: 833 Bytes

Versions: 15

Compression:

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

Then(/^I should see that the file field element exists$/) do
  expect(@page.file_field_id?).to be true
end

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
druid-s-1.0.0 features/step_definations/file_field_steps.rb
druid-ts-1.2.6 features/step_definations/file_field_steps.rb
druid-ts-1.2.5 features/step_definations/file_field_steps.rb
druid-ts-1.2.4 features/step_definations/file_field_steps.rb
druid-ts-1.2.3 features/step_definations/file_field_steps.rb
druid-ts-1.2.2 features/step_definations/file_field_steps.rb
druid-ts-1.2.1 features/step_definations/file_field_steps.rb
druid-ts-1.2.0 features/step_definations/file_field_steps.rb
druid-ts-1.1.8 features/step_definations/file_field_steps.rb
druid-ts-1.1.7 features/step_definations/file_field_steps.rb
druid-ts-1.1.6 features/step_definations/file_field_steps.rb
druid-ts-1.1.5 features/step_definations/file_field_steps.rb
druid-ts-1.1.4 features/step_definations/file_field_steps.rb
druid-ts-1.1.3 features/step_definations/file_field_steps.rb
druid-ts-1.1.2 features/step_definations/file_field_steps.rb