From 9821a3fb2dae2fafff2726e1599bf0c40b2d2c3f Mon Sep 17 00:00:00 2001 From: Tanya Fomina Date: Sat, 16 Mar 2024 18:36:01 +0300 Subject: [PATCH] Fix tests --- test/cypress/tests/modules/BlockEvents/Slash.cy.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/cypress/tests/modules/BlockEvents/Slash.cy.ts b/test/cypress/tests/modules/BlockEvents/Slash.cy.ts index adf9a207..aca84cd1 100644 --- a/test/cypress/tests/modules/BlockEvents/Slash.cy.ts +++ b/test/cypress/tests/modules/BlockEvents/Slash.cy.ts @@ -19,7 +19,7 @@ describe('Slash keydown', function () { .click() .type('/'); - cy.get('[data-cy="toolbox"] .ce-popover') + cy.get('[data-cy="toolbox"] .ce-popover__container') .should('be.visible'); }); @@ -46,7 +46,7 @@ describe('Slash keydown', function () { .click() .type(`{${key}}/`); - cy.get('[data-cy="toolbox"] .ce-popover') + cy.get('[data-cy="toolbox"] .ce-popover__container') .should('not.be.visible'); }); }); @@ -72,7 +72,7 @@ describe('Slash keydown', function () { .click() .type('/'); - cy.get('[data-cy="toolbox"] .ce-popover') + cy.get('[data-cy="toolbox"] .ce-popover__container') .should('not.be.visible'); /** @@ -106,7 +106,7 @@ describe('CMD+Slash keydown', function () { .click() .type('{cmd}/'); - cy.get('[data-cy="block-tunes"] .ce-popover') + cy.get('[data-cy="block-tunes"] .ce-popover__container') .should('be.visible'); }); });