Then the list should have 10 rows

How many rows the current page of the list has.

Examples

Then the list should have 10 rows
Then the list should have 2 rows
And the list should have 7 rows
Then the list should have 1 row
Then the list should have 17 rows

Pattern

Then(/^the list should have (\d+) rows?$/, …)

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