feat(task): show attachment preview for image attachments (#2266)
Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2266 Reviewed-by: konrad <k@knt.li>
This commit is contained in:
@ -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 button.attachment')
|
||||
.should('exist')
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user