Then the blog should list the post "Version 2.0"

Assert the list page of the blog shown (the blog, a page of it, a tag, an author) lists (or does not list) a post, by its title.

Examples

Then the blog should list the post "Version 2.0"
And the blog should list the post "What Comes Next"
But the blog should not list the post "Version 1.0"
Then blog should list the post "Writing Better Guides"
And the blog should not list the post "Welcome to Example Docs"

Pattern

Then(/^(?:the )?blog should( not)* list the post "([^"]*)?"$/, …)

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