From 4529e3cc88886615875a369e9cd5668e4d2d2eb6 Mon Sep 17 00:00:00 2001 From: aballerr Date: Fri, 16 Dec 2022 16:49:23 -0500 Subject: [PATCH] fix: failing cypress test (#5715) * fix failing cypress test for 404 page --- cypress/e2e/redirects.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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/) }) })