Sha256: d4a32f80cd265bff5d4befca9e4ee7ebbb296408557e9230c30b1409e8311690

Contents?: true

Size: 482 Bytes

Versions: 2

Compression:

Stored size: 482 Bytes

Contents

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

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

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

Then /^I should see that the cell exists$/ do
  @page.cell_id?.should == true
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
meeane-page-object-0.1.10 features/step_definitions/table_cell_steps.rb
meeane-page-object-0.1.8 features/step_definitions/table_cell_steps.rb