This commit is contained in:
2021-12-20 19:12:32 +00:00
parent c08b169919
commit f3ff88229e
20 changed files with 99 additions and 229 deletions

View File

@@ -2,13 +2,8 @@
describe("SMOKE CUSTOMER SECTION", () => {
it("Customer User forms open without error", () => {
cy.visit("/login");
cy.ayLogin("accounting", "/customer-csr");
//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]");
@@ -17,7 +12,7 @@ describe("SMOKE CUSTOMER SECTION", () => {
cy.get("[data-cy=generalerror]").should("not.exist");
cy.get("[data-cy=workordersTable]");
//todo:
//todo:
//path: "/customer-workorders/:recordid",
//path: "/customer-csr/:recordid"