Frontend: Proof of concept for image preview #2266
|
@ -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 a.attachment')
|
||||
cy.get('.attachments .attachments .files div.attachment')
|
||||
|
||||
.should('exist')
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user
This needs to be changed again to make the test pass.