You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
627 B
JavaScript
18 lines
627 B
JavaScript
/// <reference types="cypress" />
|
|
|
|
describe('Default editor', () => {
|
|
beforeEach(() => {
|
|
cy.visit(__dirname + '/index.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');
|
|
});
|
|
});
|