rename tests

This commit is contained in:
Hans Pagel
2020-09-08 14:29:27 +02:00
parent d03f68a3d1
commit d76b091db8
7 changed files with 8 additions and 8 deletions

View File

@@ -1,4 +1,4 @@
context('basic', () => {
context('/examples/basic', () => {
beforeEach(() => {
cy.visit('/examples/basic')

View File

@@ -1,4 +1,4 @@
context('export-html-or-json', () => {
context('/examples/export-html-or-json', () => {
beforeEach(() => {
cy.visit('/examples/export-html-or-json')
})

View File

@@ -1,4 +1,4 @@
context('focus', () => {
context('/examples/focus', () => {
beforeEach(() => {
cy.visit('/examples/focus')
})

View File

@@ -1,4 +1,4 @@
context('history', () => {
context('/examples/history', () => {
beforeEach(() => {
cy.visit('/examples/history')
})

View File

@@ -1,10 +1,10 @@
context('markdown-shortcuts', () => {
context('/examples/markdown-shortcuts', () => {
beforeEach(() => {
cy.visit('/examples/markdown-shortcuts')
cy.get('.ProseMirror').window().then(window => {
const { editor } = window
editor.setContent('<p></p>')
editor.clearContent()
})
})

View File

@@ -1,4 +1,4 @@
context('read-only', () => {
context('/examples/read-only', () => {
beforeEach(() => {
cy.visit('/examples/read-only')
})

View File

@@ -1,4 +1,4 @@
context('simple', () => {
context('/examples/simple', () => {
beforeEach(() => {
cy.visit('/examples/simple')
})