Table Steps

Data table row and column assertions. Reports, dashboards, admin lists.

Step phrasings in this group

The book sidebar lists each individual step page under this group.

Then the table "#users" should have 5 rows

Assert a table has exactly N body rows.

Then the table "#users" should have 4 columns

Assert a table has exactly N columns.

Then the table "#users" should contain the following columns:

Assert the table header contains every column listed in the table.

Then the table "#users" should be empty

Assert a table has zero body rows.

Then the table "#users" should not be empty

Assert a table has at least one body row.

Then the table "#users" should be sorted by "Name" in "ascending" order

Assert a table is sorted ascending or descending by a header.

Then the table "#users" should contain the following rows:

Assert a table contains every row described by the data table (substring match per cell).

Then the "Alice" row should contain the following:

Assert a row containing a given text fragment also contains every listed cell value.

Back to all step groups