fix(cypress): use env for API_URL #2925
|
@ -62,8 +62,7 @@ describe('List View Gantt', () => {
|
||||||
})
|
})
|
||||||
|
|
||||||
it('Drags a task around', () => {
|
it('Drags a task around', () => {
|
||||||
cy.intercept('**/api/v1/tasks/*')
|
cy.intercept(Cypress.env('API_URL') + '/tasks/*').as('taskUpdate')
|
||||||
.as('taskUpdate')
|
|
||||||
|
|
||||||
const now = new Date()
|
const now = new Date()
|
||||||
TaskFactory.create(1, {
|
TaskFactory.create(1, {
|
||||||
|
|
Reference in New Issue
Block a user