mirror of
https://github.com/Mastermindzh/react-starter-kit.git
synced 2025-01-20 18:41:41 +01:00
Mastermindzh
2e49bd9f09
- Fixed e2e test which targeted the wrong word. - Updated minor/patch versions of npm packages - Added junit output for test runners
15 lines
352 B
JavaScript
15 lines
352 B
JavaScript
describe("Application navigation", () => {
|
|
beforeEach(() => {
|
|
cy.visit("http://localhost:3000");
|
|
});
|
|
|
|
it("Should render the navigation links", () => {
|
|
cy.get("[data-testid='nav']");
|
|
});
|
|
|
|
it("Should navigate to about when clicking on About", () => {
|
|
cy.get('[data-testid="nav.about"]').click();
|
|
cy.contains("About");
|
|
});
|
|
});
|