Then the app's "I agree to the terms of service." checkbox should be checked

A checkbox, a radio button or a switch of the app is checked (on), or not (aria-checked). The step waits for the state.

Examples

Then the app's "I agree to the terms of service." checkbox should be checked
Then the app's "I agree to the terms of service." checkbox should not be checked
Then the app's "Dark mode" switch should be on
Then the app's "Dark mode" switch should not be on
And the app's "Express delivery" radio button should be checked

Pattern

Then(/^the app's "([^"]*)" (checkbox|radio button|switch) should( not)? be (checked|on)$/, …)

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