Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Commit

Permalink
Merge branch 'frontend/header-tests' of https://github.com/SELab-2/UG…
Browse files Browse the repository at this point in the history
…ent-3 into frontend/header-tests
  • Loading branch information
Vucis committed May 23, 2024
2 parents 1f8e45c + 6fd78b5 commit d5e99a5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions frontend/cypress/e2e/Header.cy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,11 @@ describe("Header functionality not logged in", () => {
.and("include", "login.microsoftonline.com");
// good enough test, will need to test validity of url some other way because can't really login if we can't make our own account for testing
});

it("Header change language en -> nl", () => {
cy.visit("/");
cy.contains("en").should("be.visible").click()
cy.contains("Nederlands").should("be.visible").click()
cy.contains("nl").should("be.visible")
})
});

0 comments on commit d5e99a5

Please sign in to comment.