
* reference type cypress working * refactor * remove screenshots * add reference * add slash marker * run tests based on shop version * fix run tests based on shop version * fix run tests based on shop version * change base url to localhost * fix plugins * fix plugins * fix plugins * fix plugins * fix plugins * fix plugins * fix yml * fix yml * chage file names * fix files names * fix broken imports add checking for errors in grpah responses * fix broken imports add checking for errors in grpah responses * update jest * fix snapshot
15 lines
511 B
JavaScript
15 lines
511 B
JavaScript
import { SHARED_ELEMENTS } from "../../../elements/shared/sharedElements";
|
|
|
|
// export function confirmationMessageShouldDisappear() {
|
|
// cy.get(SHARED_ELEMENTS.notificationSuccess)
|
|
// .should("be.visible")
|
|
// .get(SHARED_ELEMENTS.notificationSuccess)
|
|
// .should("not.exist");
|
|
// }
|
|
|
|
Cypress.Commands.add("confirmationMessageShouldDisappear", () => {
|
|
cy.get(SHARED_ELEMENTS.notificationSuccess)
|
|
.should("be.visible")
|
|
.get(SHARED_ELEMENTS.notificationSuccess)
|
|
.should("not.exist");
|
|
});
|