Then the page generator should start with "Astro"

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. The name of the generator is a value of the step, so the same step tells a page of this site from a page another tool made.

Examples

Then the page generator should start with "Astro"
And the page generator should be "Astro v7.4.11"
And the page generator should contain "v7"
But the page generator should not start with "Hugo"
Then page generator should start with "Astro v7"

Pattern

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

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