Skip to content

Commit

Permalink
tests: remove check of project container for anonymous users (#3853)
Browse files Browse the repository at this point in the history
  • Loading branch information
andre-code authored Dec 16, 2024
1 parent 8521a64 commit 7550ef3
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions cypress-tests/cypress/e2e/dashboardV2.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,7 @@ describe("Dashboard v2 - Authenticated user", () => {
describe("Dashboard v2 - Non-Authenticated user", () => {
it("Cannot see projects and groups on Dashboard when logged out", () => {
cy.visit("v2");
cy.getDataCy("projects-container").contains("No 2.0 projects.");
cy.getDataCy("view-other-projects-btn").should("be.visible");
cy.getDataCy("groups-container").contains("No 2.0 groups.");
cy.getDataCy("view-other-groups-btn").should("be.visible");
cy.getDataCy("user-container").should("be.visible");
cy.getDataCy("user-container").should("contain.text", "You are not logged in.");
});
});

0 comments on commit 7550ef3

Please sign in to comment.