From 8f1854fc96adbced475c1a830cc026cc3afdba4b Mon Sep 17 00:00:00 2001 From: Victor Fernandez de Alba Date: Thu, 7 Mar 2024 16:15:44 +0100 Subject: [PATCH] Fix again --- acceptance/cypress/tests/block.cy.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/acceptance/cypress/tests/block.cy.js b/acceptance/cypress/tests/block.cy.js index 02342b0..667f13f 100644 --- a/acceptance/cypress/tests/block.cy.js +++ b/acceptance/cypress/tests/block.cy.js @@ -35,7 +35,7 @@ context('Block Acceptance Tests', () => { cy.get( '.objectbrowser-field[aria-labelledby="fieldset-default-field-label-href-0-slides-0"] button[aria-label="Open object browser"]', ).click(); - cy.get('aside .breadcrumbs svg.home-icon').click({force: true}); + cy.get('aside .breadcrumbs svg.home-icon').click(); cy.findByLabelText('Select My Page').dblclick(); // Second slide @@ -47,7 +47,8 @@ context('Block Acceptance Tests', () => { cy.get( '.objectbrowser-field[aria-labelledby="fieldset-default-field-label-href-0-slides-1"] button[aria-label="Open object browser"]', ).click(); - cy.get('aside .breadcrumbs svg.home-icon').click({ multiple: true }); + cy.wait(1000); + cy.get('aside .breadcrumbs svg.home-icon').click(); cy.findByLabelText('Select My Page').dblclick(); cy.get('#toolbar-save').click(); @@ -87,7 +88,8 @@ context('Block Acceptance Tests', () => { cy.get( '.objectbrowser-field[aria-labelledby="fieldset-default-field-label-href-0-slides-1"] button[aria-label="Open object browser"]', ).click(); - cy.get('aside .breadcrumbs svg.home-icon').click({ multiple: true }); + cy.wait(1000); + cy.get('aside .breadcrumbs svg.home-icon').click(); cy.findByLabelText('Select My Page').dblclick(); cy.get('#toolbar-save').click();