Assert the kinds of the blocks of a field, in their order from the top.
Examples
Then the blocks of "Page body" should be "Heading block", "Paragraph block"
Then the blocks of "Page body" should be "Paragraph block", "Heading block"
And the blocks of "Page body" should be "Paragraph block"
Then the blocks of "Page body" should be "Heading block", "Heading block", "Paragraph block"
Then the blocks of "Page body" should be "Block quote", "Paragraph block"
Pattern
Then(/^the blocks of "([^"]*)" should be ((?:"[^"]*"(?:, )?)+)$/, …)
Part of @webship-js/wagtail-steps (github.com/webship/wagtail-steps), a step pack for Webship-js 2.0.x.