Assert the site language, as set in the Squarespace site settings and read from Static.SQUARESPACE_CONTEXT.website.language (for example "en-US").
Examples
Then the site language should be "en-US"
And the site language should be "en-US"
Then the site language should be "fr-FR"
But the site language should not be "de-DE"
And site language should be "en-GB"
Pattern
Then(/^(?:the )?site language should( not)* be "([^"]*)"$/, …)
Part of @webship-js/squarespace-steps (github.com/webship/squarespace-steps), a step pack for Webship-js 2.0.x.