Then the rows of "Layout" should be "Content" and "Call to Action"

The rows of a blocks or array field, in order: a block by its name, an array row by its label.

Examples

Then the rows of "Layout" should be "Content" and "Call to Action"
Then the rows of "Nav Items" should be "Nav item 1: Posts" and "Nav item 2: Contact"
And the rows of "Layout" should be "Call to Action", "Content" and "Media Block"
Then the rows of "Columns" should be "Column 01"
Then the rows of "Layout" should be "Content"

Pattern

Then(/^the rows of "([^"]*)" should be ((?:"[^"]*"(?:, | and )?)+)$/, …)

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