From eafd4da0383b8d1603a1f3f3c145fe5269589810 Mon Sep 17 00:00:00 2001 From: Elscrux Date: Thu, 23 May 2024 10:26:15 +0200 Subject: [PATCH] Fix test again --- frontend/cypress/e2e/task/task.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/cypress/e2e/task/task.spec.ts b/frontend/cypress/e2e/task/task.spec.ts index de1a61c25..2988ebb4f 100644 --- a/frontend/cypress/e2e/task/task.spec.ts +++ b/frontend/cypress/e2e/task/task.spec.ts @@ -42,7 +42,7 @@ function uploadAttachmentAndVerify(taskId: number) { .selectFile('cypress/fixtures/image.jpg', {force: true}) // The input is not visible, but on purpose cy.wait('@uploadAttachment') - cy.get('.attachments .attachments .files div.attachment') + cy.get('.attachments .attachments .files button.attachment') .should('exist') }