Debian Codegraph @

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

raw symbols SCIP
1 import { Then, When } from "@badeball/cypress-cucumber-preprocessor";
2
3 When("I click on the {string} kebab menu", (kebab: string) => {
4 cy.dataCy(kebab).click();
5 });
6
7 Then("I should see {string} kebab menu expanded", (kebab: string) => {
8 cy.dataCy(kebab).should("have.attr", "aria-expanded", "true");
9 });
10
11 Then("I should see {string} kebab menu collapsed", (kebab: string) => {
12 cy.dataCy(kebab).should("have.attr", "aria-expanded", "false");
13 });