Sha256: 743da677de1ef6b242574cd54dd1b99d01348072778b606458d4c0b2e3bd5e08
Contents?: true
Size: 537 Bytes
Versions: 2
Compression:
Stored size: 537 Bytes
Contents
When /^I get the text from the list item$/ do @text = @page.li_id end When /^I search for the list item by "([^\"]*)"$/ do |how| @text = @page.send "li_#{how}" end When /^I search for the list item by "([^"]*)" and "([^"]*)"$/ do |param1, param2| @text = @page.send "li_#{param1}_#{param2}" end When /^I search for the list item while the script is executing$/ do @text = @page.list_item_element(:id => 'li_id').text end Then /^I should see that the list item exists$/ do @page.li_id?.should == true end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
meeane-page-object-0.1.10 | features/step_definitions/list_item_steps.rb |
meeane-page-object-0.1.8 | features/step_definitions/list_item_steps.rb |