A field of a component of a dynamic zone shows a value.
Examples
Then "body" should be set to "A quotation for the test." in the "Quote" component of "blocks"
Then "author" should be set to "A tester" in the "Quote" component of "blocks"
And "body" should be set to "Some **bold** words." in the "Rich text" component of "blocks"
Then "body" should be set to "Another quotation." in the second "Quote" component of "blocks"
Then "author" should be set to "A harbour master" in the "Quote" component of "blocks"
Pattern
Then(/^"([^"]*)" should be set to "([^"]*)" in the (?:(first|second|third|fourth|fifth) )?"([^"]*)" component of "([^"]*)"$/, …)
Part of @webship-js/strapi-steps (github.com/webship/strapi-steps), a step pack for Webship-js 2.0.x.