mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-01-17 21:49:20 +01:00
e65eeb2939
* created editable-voids cypress test * created markdown-preview cypress test * created images cypress test * created huge-document cypress test * added hovering-toolbar, and forced-layout cypress tests * added embeds cypress test No changeset as it's adding tests for the examples.
15 lines
291 B
TypeScript
15 lines
291 B
TypeScript
describe('embeds example', () => {
|
|
const slateEditor = 'div[data-slate-editor="true"]'
|
|
|
|
beforeEach(() => {
|
|
cy.visit('examples/embeds')
|
|
})
|
|
|
|
it('contains embeded', () => {
|
|
cy.get(slateEditor)
|
|
.find('iframe')
|
|
.should('exist')
|
|
.should('have.length', 1)
|
|
})
|
|
})
|