Then the list should have 5 rows

Assert how many records the list shows on this page.

Examples

Then the list should have 5 rows
Then the list should have 1 row
Then the list should have 0 rows
And the list should have 19 rows
Then the list should have 10 rows

Pattern

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

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