This commit is contained in:
2021-12-19 20:29:41 +00:00
parent e760877060
commit 3e24d41dd7

View File

@@ -77,14 +77,11 @@ describe("SMOKE SERVICE MISC SECTION", () => {
cy.get("[data-cy=generalerror]").should("not.exist");
cy.get("[data-cy=name]");
cy.visit("/svc-meter-readings");
cy.url().should("include", "/svc-meter-readings");
cy.visit("/svc-meter-readings/1");
cy.url().should("include", "/svc-meter-readings/1");
cy.get("[data-cy=generalerror]").should("not.exist");
cy.get("[data-cy=MeterReadingsTable]");
//HMMM need a meter reading id to be certain, maybe a click on an item in the above table will take care of it
// path: "/svc-meter-readings/:unitid",
cy.visit("/svc-meter-reading/0");
cy.url().should("include", "/svc-meter-reading/0");
cy.get("[data-cy=generalerror]").should("not.exist");