mirror of
https://github.com/Ionaru/easy-markdown-editor
synced 2025-06-27 13:11:01 -06:00
18 lines
629 B
JavaScript
18 lines
629 B
JavaScript
/// <reference types="cypress" />
|
|
|
|
describe('Default editor', () => {
|
|
beforeEach(() => {
|
|
cy.visit(__dirname + '/default.html');
|
|
});
|
|
|
|
it('Loads the editor with default settings', () => {
|
|
cy.get('.EasyMDEContainer').should('be.visible');
|
|
cy.get('#textarea').should('not.be.visible');
|
|
|
|
cy.get('.EasyMDEContainer .editor-toolbar').should('be.visible');
|
|
cy.get('.EasyMDEContainer .CodeMirror').should('be.visible');
|
|
cy.get('.EasyMDEContainer .editor-preview').should('not.be.visible');
|
|
cy.get('.EasyMDEContainer .editor-statusbar').should('be.visible');
|
|
});
|
|
});
|