Sha256: 6acd0bf971b15f6d43694ecbd094a59e237215f6945557353e041d28f7e0986a
Contents?: true
Size: 563 Bytes
Versions: 1
Compression:
Stored size: 563 Bytes
Contents
When(/^I type "(.*?)" into the text area$/) do |text| @page.text_area_id = text end Then(/^the text area should contain "(.*?)"$/) do |text| expect(@page.text_area_id).to eql text end When(/^I locate the text area by "(.*?)"$/) do |how| @element = @page.send "text_area_#{how}_text_area".to_sym end Then(/^I should be able to type "(.*?)" into the area$/) do |text| @element.send_keys text end When(/^I search for the text area by "(.*?)" and "(.*?)"$/) do |param1, param2| @element = @page.send "text_area_#{param1}_#{param2}_text_area".to_sym end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
druid-ts-0.0.1 | features/step_definations/text_area_steps.rb |