Switch the site language with the language switcher, by the name the switcher shows: the text of a link, or the title of its flag. When the switcher is a dropdown, the step opens it first.
Examples
When I switch the site language to "Français"
When I switch the site language to "English (United Kingdom)"
When we switch the site language to "Deutsch"
And I switch the site language to "Español"
When switch the site language to "Français (France)"
Pattern
When(/^(I |we )*switch the site language to "([^"]*)?"$/, …)
Part of @webship-js/joomla-steps (github.com/webship/joomla-steps), a step pack for Webship-js 2.0.x.