diff --git a/frontend/app/cypress/integration/dashboard.spec.ts b/frontend/app/cypress/integration/dashboard.spec.ts index 1a34638a..546451fa 100644 --- a/frontend/app/cypress/integration/dashboard.spec.ts +++ b/frontend/app/cypress/integration/dashboard.spec.ts @@ -176,7 +176,7 @@ describe('dashboard', async function () { cy.visit('/overview'); cy.get('ion-searchbar').click({scrollBehavior: 'center'}); - cy.url().should('eq', Cypress.config().baseUrl + '/search'); + cy.url().should('eq', `${Cypress.config().baseUrl?.replace(/\/$/, '')}/search`); cy.get('ion-searchbar').should('not.have.value'); cy.get('ion-searchbar input.searchbar-input').should('have.focus');