Sha256: 859c5040b83e107b2dfb065bd3cb994f6cbc14ee22a576cb1d5821f9e112624c
Contents?: true
Size: 613 Bytes
Versions: 1
Compression:
Stored size: 613 Bytes
Contents
When(/^I type "(.*?)" into the text field$/) do |text| @page.text_field_id = text end Then(/^the text field should contain "(.*?)"$/) do |expected_text| expect(@page.text_field_id).to include expected_text end When(/^I locate the text field by "(.*?)"$/) do |how| @how = how end Then(/^I should be able to type "(.*?)" into the field$/) do |value| @page.send "text_field_#{@how}=".to_sym, value end When(/^I retrieve a text field$/) do @element = @page.text_field_id_text_field end When(/^I search for the text field by "(.*?)" and "(.*?)"$/) do |param1, param2| @how = "#{param1}_#{param2}" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
druid-ts-0.0.1 | features/step_definations/text_field_steps.rb |