diff --git a/cypress/e2e/cardFeatures.js b/cypress/e2e/cardFeatures.js index e6a9f1b43..c47c78e46 100644 --- a/cypress/e2e/cardFeatures.js +++ b/cypress/e2e/cardFeatures.js @@ -110,9 +110,10 @@ describe('Card', function() { cy.get('button.icon-upload').should('be.visible') cy.get('button.icon-folder').should('be.visible') .click() - cy.get('.oc-dialog #picker-filestable tr[data-entryname="welcome.txt"] td.filename').should('be.visible') + cy.get('.file-picker__main').should('be.visible') + cy.get('.file-picker__main .file-picker__file-name[title="welcome"]').should('be.visible') .click() - cy.get('.oc-dialog button.primary').click() + cy.get('.dialog__actions button.button-vue--vue-primary').click() cy.get('.attachment-list .basename').contains('welcome.txt') })