Then the page generator should contain "Joomla"

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.

Examples

Then the page generator should contain "Joomla"
Then the page generator should start with "Joomla!"
And the page generator should be "Joomla! - Open Source Content Management"
Then the page generator should not contain "WordPress"
And page generator should contain "Joomla"

Pattern

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

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