mirror of
https://github.com/codex-team/editor.js
synced 2026-03-16 23:55:49 +01:00
Fix tests
This commit is contained in:
parent
2f9d0fb9ab
commit
9821a3fb2d
1 changed files with 4 additions and 4 deletions
|
|
@ -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');
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue