Sha256: 0ab4d8c8b2b7380d18b5dc1a2d353c47b634c5bb388919cd783e43af5f409233

Contents?: true

Size: 518 Bytes

Versions: 54

Compression:

Stored size: 518 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

54 entries across 54 versions & 4 rubygems

Version Path
page-object-1.2.0 features/step_definitions/list_item_steps.rb
page-object-1.1.1 features/step_definitions/list_item_steps.rb
page_object-1.1.3 features/step_definitions/list_item_steps.rb
page_object-1.1.2 features/step_definitions/list_item_steps.rb
page_object-1.1.1 features/step_definitions/list_item_steps.rb
page-object-1.1.0 features/step_definitions/list_item_steps.rb
page-object-lds-0.0.14 features/step_definitions/list_item_steps.rb
page-object-lds-0.0.13 features/step_definitions/list_item_steps.rb
page-object-lds-0.0.12 features/step_definitions/list_item_steps.rb
page-object-lds-0.0.11 features/step_definitions/list_item_steps.rb
page-object-lds-0.0.1 features/step_definitions/list_item_steps.rb
page-object-1.0.3 features/step_definitions/list_item_steps.rb
meeane-page-object-0.1.11 features/step_definitions/list_item_steps.rb
page-object-1.0.2 features/step_definitions/list_item_steps.rb
page-object-1.0.1 features/step_definitions/list_item_steps.rb
page-object-1.0 features/step_definitions/list_item_steps.rb
page-object-0.9.8 features/step_definitions/list_item_steps.rb
page-object-0.9.7 features/step_definitions/list_item_steps.rb
page-object-0.9.6 features/step_definitions/list_item_steps.rb
page-object-0.9.5 features/step_definitions/list_item_steps.rb