1
1
mirror of https://github.com/theoludwig/theoludwig.git synced 2024-11-05 04:51:30 +01:00
.profile/cypress/e2e/pages/404.cy.ts

12 lines
238 B
TypeScript
Raw Normal View History

describe("Page /404", () => {
2022-09-04 20:40:58 +02:00
beforeEach(() => {
return cy.visit("/404", { failOnStatusCode: false })
2022-09-04 20:40:58 +02:00
})
2021-08-13 15:48:29 +02:00
it("should display the statusCode of 404", () => {
cy.get("[data-cy=status-code]").contains("404")
2021-08-13 15:48:29 +02:00
})
})
export {}