From 882a1bcf52193ed649aabb726e0a9de683d2867f Mon Sep 17 00:00:00 2001 From: kitajchuk Date: Mon, 3 Oct 2022 08:30:30 -0700 Subject: [PATCH] Change className for require-auth test div --- src/components/require-auth.cy.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/require-auth.cy.tsx b/src/components/require-auth.cy.tsx index c05726c..0423af8 100644 --- a/src/components/require-auth.cy.tsx +++ b/src/components/require-auth.cy.tsx @@ -11,7 +11,7 @@ const RequireAuthTestWrapper = (props: Partial) => { return ( -
+

Protected Route

@@ -27,12 +27,12 @@ describe("", () => { it("is not authorized", () => { cy.mount(); - cy.get(".acl-div").should("not.exist"); + cy.get(".auth-div").should("not.exist"); }); it("is authorized", () => { cy.mount(); - cy.get(".acl-div").should("exist"); + cy.get(".auth-div").should("exist"); }); });