Sha256: 6062a3ef96f2f9f08fc4c4e43aaffa4c96945868b8770b391af9d48a51c7a48d

Contents?: true

Size: 506 Bytes

Versions: 37

Compression:

Stored size: 506 Bytes

Contents

When /^I set the file field to the step definition file$/ do
  @page.file_field_id = __FILE__
end

Then /^its\' value should equal that file$/ do
  @page.file_field_id_element.value.should == __FILE__
end

When /^I search for the file field by "([^\"]*)"$/ do |how|
  @how = how
end

When /^I search for the file field by "([^\"]*)" and "([^\"]*)"$/ do |param1, param2|
  @how = "#{param1}_#{param2}"
end

Then /^I should be able to set the file field$/ do
  @page.send "file_field_#{@how}=", __FILE__
end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
page-object-0.9.4 features/step_definitions/file_field_steps.rb
page-object-0.9.3 features/step_definitions/file_field_steps.rb
page-object-0.9.2 features/step_definitions/file_field_steps.rb
page-object-0.9.1 features/step_definitions/file_field_steps.rb
page-object-0.9.0 features/step_definitions/file_field_steps.rb
page-object-0.8.10 features/step_definitions/file_field_steps.rb
page-object-0.8.9 features/step_definitions/file_field_steps.rb
page-object-0.8.8 features/step_definitions/file_field_steps.rb
page-object-0.8.7 features/step_definitions/file_field_steps.rb
page-object-0.8.6.1 features/step_definitions/file_field_steps.rb
page-object-0.8.6 features/step_definitions/file_field_steps.rb
page-object-0.8.5 features/step_definitions/file_field_steps.rb
page-object-0.8.4 features/step_definitions/file_field_steps.rb
page-object-0.8.3 features/step_definitions/file_field_steps.rb
page-object-0.8.2 features/step_definitions/file_field_steps.rb
page-object-0.8.1 features/step_definitions/file_field_steps.rb
page-object-0.8 features/step_definitions/file_field_steps.rb
page-object-0.7.6 features/step_definitions/file_field_steps.rb
page-object-0.7.5.1 features/step_definitions/file_field_steps.rb
page-object-0.7.5 features/step_definitions/file_field_steps.rb