Then the page should be available in the language "de"

Assert the page is (or is not) available in a language: the page declares an alternate for it in the head (link rel="alternate" hreflang="de").

Examples

Then the page should be available in the language "de"
And the page should be available in the language "fr"
Then this page should be available in the language "en"
But the page should not be available in the language "ja"
Then page should not be available in the language "es"

Pattern

Then(/^(?:the |this )?page should( not)* be available in the language "([^"]*)"$/, …)

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