Then "Layout" should have 2 rows

How many rows a blocks or array field has.

Examples

Then "Layout" should have 2 rows
Then "Nav Items" should have 3 rows
And "Columns" should have 1 row
Then "Layout" should have 0 rows
Then "Links" should have 1 row

Pattern

Then(/^"([^"]*)" should have (\d+) rows?$/, …)

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