Debian Codegraph @

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

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