This commit is contained in:
2021-12-19 20:22:37 +00:00
parent b0dca62c39
commit e760877060
3 changed files with 53 additions and 9 deletions

View File

@@ -52,7 +52,7 @@ describe("SMOKE SERVICE WO SECTION", () => {
cy.url().should("include", "/svc-workorder-item-part-requests");
cy.get("[data-cy=generalerror]").should("not.exist");
cy.get("[data-cy=WorkOrderItemPartRequestsTable]");
cy.visit("/svc-workorder-item-labors");
cy.url().should("include", "/svc-workorder-item-labors");
cy.get("[data-cy=generalerror]").should("not.exist");
@@ -78,7 +78,6 @@ describe("SMOKE SERVICE WO SECTION", () => {
cy.get("[data-cy=generalerror]").should("not.exist");
cy.get("[data-cy=WorkOrderItemOutsideServicesTable]");
//-----------------------------------------------------
});
});

View File

@@ -11,13 +11,11 @@ describe("SMOKE SERVICE QUOTE SECTION", () => {
.clear()
.type(`${Cypress.env("adminpassword")}{enter}`);
cy.visit("/svc-quotes");
cy.url().should("include", "/svc-quotes");
cy.get("[data-cy=generalerror]").should("not.exist");
cy.get("[data-cy=quotesTable]");
cy.visit("/svc-quote-items");
cy.url().should("include", "/svc-quote-items");
cy.get("[data-cy=generalerror]").should("not.exist");
@@ -43,7 +41,6 @@ describe("SMOKE SERVICE QUOTE SECTION", () => {
cy.get("[data-cy=generalerror]").should("not.exist");
cy.get("[data-cy=QuoteItemPartsTable]");
cy.visit("/svc-quote-item-labors");
cy.url().should("include", "/svc-quote-item-labors");
cy.get("[data-cy=generalerror]").should("not.exist");
@@ -69,8 +66,6 @@ describe("SMOKE SERVICE QUOTE SECTION", () => {
cy.get("[data-cy=generalerror]").should("not.exist");
cy.get("[data-cy=QuoteItemOutsideServicesTable]");
//-----------------------------------------------------
});
});

View File

@@ -11,12 +11,62 @@ describe("SMOKE SERVICE PM SECTION", () => {
.clear()
.type(`${Cypress.env("adminpassword")}{enter}`);
cy.visit("/svc-pms");
cy.url().should("include", "/svc-pms");
cy.get("[data-cy=generalerror]").should("not.exist");
cy.get("[data-cy=pmsTable]");
cy.visit("/svc-pm-items");
cy.url().should("include", "/svc-pm-items");
cy.get("[data-cy=generalerror]").should("not.exist");
cy.get("[data-cy=pmItemsTable]");
cy.visit("/svc-pm-item-units");
cy.url().should("include", "/svc-pm-item-units");
cy.get("[data-cy=generalerror]").should("not.exist");
cy.get("[data-cy=PMItemUnitsTable]");
cy.visit("/svc-pm-item-scheduled-users");
cy.url().should("include", "/svc-pm-item-scheduled-users");
cy.get("[data-cy=generalerror]").should("not.exist");
cy.get("[data-cy=PMItemScheduledUsersTable]");
cy.visit("/svc-pm-item-tasks");
cy.url().should("include", "/svc-pm-item-tasks");
cy.get("[data-cy=generalerror]").should("not.exist");
cy.get("[data-cy=PMItemTasksTable]");
cy.visit("/svc-pm-item-parts");
cy.url().should("include", "/svc-pm-item-parts");
cy.get("[data-cy=generalerror]").should("not.exist");
cy.get("[data-cy=PMItemPartsTable]");
cy.visit("/svc-pm-item-labors");
cy.url().should("include", "/svc-pm-item-labors");
cy.get("[data-cy=generalerror]").should("not.exist");
cy.get("[data-cy=PMItemLaborsTable]");
cy.visit("/svc-pm-item-travels");
cy.url().should("include", "/svc-pm-item-travels");
cy.get("[data-cy=generalerror]").should("not.exist");
cy.get("[data-cy=PMItemTravelsTable]");
cy.visit("/svc-pm-item-expenses");
cy.url().should("include", "/svc-pm-item-expenses");
cy.get("[data-cy=generalerror]").should("not.exist");
cy.get("[data-cy=PMItemExpensesTable]");
cy.visit("/svc-pm-item-loans");
cy.url().should("include", "/svc-pm-item-loans");
cy.get("[data-cy=generalerror]").should("not.exist");
cy.get("[data-cy=PMItemLoansTable]");
cy.visit("/svc-pm-item-outside-services");
cy.url().should("include", "/svc-pm-item-outside-services");
cy.get("[data-cy=generalerror]").should("not.exist");
cy.get("[data-cy=PMItemOutsideServicesTable]");
//-----------------------------------------------------
});