tests: fix nginx setup
This commit is contained in:
parent
af043d34cf
commit
8e87f8bc3a
@ -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 !");
|
||||
})
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user