Sha256: 9e01dae3e9f57f8a733000cfef8aa9fb5626e296dc1b46378534945c482ff78e

Contents?: true

Size: 511 Bytes

Versions: 20

Compression:

Stored size: 511 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
  __FILE__.should include @page.file_field_id_element.value
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

20 entries across 20 versions & 4 rubygems

Version Path
page-object-1.2.0 features/step_definitions/file_field_steps.rb
page-object-1.1.1 features/step_definitions/file_field_steps.rb
page_object-1.1.3 features/step_definitions/file_field_steps.rb
page_object-1.1.2 features/step_definitions/file_field_steps.rb
page_object-1.1.1 features/step_definitions/file_field_steps.rb
page-object-1.1.0 features/step_definitions/file_field_steps.rb
page-object-lds-0.0.14 features/step_definitions/file_field_steps.rb
page-object-lds-0.0.13 features/step_definitions/file_field_steps.rb
page-object-lds-0.0.12 features/step_definitions/file_field_steps.rb
page-object-lds-0.0.11 features/step_definitions/file_field_steps.rb
page-object-lds-0.0.1 features/step_definitions/file_field_steps.rb
page-object-1.0.3 features/step_definitions/file_field_steps.rb
meeane-page-object-0.1.11 features/step_definitions/file_field_steps.rb
page-object-1.0.2 features/step_definitions/file_field_steps.rb
page-object-1.0.1 features/step_definitions/file_field_steps.rb
page-object-1.0 features/step_definitions/file_field_steps.rb
page-object-0.9.8 features/step_definitions/file_field_steps.rb
page-object-0.9.7 features/step_definitions/file_field_steps.rb
page-object-0.9.6 features/step_definitions/file_field_steps.rb
page-object-0.9.5 features/step_definitions/file_field_steps.rb