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') }