mirror of
https://github.com/codex-team/editor.js
synced 2024-05-17 22:06:49 +02:00
Remove unnecessary window promise (#1488)
This commit is contained in:
parent
156a687f40
commit
50cbc4d63e
|
@ -17,14 +17,12 @@ describe('Editor basic initialization', () => {
|
|||
});
|
||||
|
||||
it('should create a visible UI', () => {
|
||||
cy.window().then((window) => {
|
||||
/**
|
||||
* Assert if created instance is visible or not.
|
||||
*/
|
||||
cy.get('[data-cy=editorjs]')
|
||||
.get('div.codex-editor')
|
||||
.should('be.visible');
|
||||
});
|
||||
/**
|
||||
* Assert if created instance is visible or not.
|
||||
*/
|
||||
cy.get('[data-cy=editorjs]')
|
||||
.get('div.codex-editor')
|
||||
.should('be.visible');
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue