// Basic smoke test, visit every form to ensure they load describe("SMOKE CUSTOMER SECTION", () => { it("Customer User forms open without error", () => { cy.visit("/login"); //CUSTOMER PAGES cy.get("input[name=username]").clear().type("Customer"); cy.get("input[name=password]").clear().type("Customer{enter}"); cy.url().should("include", "/customer-csr"); cy.get("[data-cy=generalerror]").should("not.exist"); cy.get("[data-cy=csrTable]"); cy.visit("/customer-workorders"); cy.url().should("include", "/customer-workorders"); cy.get("[data-cy=generalerror]").should("not.exist"); cy.get("[data-cy=workordersTable]"); //LOGOUT cy.get("[data-cy=navicon]").click(); cy.get("[data-cy=logout]").click(); cy.url().should("include", "/login"); cy.get("[data-cy=generalerror]").should("not.exist"); //----------------------------------------------------- }); });