fix test
parent
c7f60fad91
commit
a04df4b3ab
|
|
@ -21,6 +21,6 @@ describe("Update User", () => {
|
||||||
it("Redirects to Dashboard when attempting to access admin area", () => {
|
it("Redirects to Dashboard when attempting to access admin area", () => {
|
||||||
cy.visit("/admin/cleanup");
|
cy.visit("/admin/cleanup");
|
||||||
cy.wait(200);
|
cy.wait(200);
|
||||||
cy.location("pathname").should("equal", "/dashboard");
|
cy.location("pathname").should("equal", "/dashboard/");
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -29,6 +29,6 @@ describe("Update User", () => {
|
||||||
it("Redirects to Dashboard when attempting to access admin area", () => {
|
it("Redirects to Dashboard when attempting to access admin area", () => {
|
||||||
cy.visit("/admin/cleanup");
|
cy.visit("/admin/cleanup");
|
||||||
cy.wait(200);
|
cy.wait(200);
|
||||||
cy.location("pathname").should("equal", "/dashboard");
|
cy.location("pathname").should("equal", "/dashboard/");
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,7 @@ describe("Read Only User", () => {
|
||||||
it("Redirects to Dashboard when attempting to create a work order", () => {
|
it("Redirects to Dashboard when attempting to create a work order", () => {
|
||||||
cy.visit("/workOrders/new");
|
cy.visit("/workOrders/new");
|
||||||
cy.wait(200);
|
cy.wait(200);
|
||||||
cy.location("pathname").should("equal", "/dashboard");
|
cy.location("pathname").should("equal", "/dashboard/");
|
||||||
});
|
});
|
||||||
it("Redirects to Dashboard when attempting to alter fees", () => {
|
it("Redirects to Dashboard when attempting to alter fees", () => {
|
||||||
cy.visit("/admin/fees");
|
cy.visit("/admin/fees");
|
||||||
|
|
|
||||||
|
|
@ -53,7 +53,7 @@ describe("Read Only User", () => {
|
||||||
it("Redirects to Dashboard when attempting to create a work order", () => {
|
it("Redirects to Dashboard when attempting to create a work order", () => {
|
||||||
cy.visit("/workOrders/new");
|
cy.visit("/workOrders/new");
|
||||||
cy.wait(200);
|
cy.wait(200);
|
||||||
cy.location("pathname").should("equal", "/dashboard");
|
cy.location("pathname").should("equal", "/dashboard/");
|
||||||
});
|
});
|
||||||
|
|
||||||
it("Redirects to Dashboard when attempting to alter fees", () => {
|
it("Redirects to Dashboard when attempting to alter fees", () => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue