Sha256: 89cf349b3cf7405fd7ed4d2918822a23533e0f14534c7388444b6305b1dd3cb0

Contents?: true

Size: 549 Bytes

Versions: 2

Compression:

Stored size: 549 Bytes

Contents

When(/^I get the text from the list item$/) do
  @text = @page.li_id
end

When(/^I locate the list item by "(.*?)"$/) do |how|
  @element = @page.send "li_#{how}_element".to_sym
  @text = @element.text
end

When(/^I search for the list item by "(.*?)" and "(.*?)"$/) do |param1, param2|
  @text = @page.send "li_#{param1}_#{param2}"
end

When(/^I retrieve a list item element$/) do
  @element = @page.li_id_element
end

When(/^I search for the list item while the script is executing$/) do
  @text = @page.list_item_element(:id => 'li_id').text
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
druid-ts-1.1.1 features/step_definations/list_item_steps.rb
druid-ts-1.1.0 features/step_definations/list_item_steps.rb