This commit is contained in:
@@ -77,14 +77,11 @@ describe("SMOKE SERVICE MISC SECTION", () => {
|
|||||||
cy.get("[data-cy=generalerror]").should("not.exist");
|
cy.get("[data-cy=generalerror]").should("not.exist");
|
||||||
cy.get("[data-cy=name]");
|
cy.get("[data-cy=name]");
|
||||||
|
|
||||||
cy.visit("/svc-meter-readings");
|
cy.visit("/svc-meter-readings/1");
|
||||||
cy.url().should("include", "/svc-meter-readings");
|
cy.url().should("include", "/svc-meter-readings/1");
|
||||||
cy.get("[data-cy=generalerror]").should("not.exist");
|
cy.get("[data-cy=generalerror]").should("not.exist");
|
||||||
cy.get("[data-cy=MeterReadingsTable]");
|
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.visit("/svc-meter-reading/0");
|
||||||
cy.url().should("include", "/svc-meter-reading/0");
|
cy.url().should("include", "/svc-meter-reading/0");
|
||||||
cy.get("[data-cy=generalerror]").should("not.exist");
|
cy.get("[data-cy=generalerror]").should("not.exist");
|
||||||
|
|||||||
Reference in New Issue
Block a user