Sha256: ac4b5c851c9ace170ca4ce40b14a31f0513ef66177eb9cd08e18c480e8ba05f2

Contents?: true

Size: 699 Bytes

Versions: 37

Compression:

Stored size: 699 Bytes

Contents

When /^I get the first item from the unordered list$/ do
  @element = @page.ul_id_element[0]
end

When /^I search for the unordered list by "([^\"]*)"$/ do |how|
  @list = @page.send "ul_#{how}_element"
end

When /^I search for the unordered list by "([^"]*)" and "([^"]*)"$/ do |param1, param2|
  @list = @page.send "ul_#{param1}_#{param2}_element"
end

When /^I search for the unordered list while the script is executing$/ do
  @list = @page.unordered_list_element(:id => 'ul_id')
end

Then /^I should see that the unordered list exists$/ do
  @page.ul_id?.should == true
end

Then /^the text for the unordered list should contain "(.*)"$/ do |text|
  @page.send("ul_id").should include text
end

Version data entries

37 entries across 37 versions & 4 rubygems

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