Fix tests

This commit is contained in:
Tanya Fomina 2024-03-16 18:36:01 +03:00
commit 9821a3fb2d

View file

@ -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');
});
});