Sha256: b4792976ca751755fc11a63a2c46f6f91e4c9bab126dc24df1c869165faba3d2
Contents?: true
Size: 530 Bytes
Versions: 2
Compression:
Stored size: 530 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
meeane-page-object-0.1.10 | features/step_definitions/file_field_steps.rb |
meeane-page-object-0.1.8 | features/step_definitions/file_field_steps.rb |