This commit is contained in:
2021-12-17 23:12:58 +00:00
parent f50ded131b
commit e95951ef4b
11 changed files with 717 additions and 2 deletions

View File

@@ -71,7 +71,7 @@ describe("SMOKE", () => {
cy.get("[data-cy=generalerror]").should("not.exist");
cy.get("[data-cy=tfa]");
//confirm a qrCode is actually being displayed
cy.get("[data-cy=qrCodeImage]")
cy.get("[data-cy=qrCodeImage]", { timeout: 15000 }) //this can be slow at times
.should("be.visible")
.and(($img) => {
// "naturalWidth" and "naturalHeight" are set when the image loads
@@ -157,7 +157,7 @@ describe("SMOKE", () => {
cy.visit("/svc-workorders/1");
cy.url().should("include", "svc-workorders/1");
cy.get("[data-cy=generalerror]").should("not.exist");
cy.get("[data-cy=customerId]",{timeout:10000});
cy.get("[data-cy=customerId]", { timeout: 10000 });
cy.visit("/svc-quotes");
cy.url().should("include", "/svc-quotes");