Then the page generator should contain "v3"

Assert what the page's generator meta tag says: the whole content ("be"), its start ("start with") or a part of it ("contain"), without regard to case. Its value names the tool that built the page, with its version.

Examples

Then the page generator should contain "v3"
And the page generator should contain "3.10"
But the page generator should not contain "v2"
Then page generator should contain "v3.10"
And the page generator should not start with "v"

Pattern

Then(/^(?:the )?page generator should( not)* (be|start with|contain) "([^"]*)"$/, …)

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