From 43df5147348cf1f5a56a2dd7a24a36c9e4a8f971 Mon Sep 17 00:00:00 2001 From: Jonas Date: Sat, 24 Feb 2024 11:51:50 +0100 Subject: [PATCH] test(cypress): Update home button selector in file picker breadcrumbs Signed-off-by: Jonas --- cypress/e2e/attachments.spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cypress/e2e/attachments.spec.js b/cypress/e2e/attachments.spec.js index 7a696977dfe..200876ca467 100644 --- a/cypress/e2e/attachments.spec.js +++ b/cypress/e2e/attachments.spec.js @@ -198,7 +198,7 @@ describe('Test all attachment insertion methods', () => { cy.intercept({ method: 'POST', url: '**/filepath' }).as(requestAlias) cy.log('Go back from home to sub folder') - cy.get('.file-picker nav [aria-label="Home"]').click() + cy.get('.file-picker nav [title="Home"]').click() cy.get('.file-picker [data-filename="sub"]').click() cy.log('Go to sub folder (b)') @@ -217,7 +217,7 @@ describe('Test all attachment insertion methods', () => { cy.intercept({ method: 'POST', url: '**/filepath' }).as(requestAlias) cy.log('Go back to home') - cy.get('.file-picker nav [aria-label="Home"]').click() + cy.get('.file-picker nav [title="Home"]').click() cy.log('Select the file in the filepicker') cy.get('.file-picker [data-filename="github.png"]').click()