From 46cac98fb4296883999bb2d23602667cd763a01f Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Sun, 15 Feb 2026 17:14:36 -0800 Subject: [PATCH] 4643 --- .../regression/2-report/001-run-report.cy.js | 52 +++++++++++++++++++ .../000-setup.cy.js | 0 .../0100-search.cy.js | 0 .../0200-memo.cy.js | 0 .../0300-reminder.cy.js | 0 .../0400-notify-subscribe.cy.js | 0 .../0500-contract-create-review-history.cy.js | 0 .../0600-service-rate.cy.js | 0 .../0700-travel-rate.cy.js | 0 .../0800-tax-code.cy.js | 0 .../0900-notification-arrived.cy.js | 0 .../0100-workorder.cy.js | 0 12 files changed, 52 insertions(+) create mode 100644 e2e/tests/regression/2-report/001-run-report.cy.js rename e2e/tests/regression/{2-accounting-user => 3-accounting-user}/000-setup.cy.js (100%) rename e2e/tests/regression/{2-accounting-user => 3-accounting-user}/0100-search.cy.js (100%) rename e2e/tests/regression/{2-accounting-user => 3-accounting-user}/0200-memo.cy.js (100%) rename e2e/tests/regression/{2-accounting-user => 3-accounting-user}/0300-reminder.cy.js (100%) rename e2e/tests/regression/{2-accounting-user => 3-accounting-user}/0400-notify-subscribe.cy.js (100%) rename e2e/tests/regression/{2-accounting-user => 3-accounting-user}/0500-contract-create-review-history.cy.js (100%) rename e2e/tests/regression/{2-accounting-user => 3-accounting-user}/0600-service-rate.cy.js (100%) rename e2e/tests/regression/{2-accounting-user => 3-accounting-user}/0700-travel-rate.cy.js (100%) rename e2e/tests/regression/{2-accounting-user => 3-accounting-user}/0800-tax-code.cy.js (100%) rename e2e/tests/regression/{2-accounting-user => 3-accounting-user}/0900-notification-arrived.cy.js (100%) rename e2e/tests/regression/{3-service-user => 4-service-user}/0100-workorder.cy.js (100%) diff --git a/e2e/tests/regression/2-report/001-run-report.cy.js b/e2e/tests/regression/2-report/001-run-report.cy.js new file mode 100644 index 0000000..c743208 --- /dev/null +++ b/e2e/tests/regression/2-report/001-run-report.cy.js @@ -0,0 +1,52 @@ + +describe("Report generation", () => { + it("Customer report opens without error", () => { + cy.ayLogin("bizadmin"); + + //################# print customer report + cy.visit("/cust-customers"); + cy.url().should("include", "/cust-customers"); + cy.get("[data-cy=generalerror]").should("not.exist"); + cy.get("[data-cy=customersTable]"); + + cy.visit("/cust-customers/1"); + cy.url().should("include", "/cust-customers/1"); + cy.get("[data-cy=generalerror]").should("not.exist"); + cy.get("[data-cy=name]"); + + + + // cy.visit("/cust-customer-notes/1"); + // cy.url().should("include", "/cust-customer-notes/1"); + // cy.get("[data-cy=generalerror]").should("not.exist"); + // cy.get("[data-cy=clickThru]"); + + // cy.visit("/cust-customer-note/0"); + // cy.url().should("include", "/cust-customer-note/0"); + // cy.get("[data-cy=generalerror]").should("not.exist"); + // cy.get("[data-cy=notes]"); + + // cy.visit("/cust-head-offices"); + // cy.url().should("include", "/cust-head-offices"); + // cy.get("[data-cy=generalerror]").should("not.exist"); + // cy.get("[data-cy=headofficesTable]"); + + // cy.visit("/cust-head-offices/1"); + // cy.url().should("include", "cust-head-offices/1"); + // cy.get("[data-cy=generalerror]").should("not.exist"); + // cy.get("[data-cy=name]"); + + // cy.visit("/cust-users"); + // cy.url().should("include", "/cust-users"); + // cy.get("[data-cy=generalerror]").should("not.exist"); + // cy.get("[data-cy=custUsersTable]"); + + // cy.visit("/cust-users/0"); + // cy.url().should("include", "/cust-users/0"); + // cy.get("[data-cy=customerId]"); + + + + //----------------------------------------------------- + }); +}); diff --git a/e2e/tests/regression/2-accounting-user/000-setup.cy.js b/e2e/tests/regression/3-accounting-user/000-setup.cy.js similarity index 100% rename from e2e/tests/regression/2-accounting-user/000-setup.cy.js rename to e2e/tests/regression/3-accounting-user/000-setup.cy.js diff --git a/e2e/tests/regression/2-accounting-user/0100-search.cy.js b/e2e/tests/regression/3-accounting-user/0100-search.cy.js similarity index 100% rename from e2e/tests/regression/2-accounting-user/0100-search.cy.js rename to e2e/tests/regression/3-accounting-user/0100-search.cy.js diff --git a/e2e/tests/regression/2-accounting-user/0200-memo.cy.js b/e2e/tests/regression/3-accounting-user/0200-memo.cy.js similarity index 100% rename from e2e/tests/regression/2-accounting-user/0200-memo.cy.js rename to e2e/tests/regression/3-accounting-user/0200-memo.cy.js diff --git a/e2e/tests/regression/2-accounting-user/0300-reminder.cy.js b/e2e/tests/regression/3-accounting-user/0300-reminder.cy.js similarity index 100% rename from e2e/tests/regression/2-accounting-user/0300-reminder.cy.js rename to e2e/tests/regression/3-accounting-user/0300-reminder.cy.js diff --git a/e2e/tests/regression/2-accounting-user/0400-notify-subscribe.cy.js b/e2e/tests/regression/3-accounting-user/0400-notify-subscribe.cy.js similarity index 100% rename from e2e/tests/regression/2-accounting-user/0400-notify-subscribe.cy.js rename to e2e/tests/regression/3-accounting-user/0400-notify-subscribe.cy.js diff --git a/e2e/tests/regression/2-accounting-user/0500-contract-create-review-history.cy.js b/e2e/tests/regression/3-accounting-user/0500-contract-create-review-history.cy.js similarity index 100% rename from e2e/tests/regression/2-accounting-user/0500-contract-create-review-history.cy.js rename to e2e/tests/regression/3-accounting-user/0500-contract-create-review-history.cy.js diff --git a/e2e/tests/regression/2-accounting-user/0600-service-rate.cy.js b/e2e/tests/regression/3-accounting-user/0600-service-rate.cy.js similarity index 100% rename from e2e/tests/regression/2-accounting-user/0600-service-rate.cy.js rename to e2e/tests/regression/3-accounting-user/0600-service-rate.cy.js diff --git a/e2e/tests/regression/2-accounting-user/0700-travel-rate.cy.js b/e2e/tests/regression/3-accounting-user/0700-travel-rate.cy.js similarity index 100% rename from e2e/tests/regression/2-accounting-user/0700-travel-rate.cy.js rename to e2e/tests/regression/3-accounting-user/0700-travel-rate.cy.js diff --git a/e2e/tests/regression/2-accounting-user/0800-tax-code.cy.js b/e2e/tests/regression/3-accounting-user/0800-tax-code.cy.js similarity index 100% rename from e2e/tests/regression/2-accounting-user/0800-tax-code.cy.js rename to e2e/tests/regression/3-accounting-user/0800-tax-code.cy.js diff --git a/e2e/tests/regression/2-accounting-user/0900-notification-arrived.cy.js b/e2e/tests/regression/3-accounting-user/0900-notification-arrived.cy.js similarity index 100% rename from e2e/tests/regression/2-accounting-user/0900-notification-arrived.cy.js rename to e2e/tests/regression/3-accounting-user/0900-notification-arrived.cy.js diff --git a/e2e/tests/regression/3-service-user/0100-workorder.cy.js b/e2e/tests/regression/4-service-user/0100-workorder.cy.js similarity index 100% rename from e2e/tests/regression/3-service-user/0100-workorder.cy.js rename to e2e/tests/regression/4-service-user/0100-workorder.cy.js