Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
sneridagh committed Mar 7, 2024
1 parent 2b17908 commit 9b3cefc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions acceptance/cypress/tests/block.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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();
Expand Down

0 comments on commit 9b3cefc

Please sign in to comment.