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
538 B
JavaScript
18 lines
538 B
JavaScript
/// <reference types="cypress" />
|
|
|
|
describe('Default editor', () => {
|
|
it('table', () => {
|
|
cy.visit(__dirname + '/index-no-prefix.html');
|
|
|
|
cy.get('button.table').should('be.visible');
|
|
cy.get('button.table').invoke('outerWidth').should('not.equal', 30);
|
|
});
|
|
|
|
it('loads the editor with default settings', () => {
|
|
cy.visit(__dirname + '/index.html');
|
|
|
|
cy.get('button.mde-table').should('be.visible');
|
|
cy.get('button.mde-table').invoke('outerWidth').should('equal', 30);
|
|
});
|
|
});
|