From b5ddb323e6f60f9c6bc1969dade9f5d58686870c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thea=20Sch=C3=B6bl?= Date: Thu, 21 Sep 2023 10:56:51 +0200 Subject: [PATCH] feat: webkit in cypress pipelines --- frontend/app/cypress/integration/dashboard.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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');