Sha256: a8c1546c36b3303007a9f472e97b77dd940c0ebb50b252a74b8060524644e9f2

Contents?: true

Size: 339 Bytes

Versions: 1

Compression:

Stored size: 339 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}_list_item".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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
druid-ts-0.0.1 features/step_definations/list_item_steps.rb