fix(tests): remove old label task relations before adding a new one

This commit is contained in:
kolaente 2022-07-12 09:12:04 +02:00
parent 97e6147351
commit 2a20c95ba5
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -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}`)