fix(cypress): use env for API_URL
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
Dominik Pschenitschni 2023-01-05 13:30:51 +01:00
parent b71d41c5ec
commit 4806801114
Signed by: dpschen
GPG Key ID: B257AC0149F43A77
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, {