Then the "Enable notifications" switch should be turned on

A switch is on or off (aria-checked).

Examples

Then the "Enable notifications" switch should be turned on
And the "Enable notifications" switch should be turned off
Then the "Apple" switch should be turned on
And the "Banana" switch should be turned off
Then the "Banana" switch should be turned on

Pattern

Then(/^the "([^"]*)" switch should be turned (on|off)$/, …)

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