Sha256: f4678ca3885d02126774d633cd6f95fd281ff799dd02cca34ecb65dbeb860fc9

Contents?: true

Size: 383 Bytes

Versions: 11

Compression:

Stored size: 383 Bytes

Contents

Then /^the data for row "([^"]*)" should be "([^"]*)" and "([^"]*)"$/ do |row, col1, col2|
  table_row = @element[row.to_i - 1]
  table_row[0].text.should == col1
  table_row[1].text.should == col2
end


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

Then /^the cell data should be '([^"]*)'$/ do |expected|
  @cell_data.should == expected
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
page-object-0.2.4 features/step_definitions/table_steps.rb
page-object-0.2.3 features/step_definitions/table_steps.rb
page-object-0.2.2 features/step_definitions/table_steps.rb
page-object-0.2.1 features/step_definitions/table_steps.rb
page-object-0.2 features/step_definitions/table_steps.rb
page-object-0.1.1 features/step_definitions/table_steps.rb
page-object-0.1 features/step_definitions/table_steps.rb
page-object-0.0.5 features/step_definitions/table_steps.rb
page-object-0.0.4 features/step_definitions/table_steps.rb
page-object-0.0.3 features/step_definitions/table_steps.rb
page-object-0.0.2 features/step_definitions/table_steps.rb