Sha256: 025f222ec0fd5f9fd9b5d9bf385997fd8bb191aa971e1c6311ec1ba3f176986f

Contents?: true

Size: 640 Bytes

Versions: 15

Compression:

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

Then(/^I should see that the list item exists$/) do
  expect(@page.li_id?).to be true
end

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
druid-s-1.0.0 features/step_definations/list_item_steps.rb
druid-ts-1.2.6 features/step_definations/list_item_steps.rb
druid-ts-1.2.5 features/step_definations/list_item_steps.rb
druid-ts-1.2.4 features/step_definations/list_item_steps.rb
druid-ts-1.2.3 features/step_definations/list_item_steps.rb
druid-ts-1.2.2 features/step_definations/list_item_steps.rb
druid-ts-1.2.1 features/step_definations/list_item_steps.rb
druid-ts-1.2.0 features/step_definations/list_item_steps.rb
druid-ts-1.1.8 features/step_definations/list_item_steps.rb
druid-ts-1.1.7 features/step_definations/list_item_steps.rb
druid-ts-1.1.6 features/step_definations/list_item_steps.rb
druid-ts-1.1.5 features/step_definations/list_item_steps.rb
druid-ts-1.1.4 features/step_definations/list_item_steps.rb
druid-ts-1.1.3 features/step_definations/list_item_steps.rb
druid-ts-1.1.2 features/step_definations/list_item_steps.rb