1
1
mirror of https://github.com/theoludwig/theoludwig.git synced 2024-11-10 06:18:07 +01:00
.profile/cypress/e2e/pages/404.cy.ts

12 lines
238 B
TypeScript
Raw Normal View History

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