fix(tests): remove old label task relations before adding a new one
This commit is contained in:
parent
97e6147351
commit
2a20c95ba5
1 changed files with 1 additions and 0 deletions
|
@ -340,6 +340,7 @@ describe('Task', () => {
|
||||||
list_id: 1,
|
list_id: 1,
|
||||||
})
|
})
|
||||||
const labels = LabelFactory.create(1)
|
const labels = LabelFactory.create(1)
|
||||||
|
LabelTaskFactory.truncate()
|
||||||
|
|
||||||
cy.visit(`/tasks/${tasks[0].id}`)
|
cy.visit(`/tasks/${tasks[0].id}`)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue