Sha256: 1a70d23ef3cb4d8f27d3fc8800757872820584be9c8c4b3deda1ccf61900c56d

Contents?: true

Size: 567 Bytes

Versions: 17

Compression:

Stored size: 567 Bytes

Contents

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

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

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

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

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

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
page-object-0.7.6 features/step_definitions/ordered_list_steps.rb
page-object-0.7.5.1 features/step_definitions/ordered_list_steps.rb
page-object-0.7.5 features/step_definitions/ordered_list_steps.rb
page-object-0.7.4 features/step_definitions/ordered_list_steps.rb
page-object-0.7.3 features/step_definitions/ordered_list_steps.rb
page-object-0.7.2 features/step_definitions/ordered_list_steps.rb
page-object-0.7.1 features/step_definitions/ordered_list_steps.rb
page-object-0.7.0 features/step_definitions/ordered_list_steps.rb
page-object-0.6.9 features/step_definitions/ordered_list_steps.rb
page-object-0.6.8 features/step_definitions/ordered_list_steps.rb
page-object-0.6.7 features/step_definitions/ordered_list_steps.rb
page-object-0.6.6 features/step_definitions/ordered_list_steps.rb
page-object-0.6.5 features/step_definitions/ordered_list_steps.rb
page-object-0.6.4 features/step_definitions/ordered_list_steps.rb
page-object-0.6.3 features/step_definitions/ordered_list_steps.rb
page-object-0.6.2 features/step_definitions/ordered_list_steps.rb
page-object-0.6.1 features/step_definitions/ordered_list_steps.rb