From 24731178920fd0f95c803e801222642a1c2bd443 Mon Sep 17 00:00:00 2001 From: Julius Knorr Date: Thu, 23 Jan 2025 09:27:57 +0100 Subject: [PATCH] ci: Test for separate extension Signed-off-by: Julius Knorr --- cypress/e2e/cardFeatures.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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', () => {