Then the "Deutsch" language should be available

Assert a language of the language menu is (or is not) available for the current page: available means its entry is a link to the translation.

Examples

Then the "Deutsch" language should be available
And the "Dansk" language should be available
Then the "Deutsch" language should not be available
And the "de-DE" language should be available
Then the "English" language should be available

Pattern

Then(/^the "([^"]*)?" language should( not)* be available$/, …)

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