Turn a switch on or off: it is clicked when it is not already so, and the step waits until it says so (aria-checked).
Examples
When I turn on the "Enable notifications" switch
And I turn off the "Enable notifications" switch
When we turn on the "Apple" switch
And we turn off the "Banana" switch
When I turn on the "Banana" switch
Pattern
When(/^(?:I |we )?turn (on|off) the "([^"]*)" switch$/, …)
Part of @webship-js/headless-ui-steps (github.com/webship/headless-ui-steps), a step pack for Webship-js 2.0.x.