Assert the type of a block of a matrix field, by its number (from 1): the name of its nested entry type.
Examples
Then block 1 of the "Blocks" field should be a "Text block" block
Then block 2 of the "Blocks" field should be a "Quote" block
And block 3 of the "Blocks" field should be a "Text block" block
Then block 1 of the "Blocks" field should be a "Quote" block
And block 2 of the "Blocks" field should be a "Text block" block
Pattern
Then(/^block (\d+) of the "([^"]*)" field should be an? "([^"]*)" block$/, …)
Part of @webship-js/craft-cms-steps (github.com/webship/craft-cms-steps), a step pack for Webship-js 2.0.x.