Skip to content

Commit

Permalink
chore: added e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
Felipegonac0 committed Jun 14, 2024
1 parent 3eb4e80 commit 6e447e1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions cypress/e2e/profile.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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");
});
});

0 comments on commit 6e447e1

Please sign in to comment.