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(() => { beforeEach(() => {
cy.visit('/examples/basic') cy.visit('/examples/basic')

View File

@@ -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')
}) })

View File

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

View File

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

View File

@@ -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()
}) })
}) })

View File

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

View File

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