Sha256: 715852556df4be8c31eea362f88fe986af38b2da1335e97a0a6988794af6b539

Contents?: true

Size: 662 Bytes

Versions: 2

Compression:

Stored size: 662 Bytes

Contents

When(/^I retrieve the data from the table cell$/) do
  @cell_text = @page.cell_id
end

Then(/^the cell data should be '(.*?)'$/) do |expected_text|
  expect(@cell_text).to eql expected_text
end

When(/^I locate the table cell by "(.*?)"$/) do |how|
  @cell_text = @page.send "cell_#{how}".to_sym
end

When(/^I retrieve table cell$/) do
  @element = @page.cell_id_element
end

When(/^I retrieve a table cell element by "(.*?)" and "(.*?)"$/) do |param1, param2|
  @cell_text = @page.send "cell_#{param1}_#{param2}".to_sym
end

When(/^I retrieve a table cell element while the script is executing$/) do
  @cell_text = @page.cell_element(:id => 'cell_id').text
end

Version data entries

2 entries across 2 versions & 1 rubygems

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