Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
dobri1408 committed Apr 16, 2024
1 parent 2bdb31e commit 396e070
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/volto/cypress/tests/core/basic/objectBrowser.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ describe('Object Browser Tests', () => {
cy.getSlate().click();
cy.get('.ui.basic.icon.button.block-add-button').click();
cy.get('.ui.basic.icon.button.image').contains('Image').click();
cy.get('.toolbar-inner button.ui.basic.icon.button').click();
cy.get('.toolbar-inner button.ui.basic.icon.button').first().click();
cy.findByLabelText('Search SVG').click();
cy.get('.ui.input.search').type('/my-page-1');
cy.findByLabelText('Select My Image').dblclick();
Expand All @@ -60,7 +60,7 @@ describe('Object Browser Tests', () => {
cy.getSlate().click();
cy.get('.ui.basic.icon.button.block-add-button').click();
cy.get('.ui.basic.icon.button.image').contains('Image').click();
cy.get('.toolbar-inner button.ui.basic.icon.button').click();
cy.get('.toolbar-inner button.ui.basic.icon.button').first().click();
cy.findByLabelText('Search SVG').click();
cy.window()
.its('env.apiPath')
Expand All @@ -81,7 +81,7 @@ describe('Object Browser Tests', () => {
cy.getSlate().click();
cy.get('.ui.basic.icon.button.block-add-button').click();
cy.get('.ui.basic.icon.button.image').contains('Image').click();
cy.get('.toolbar-inner button.ui.basic.icon.button').click();
cy.get('.toolbar-inner button.ui.basic.icon.button').first().click();
cy.findByLabelText('Search SVG').click();
cy.get('.ui.input.search input').should('be.focused');
});
Expand All @@ -90,7 +90,7 @@ describe('Object Browser Tests', () => {
cy.getSlate().click();
cy.get('.ui.basic.icon.button.block-add-button').click();
cy.get('.ui.basic.icon.button.image').contains('Image').click();
cy.get('.toolbar-inner button.ui.basic.icon.button').click();
cy.get('.toolbar-inner button.ui.basic.icon.button').first().click();
cy.findByLabelText('Search SVG').click();
cy.get('.ui.input.search').type('Searchable');

Expand Down

0 comments on commit 396e070

Please sign in to comment.