diff --git a/cypress/e2e/list/list-view-gantt.spec.ts b/cypress/e2e/list/list-view-gantt.spec.ts index b5dc8fa08..177f791ad 100644 --- a/cypress/e2e/list/list-view-gantt.spec.ts +++ b/cypress/e2e/list/list-view-gantt.spec.ts @@ -62,8 +62,7 @@ describe('List View Gantt', () => { }) it('Drags a task around', () => { - cy.intercept('**/api/v1/tasks/*') - .as('taskUpdate') + cy.intercept(Cypress.env('API_URL') + '/tasks/*').as('taskUpdate') const now = new Date() TaskFactory.create(1, {