Assert the number of rows (items, blocks) of a repeater or a builder.
Examples
Then "Order items" should have 2 rows
Then "Plan" should have 3 rows
And "Items" should have 1 row
Then "Expense lines" should have 2 rows
Then "Plan" should have 0 rows
Pattern
Then(/^"([^"]*)" should have (\d+) rows?$/, …)
Part of @webship-js/filament-steps (github.com/webship/filament-steps), a step pack for Webship-js 2.0.x.