From 6e447e10abbdc4b77d1845ef211d110c83775858 Mon Sep 17 00:00:00 2001 From: Felipe Acosta Date: Thu, 13 Jun 2024 18:17:55 -0600 Subject: [PATCH] chore: added e2e test --- cypress/e2e/profile.cy.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/cypress/e2e/profile.cy.ts b/cypress/e2e/profile.cy.ts index 98bd930..2e1e80e 100644 --- a/cypress/e2e/profile.cy.ts +++ b/cypress/e2e/profile.cy.ts @@ -21,4 +21,12 @@ describe("Profile", () => { `/Banner${randomNumber}.svg`, ); }); + // Felipe de Jesús González Acosta A01275536 - Test #1/1 + // Test know if sign out works correctly + it("Should signout", () => { + cy.get('[data-testid="user-icon-navbar"]').click(); + cy.get('[data-testid="signout-button"]').click(); + cy.wait(6000); + cy.url().should("include", "/login"); + }); });