fix(cypress): use env for API_URL #2925

Merged
konrad merged 1 commits from dpschen/frontend:feature/cypress-use-env-for-API_URL into main 2023-01-05 13:34:42 +00:00
1 changed files with 1 additions and 2 deletions

View File

@ -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, {