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

12 lines
238 B
TypeScript
Raw Normal View History

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