Commit 4529e3cc authored by aballerr's avatar aballerr Committed by GitHub

fix: failing cypress test (#5715)

* fix failing cypress test for 404 page
parent 4d47470f
...@@ -3,8 +3,8 @@ describe('Redirect', () => { ...@@ -3,8 +3,8 @@ describe('Redirect', () => {
cy.visit('/create-proposal') cy.visit('/create-proposal')
cy.url().should('match', /\/vote\/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.visit('/none-exist-url')
cy.url().should('match', /\/swap/) cy.url().should('match', /\/not-found/)
}) })
}) })
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment