4643
This commit is contained in:
52
e2e/tests/regression/2-report/001-run-report.cy.js
Normal file
52
e2e/tests/regression/2-report/001-run-report.cy.js
Normal file
@@ -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]");
|
||||
|
||||
|
||||
|
||||
//-----------------------------------------------------
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user