tests: fix nginx setup

This commit is contained in:
Mangiang 2021-11-15 22:09:11 -05:00
parent 0c637ef92e
commit 2a61366bcf

View File

@ -39,7 +39,7 @@ describe('Url check', () => {
describe('Check page not found', () => {
it('Invalid url should redirect to page not found', () => {
cy.visit('/ABC')
cy.visit('/ABC', {failOnStatusCode: false}).its('status').should('equal', 404)
cy.get('#not-found-message').contains("This page does not exist !");
})
})