Sha256: 456d418e7f2dbc2dc5d92055087d29aac72e812621dc48dfc06e8fdd2b3e14ee
Contents?: true
Size: 554 Bytes
Versions: 1
Compression:
Stored size: 554 Bytes
Contents
When(/^I click the button$/) do @page.button_id end Then(/^I should be on the success page$/) do expect(@page.text).to include 'Success' expect(@page.title).to eql 'Success' end When(/^I locate the button by "(.*?)"$/) do |how| @how = how end Then(/^I should be able to click the button$/) do @page.send "button_#{@how}".to_sym end When(/^I retrieve a button element$/) do @element = @page.send "button_id_button".to_sym end When(/^I search for the button 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/button_steps.rb |