Then the listing should have 3 rows

Assert how many rows the listing shows on the page: an exact number, at least a number, or none (the "empty" row of the table).

Examples

Then the listing should have 3 rows
Then the listing should have at least 10 rows
And the listing should have no rows
Then the listing should have 1 row
And the listing should have at least 1 row

Pattern

Then(/^the listing should have (no|at least \d+|\d+) rows?$/, …)

Part of @webship-js/backdrop-cms-steps (github.com/webship/backdrop-cms-steps), a step pack for Webship-js 2.0.x.