Skip to content

Commit

Permalink
fix cypress test for error page to match current html structure
Browse files Browse the repository at this point in the history
  • Loading branch information
osma committed Aug 31, 2023
1 parent ab97f59 commit a9898cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/cypress/template/error.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ describe('Error page', () => {
// go to a non-existing page
cy.visit('/404', {failOnStatusCode: false})
// check that the page contains 404 error code
cy.get('.alert h3').invoke('text').should('contain', '404 Error')
cy.get('.alert span').invoke('text').should('contain', '404 Error')
})
})

0 comments on commit a9898cd

Please sign in to comment.