| 1 |
import { Then } from "@badeball/cypress-cucumber-preprocessor"; |
| 2 |
|
| 3 |
Then("I should see {string} modal", (modalName: string) => { |
| 4 |
cy.dataCy(modalName).should("exist"); |
| 5 |
}); |
| 6 |
|
| 7 |
Then("I should not see {string} modal", (modalName: string) => { |
| 8 |
cy.dataCy(modalName).should("not.exist"); |
| 9 |
}); |