From 9b3cefca910600a584a81a65e50b44f5fb41ff51 Mon Sep 17 00:00:00 2001 From: Victor Fernandez de Alba Date: Thu, 7 Mar 2024 11:33:48 +0100 Subject: [PATCH] Fix test --- acceptance/cypress/tests/block.cy.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/acceptance/cypress/tests/block.cy.js b/acceptance/cypress/tests/block.cy.js index aab1083..f3b5282 100644 --- a/acceptance/cypress/tests/block.cy.js +++ b/acceptance/cypress/tests/block.cy.js @@ -34,8 +34,8 @@ context('Block Acceptance Tests', () => { // First slide cy.get( '.objectbrowser-field[aria-labelledby="fieldset-default-field-label-href-0-slides-0"] button[aria-label="Open object browser"]', - ).click({ multiple: true }); - cy.get('aside .breadcrumbs svg.home-icon').click(); + ).click(); + cy.get('aside .breadcrumbs svg.home-icon').click({force: true}); cy.findByLabelText('Select My Page').dblclick(); // Second slide @@ -46,8 +46,8 @@ context('Block Acceptance Tests', () => { ).should('be.visible'); cy.get( '.objectbrowser-field[aria-labelledby="fieldset-default-field-label-href-0-slides-1"] button[aria-label="Open object browser"]', - ).click({ multiple: true }); - cy.get('aside .breadcrumbs svg.home-icon').click(); + ).click(); + cy.get('aside .breadcrumbs svg.home-icon').click({ multiple: true }); cy.findByLabelText('Select My Page').dblclick(); cy.get('#toolbar-save').click();