diff --git a/cypress/e2e/redirects.test.ts b/cypress/e2e/redirects.test.ts index 3ef8aa4240..affdc8974c 100644 --- a/cypress/e2e/redirects.test.ts +++ b/cypress/e2e/redirects.test.ts @@ -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/) }) })