diff --git a/cypress/e2e/route.cy.js b/cypress/e2e/route.cy.js index 3bf6b8c..563fa24 100644 --- a/cypress/e2e/route.cy.js +++ b/cypress/e2e/route.cy.js @@ -41,7 +41,7 @@ describe('test for route creation', () => { it('check route works', () => { if (routeName) { const clientBase = `${Cypress.env('clientUrl')}`; - cy.visit(`${clientBase}/mock`); + cy.visit(`${clientBase}/mock/anything`); cy.get('body').should('contain', 'httpbin.org'); } else { throw new Error('route creation failed');