diff --git a/cypress/e2e/02-update/updateUser.cy.js b/cypress/e2e/02-update/updateUser.cy.js index 6fcda5f5..0e7fd264 100644 --- a/cypress/e2e/02-update/updateUser.cy.js +++ b/cypress/e2e/02-update/updateUser.cy.js @@ -21,6 +21,6 @@ describe("Update User", () => { it("Redirects to Dashboard when attempting to access admin area", () => { cy.visit("/admin/cleanup"); cy.wait(200); - cy.location("pathname").should("equal", "/dashboard"); + cy.location("pathname").should("equal", "/dashboard/"); }); }); diff --git a/cypress/e2e/02-update/updateUser.cy.ts b/cypress/e2e/02-update/updateUser.cy.ts index c0efbd58..bd843f96 100644 --- a/cypress/e2e/02-update/updateUser.cy.ts +++ b/cypress/e2e/02-update/updateUser.cy.ts @@ -29,6 +29,6 @@ describe("Update User", () => { it("Redirects to Dashboard when attempting to access admin area", () => { cy.visit("/admin/cleanup"); cy.wait(200); - cy.location("pathname").should("equal", "/dashboard"); + cy.location("pathname").should("equal", "/dashboard/"); }); }); diff --git a/cypress/e2e/03-readOnly/readOnlyUser.cy.js b/cypress/e2e/03-readOnly/readOnlyUser.cy.js index e530b4e7..b1d94215 100644 --- a/cypress/e2e/03-readOnly/readOnlyUser.cy.js +++ b/cypress/e2e/03-readOnly/readOnlyUser.cy.js @@ -40,7 +40,7 @@ describe("Read Only User", () => { it("Redirects to Dashboard when attempting to create a work order", () => { cy.visit("/workOrders/new"); cy.wait(200); - cy.location("pathname").should("equal", "/dashboard"); + cy.location("pathname").should("equal", "/dashboard/"); }); it("Redirects to Dashboard when attempting to alter fees", () => { cy.visit("/admin/fees"); diff --git a/cypress/e2e/03-readOnly/readOnlyUser.cy.ts b/cypress/e2e/03-readOnly/readOnlyUser.cy.ts index 5ed11797..265729b0 100644 --- a/cypress/e2e/03-readOnly/readOnlyUser.cy.ts +++ b/cypress/e2e/03-readOnly/readOnlyUser.cy.ts @@ -53,7 +53,7 @@ describe("Read Only User", () => { it("Redirects to Dashboard when attempting to create a work order", () => { cy.visit("/workOrders/new"); cy.wait(200); - cy.location("pathname").should("equal", "/dashboard"); + cy.location("pathname").should("equal", "/dashboard/"); }); it("Redirects to Dashboard when attempting to alter fees", () => {