fix: failing cypress test (#5715)

* fix failing cypress test for 404 page
This commit is contained in:
aballerr 2022-12-16 16:49:23 -05:00 committed by GitHub
parent 4d47470f33
commit 4529e3cc88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -3,8 +3,8 @@ describe('Redirect', () => {
cy.visit('/create-proposal')
cy.url().should('match', /\/vote\/create-proposal/)
})
it('should redirect to /swap when visiting nonexist url', () => {
it('should redirect to /not-found when visiting nonexist url', () => {
cy.visit('/none-exist-url')
cy.url().should('match', /\/swap/)
cy.url().should('match', /\/not-found/)
})
})