From 2a20c95ba558c6fad22403f406d47892092f2955 Mon Sep 17 00:00:00 2001 From: kolaente Date: Tue, 12 Jul 2022 09:12:04 +0200 Subject: [PATCH] fix(tests): remove old label task relations before adding a new one --- cypress/e2e/task/task.spec.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/cypress/e2e/task/task.spec.ts b/cypress/e2e/task/task.spec.ts index 85ab4ba2..b5fa3c57 100644 --- a/cypress/e2e/task/task.spec.ts +++ b/cypress/e2e/task/task.spec.ts @@ -340,6 +340,7 @@ describe('Task', () => { list_id: 1, }) const labels = LabelFactory.create(1) + LabelTaskFactory.truncate() cy.visit(`/tasks/${tasks[0].id}`)