Sha256: 1317e5cf1b3bfc907c2e91fdf713ef76096613d86495a427ca6e6485f4a69694

Contents?: true

Size: 582 Bytes

Versions: 2

Compression:

Stored size: 582 Bytes

Contents

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

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

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

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

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

Version data entries

2 entries across 2 versions & 1 rubygems

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