Sha256: 06f897cbb3fa41a61add09d1498f9ade66b910a77209d614ff9c7b850453a2cb

Contents?: true

Size: 1.37 KB

Versions: 1

Compression:

Stored size: 1.37 KB

Contents

Feature:  Working with tables

Background:
  Given we are observing the people table

Scenario: Selecting a row by index
  When we select the table row with index "1"
  Then the row with index "1" should be selected

Scenario: Selecting a row by value
  When we select the table row with the value "Anna Doe"
  Then the row with index "1" should be selected

Scenario: Selecting a row from a child item
  When we select the "1"th table row
  Then the row with index "1" should be selected

Scenario: Rows have cells
  Then the row with index "0" should look like the following:
    | Name      | Date of Birth | State |
    | John Doe  | 12/15/1967    | FL    |

Scenario: Retrieving the row values
  Then the table row information should look like the following:
    | text      | row |
    | John Doe  | 0   | 
    | Anna Doe  | 1   |

Scenario: Retrieving the headers
  Then the table headers are "Name, Date of birth, State"

Scenario: Retrieving a row value by its header
  Then the "date_of_birth" for the row at index "1" is "3/4/1975"

Scenario: Working with lots of records counts
  When there are a lot of records in a table
  Then the table count responds in a reasonable amount of time

Scenario: Working with a row when there are a lot of records
  When there are a lot of records in a table
  Then accessing the values in row "12" should be snappy

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mohawk-0.0.4 features/table.feature