From 1cb9299699e350895de071ed1ac779fcf39c2147 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Mon, 16 Oct 2023 22:54:30 +0200 Subject: [PATCH] ci(cypress): Fix file picker selector MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- cypress/e2e/cardFeatures.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cypress/e2e/cardFeatures.js b/cypress/e2e/cardFeatures.js index cb4772e52..269566ed1 100644 --- a/cypress/e2e/cardFeatures.js +++ b/cypress/e2e/cardFeatures.js @@ -85,9 +85,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 [data-filename="welcome.txt"]').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') })