mirror of
https://github.com/codex-team/editor.js
synced 2024-06-17 05:05:58 +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', () => {
|
it('should create a visible UI', () => {
|
||||||
cy.window().then((window) => {
|
/**
|
||||||
/**
|
* Assert if created instance is visible or not.
|
||||||
* Assert if created instance is visible or not.
|
*/
|
||||||
*/
|
cy.get('[data-cy=editorjs]')
|
||||||
cy.get('[data-cy=editorjs]')
|
.get('div.codex-editor')
|
||||||
.get('div.codex-editor')
|
.should('be.visible');
|
||||||
.should('be.visible');
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue