Then the "Featured" switch should be on

Assert that a lightswitch of the form is on or off, by its label.

Examples

Then the "Featured" switch should be on
Then the "Featured" switch should be off
Then the "Enabled" switch should be on
And the "Enabled" switch should be off
And the "Featured" switch should be on

Pattern

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

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