Then I should see the "Search" block

Assert the page renders a core block, by its name: "Search", "Navigation", "Site Title", "Post Title", "Query Loop", "Comments", "Latest Posts" and the others. A core block renders with the class wp-block- and its name in lower case with hyphens ("Post Title" is .wp-block-post-title; "Query Loop" is .wp-block-query). The class is in the page of a block theme and of a classic theme that uses the block.

Examples

Then I should see the "Search" block
And we should see the "Navigation" block
Then I should see the "Post Title" block
And I should not see the "Latest Posts" block
But we should not see the "Calendar" block

Pattern

Then(/^(I |we )*should( not)* see the "([^"]*)" block$/, …)

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