Then I should see the language switcher

Assert the language switcher module (.mod-languages) is (or is not) on the page. It shows only on a multilingual site: the Language Filter plugin, at least two content languages and a published Language Switcher module.

Examples

Then I should see the language switcher
Then I should not see the language switcher
Then we should see the language switcher
And I should not see the language switcher
Then should see the language switcher

Pattern

Then(/^(I |we )*should( not)* see the language switcher$/, …)

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