diff --git a/cypress/e2e/cardFeatures.js b/cypress/e2e/cardFeatures.js index 71eb0f001..8ba320e17 100644 --- a/cypress/e2e/cardFeatures.js +++ b/cypress/e2e/cardFeatures.js @@ -114,7 +114,8 @@ describe('Card', function() { cy.get('.file-picker__main [data-filename="welcome.txt"]').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 96a171ab2..756f0cc28 100644 --- a/src/components/card/AttachmentList.vue +++ b/src/components/card/AttachmentList.vue @@ -41,7 +41,8 @@