Skip to content

Commit

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

0 comments on commit 8f1854f

Please sign in to comment.