Sha256: 8605cd071a40c75a2e72ebdf8032411306f012afa6b647d265556219a76929c0

Contents?: true

Size: 641 Bytes

Versions: 7

Compression:

Stored size: 641 Bytes

Contents

When(/^I retrieve the data from the table row$/) do
  @row_data = @page.tr_id
end

Then(/^the row data should be "([^"]*)"$/) do |expected|
  expect(@row_data).to eql expected
end

When(/^I search for the table row by "([^"]*)"$/) do |how|
  @row_data = @page.send "tr_#{how}"
end

When(/^I retrieve a table row element by "([^"]*)" and "([^"]*)"$/) do |param1, param2|
  @row_data = @page.send "tr_#{param1}_#{param2}"
end

When(/^I retrieve a table row element while the script is executing$/) do
  @row_data = @page.row_element(:id => 'tr_id').text
end

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

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
druid-s-1.0.0 features/step_definations/table_row_steps.rb
druid-ts-1.2.6 features/step_definations/table_row_steps.rb
druid-ts-1.2.5 features/step_definations/table_row_steps.rb
druid-ts-1.2.4 features/step_definations/table_row_steps.rb
druid-ts-1.2.3 features/step_definations/table_row_steps.rb
druid-ts-1.2.2 features/step_definations/table_row_steps.rb
druid-ts-1.2.1 features/step_definations/table_row_steps.rb