deepsource-autofix-76c6eb20
Dan Gowans 2022-10-20 13:47:22 -04:00
parent c7f60fad91
commit a04df4b3ab
4 changed files with 4 additions and 4 deletions

View File

@ -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/");
}); });
}); });

View File

@ -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/");
}); });
}); });

View File

@ -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");

View File

@ -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", () => {