Debian Codegraph @

install/freeipa-webui/cypress/e2e/common/ui/checkbox.ts

raw symbols SCIP
1 import { Then, When } from "@badeball/cypress-cucumber-preprocessor";
2
3 When("I click on the {string} checkbox", (checkbox: string) => {
4 cy.dataCy(checkbox).click();
5 });
6
7 Then("I should see the {string} checkbox is checked", (checkbox: string) => {
8 cy.dataCy(checkbox).should("be.checked");
9 });
10
11 Then("I should see the {string} checkbox is unchecked", (checkbox: string) => {
12 cy.dataCy(checkbox).should("not.be.checked");
13 });