rename tests
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
context('basic', () => {
|
context('/examples/basic', () => {
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
cy.visit('/examples/basic')
|
cy.visit('/examples/basic')
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
context('export-html-or-json', () => {
|
context('/examples/export-html-or-json', () => {
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
cy.visit('/examples/export-html-or-json')
|
cy.visit('/examples/export-html-or-json')
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
context('focus', () => {
|
context('/examples/focus', () => {
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
cy.visit('/examples/focus')
|
cy.visit('/examples/focus')
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
context('history', () => {
|
context('/examples/history', () => {
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
cy.visit('/examples/history')
|
cy.visit('/examples/history')
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
context('markdown-shortcuts', () => {
|
context('/examples/markdown-shortcuts', () => {
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
cy.visit('/examples/markdown-shortcuts')
|
cy.visit('/examples/markdown-shortcuts')
|
||||||
|
|
||||||
cy.get('.ProseMirror').window().then(window => {
|
cy.get('.ProseMirror').window().then(window => {
|
||||||
const { editor } = window
|
const { editor } = window
|
||||||
editor.setContent('<p></p>')
|
editor.clearContent()
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
context('read-only', () => {
|
context('/examples/read-only', () => {
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
cy.visit('/examples/read-only')
|
cy.visit('/examples/read-only')
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
context('simple', () => {
|
context('/examples/simple', () => {
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
cy.visit('/examples/simple')
|
cy.visit('/examples/simple')
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user