diff --git a/cypress/e2e/cardFeatures.js b/cypress/e2e/cardFeatures.js index d8ace2c9c..66f984c02 100644 --- a/cypress/e2e/cardFeatures.js +++ b/cypress/e2e/cardFeatures.js @@ -187,7 +187,8 @@ describe('Card', function () { cy.get('.file-picker__main [data-filename="welcome.txt"]', { timeout: 30000 }).should('be.visible') .click() cy.get('.dialog__actions button.button-vue--vue-primary').click() - cy.get('.attachment-list .basename').contains('welcome.txt') + cy.get('.attachment-list .filename').contains('welcome') + cy.get('.attachment-list .filename .extension').contains('txt') }) it('Shows the modal with the editor', () => { diff --git a/src/components/card/AttachmentList.vue b/src/components/card/AttachmentList.vue index 19f1dc567..d7fa35f72 100644 --- a/src/components/card/AttachmentList.vue +++ b/src/components/card/AttachmentList.vue @@ -24,7 +24,8 @@