When I switch the list to "French (fr)"

Switch the list to another locale with its locale picker, and wait for the list of that locale.

Examples

When I switch the list to "French (fr)"
When I switch the list to "English (en)"
And I switch the list to "French (fr)"
When I switch the list to "English (en)"
When I switch the list to "French (fr)"

Pattern

When(/^I switch the list to "([^"]*)"$/, …)

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