fix most tests

This commit is contained in:
Philipp Kühn 2021-08-26 12:33:48 +02:00
parent ebfcdf3958
commit 137a6dc230
61 changed files with 121 additions and 121 deletions

View File

@ -1,6 +1,6 @@
context('/demos/Examples/Book/Vue', () => {
context('/src/Examples/Book/Vue/', () => {
before(() => {
cy.visit('/demos/Examples/Book/Vue')
cy.visit('/src/Examples/Book/Vue/')
})
// TODO: Write tests

View File

@ -1,6 +1,6 @@
context('/demos/Examples/CollaborativeEditing', () => {
context('/src/Examples/CollaborativeEditing/Vue/', () => {
before(() => {
cy.visit('/demos/Examples/CollaborativeEditing')
cy.visit('/src/Examples/CollaborativeEditing/Vue/')
})
// TODO: Write tests

View File

@ -1,6 +1,6 @@
context('/demos/Examples/Community/Vue', () => {
context('/src/Examples/Community/Vue/', () => {
before(() => {
cy.visit('/demos/Examples/Community/Vue')
cy.visit('/src/Examples/Community/Vue/')
})
// TODO: Write tests

View File

@ -1,6 +1,6 @@
context('/demos/Examples/Default/React', () => {
context('/src/Examples/Default/React/', () => {
before(() => {
cy.visit('/demos/Examples/Default/React')
cy.visit('/src/Examples/Default/React/')
})
beforeEach(() => {

View File

@ -1,6 +1,6 @@
context('/demos/Examples/Default/Vue', () => {
context('/src/Examples/Default/Vue/', () => {
before(() => {
cy.visit('/demos/Examples/Default/Vue')
cy.visit('/src/Examples/Default/Vue/')
})
beforeEach(() => {

View File

@ -1,6 +1,6 @@
context('/demos/Examples/Vue', () => {
context('/src/Examples/Formatting/Vue/', () => {
before(() => {
cy.visit('/demos/Examples/Vue')
cy.visit('/src/Examples/Formatting/Vue/')
})
// TODO: Write tests

View File

@ -1,6 +1,6 @@
context('/demos/Examples/Vue', () => {
context('/src/Examples/Images/Vue/', () => {
before(() => {
cy.visit('/demos/Examples/Vue')
cy.visit('/src/Examples/Images/Vue/')
})
// TODO: Write tests

View File

@ -1,6 +1,6 @@
context('/demos/Examples/MarkdownShortcuts/Vue', () => {
context('/src/Examples/MarkdownShortcuts/Vue/', () => {
before(() => {
cy.visit('/demos/Examples/MarkdownShortcuts/Vue')
cy.visit('/src/Examples/MarkdownShortcuts/Vue/')
})
beforeEach(() => {

View File

@ -1,6 +1,6 @@
context('/demos/Examples/BubbleMenu/React', () => {
context('/src/Examples/BubbleMenu/React/', () => {
before(() => {
cy.visit('/demos/Examples/BubbleMenu/React')
cy.visit('/src/Examples/BubbleMenu/React/')
})
// TODO: Write tests

View File

@ -1,6 +1,6 @@
context('/demos/Examples/BubbleMenu/Vue', () => {
context('/src/Examples/BubbleMenu/Vue/', () => {
before(() => {
cy.visit('/demos/Examples/BubbleMenu/Vue')
cy.visit('/src/Examples/BubbleMenu/Vue/')
})
// TODO: Write tests

View File

@ -1,6 +1,6 @@
context('/demos/Examples/Minimal/Vue', () => {
context('/src/Examples/Minimal/Vue/', () => {
before(() => {
cy.visit('/demos/Examples/Minimal/Vue')
cy.visit('/src/Examples/Minimal/Vue/')
})
// TODO: Write tests

View File

@ -1,6 +1,6 @@
context('/demos/Examples/Savvy', () => {
context('/src/Examples/Savvy/Vue/', () => {
before(() => {
cy.visit('/demos/Examples/Savvy')
cy.visit('/src/Examples/Savvy/Vue/')
})
// TODO: Write tests

View File

@ -1,6 +1,6 @@
context('/demos/Examples/Tables/Vue', () => {
context('/src/Examples/Tables/Vue/', () => {
before(() => {
cy.visit('/demos/Examples/Tables/Vue')
cy.visit('/src/Examples/Tables/Vue/')
})
// TODO: Write tests

View File

@ -1,6 +1,6 @@
context('/demos/Examples/Tasks/Vue', () => {
context('/src/Examples/Tasks/Vue/', () => {
before(() => {
cy.visit('/demos/Examples/Tasks/Vue')
cy.visit('/src/Examples/Tasks/Vue/')
})
// TODO: Write tests

View File

@ -1,6 +1,6 @@
context('/demos/Experiments/Annotation', () => {
context('/src/Experiments/Annotation/Vue/', () => {
before(() => {
cy.visit('/demos/Experiments/Annotation')
cy.visit('/src/Experiments/Annotation/Vue/')
})
// TODO: Write tests

View File

@ -1,6 +1,6 @@
context('/demos/Examples/MultipleEditors', () => {
context('/src/Examples/MultipleEditors/Vue/', () => {
before(() => {
cy.visit('/demos/Examples/MultipleEditors')
cy.visit('/src/Examples/MultipleEditors/Vue/')
})
// TODO: Write tests

View File

@ -1,6 +1,6 @@
context('/demos/Extensions/Collaboration', () => {
context('/src/Extensions/Collaboration/Vue/', () => {
before(() => {
cy.visit('/demos/Extensions/Collaboration')
cy.visit('/src/Extensions/Collaboration/Vue/')
})
// TODO: Write tests

View File

@ -1,6 +1,6 @@
context('/demos/Extensions/CollaborationCursor', () => {
context('/src/Extensions/CollaborationCursor', () => {
before(() => {
cy.visit('/demos/Extensions/CollaborationCursor')
cy.visit('/src/Extensions/CollaborationCursor')
})
// TODO: Write tests

View File

@ -1,6 +1,6 @@
context('/demos/Extensions/Color', () => {
context('/src/Extensions/Color/Vue/', () => {
before(() => {
cy.visit('/demos/Extensions/Color')
cy.visit('/src/Extensions/Color/Vue/')
})
beforeEach(() => {

View File

@ -1,6 +1,6 @@
context('/demos/Examples/Dropcursor', () => {
context('/src/Examples/Dropcursor/Vue/', () => {
before(() => {
cy.visit('/demos/Examples/Dropcursor')
cy.visit('/src/Examples/Dropcursor/Vue/')
})
// TODO: Write tests

View File

@ -1,6 +1,6 @@
context('/demos/Extensions/Focus', () => {
context('/src/Extensions/Focus/Vue/', () => {
before(() => {
cy.visit('/demos/Extensions/Focus')
cy.visit('/src/Extensions/Focus/Vue/')
})
it('should have class', () => {

View File

@ -1,6 +1,6 @@
context('/demos/Extensions/FontFamily', () => {
context('/src/Extensions/FontFamily/Vue/', () => {
before(() => {
cy.visit('/demos/Extensions/FontFamily')
cy.visit('/src/Extensions/FontFamily/Vue/')
})
// TODO: Write tests

View File

@ -1,6 +1,6 @@
context('/demos/Examples/Gapcursor', () => {
context('/src/Examples/Gapcursor/Vue/', () => {
before(() => {
cy.visit('/demos/Examples/Gapcursor')
cy.visit('/src/Examples/Gapcursor/Vue/')
})
// TODO: Write tests

View File

@ -1,6 +1,6 @@
context('/demos/Extensions/History', () => {
context('/src/Extensions/History/Vue/', () => {
beforeEach(() => {
cy.visit('/demos/Extensions/History')
cy.visit('/src/Extensions/History/Vue/')
cy.get('.ProseMirror').then(([{ editor }]) => {
editor.commands.setContent('<p>Mistake</p>')
})

View File

@ -1,6 +1,6 @@
context('/demos/Extensions/TextAlign', () => {
context('/src/Extensions/TextAlign/Vue/', () => {
before(() => {
cy.visit('/demos/Extensions/TextAlign')
cy.visit('/src/Extensions/TextAlign/Vue/')
})
beforeEach(() => {

View File

@ -1,6 +1,6 @@
context('/demos/Extensions/Typography', () => {
context('/src/Extensions/Typography/Vue/', () => {
before(() => {
cy.visit('/demos/Extensions/Typography')
cy.visit('/src/Extensions/Typography/Vue/')
})
beforeEach(() => {

View File

@ -1,6 +1,6 @@
context('/demos/Guide/Content/ExportHTML', () => {
context('/src/GuideContent/ExportHTML/Vue/', () => {
before(() => {
cy.visit('/demos/Guide/Content/ExportHTML')
cy.visit('/src/GuideContent/ExportHTML/Vue/')
})
beforeEach(() => {

View File

@ -1,6 +1,6 @@
context('/demos/Guide/Content/ExportJSON', () => {
context('/src/GuideContent/ExportJSON/Vue/', () => {
before(() => {
cy.visit('/demos/Guide/Content/ExportJSON')
cy.visit('/src/GuideContent/ExportJSON/Vue/')
})
beforeEach(() => {

View File

@ -1,6 +1,6 @@
context('/demos/Guide/Content/GenerateHTML', () => {
context('/src/GuideContent/GenerateHTML/Vue/', () => {
before(() => {
cy.visit('/demos/Guide/Content/GenerateHTML')
cy.visit('/src/GuideContent/GenerateHTML/Vue/')
})
// TODO: Write tests

View File

@ -1,6 +1,6 @@
context('/demos/Guide/Content/GenerateJSON', () => {
context('/src/GuideContent/GenerateJSON/Vue/', () => {
before(() => {
cy.visit('/demos/Guide/Content/GenerateJSON')
cy.visit('/src/GuideContent/GenerateJSON/Vue/')
})
// TODO: Write tests

View File

@ -1,6 +1,6 @@
context('/demos/Guide/Content/ReadOnly', () => {
context('/src/GuideContent/ReadOnly/Vue/', () => {
before(() => {
cy.visit('/demos/Guide/Content/ReadOnly')
cy.visit('/src/GuideContent/ReadOnly/Vue/')
})
beforeEach(() => {

View File

@ -1,6 +1,6 @@
context('/demos/Examples/VModel', () => {
context('/src/GuideGettingStarted/VModel/Vue/', () => {
before(() => {
cy.visit('/demos/Examples/VModel')
cy.visit('/src/GuideGettingStarted/VModel/Vue/')
})
// TODO: Write tests

View File

@ -1,6 +1,6 @@
context('/demos/Marks/Bold', () => {
context('/src/Marks/Bold/Vue/', () => {
before(() => {
cy.visit('/demos/Marks/Bold')
cy.visit('/src/Marks/Bold/Vue/')
})
beforeEach(() => {

View File

@ -1,6 +1,6 @@
context('/demos/Marks/Code', () => {
context('/src/Marks/Code/Vue/', () => {
before(() => {
cy.visit('/demos/Marks/Code')
cy.visit('/src/Marks/Code/Vue/')
})
beforeEach(() => {

View File

@ -1,6 +1,6 @@
context('/demos/Marks/Highlight', () => {
context('/src/Marks/Highlight/Vue/', () => {
before(() => {
cy.visit('/demos/Marks/Highlight')
cy.visit('/src/Marks/Highlight/Vue/')
})
beforeEach(() => {

View File

@ -1,6 +1,6 @@
context('/demos/Marks/Italic', () => {
context('/src/Marks/Italic/Vue/', () => {
before(() => {
cy.visit('/demos/Marks/Italic')
cy.visit('/src/Marks/Italic/Vue/')
})
beforeEach(() => {

View File

@ -1,6 +1,6 @@
context('/demos/Marks/Link', () => {
context('/src/Marks/Link/Vue/', () => {
before(() => {
cy.visit('/demos/Marks/Link')
cy.visit('/src/Marks/Link/Vue/')
})
beforeEach(() => {

View File

@ -1,6 +1,6 @@
context('/demos/Marks/Strike', () => {
context('/src/Marks/Strike/Vue/', () => {
before(() => {
cy.visit('/demos/Marks/Strike')
cy.visit('/src/Marks/Strike/Vue/')
})
beforeEach(() => {

View File

@ -1,6 +1,6 @@
context('/demos/Marks/Subscript', () => {
context('/src/Marks/Subscript/Vue/', () => {
before(() => {
cy.visit('/demos/Marks/Subscript')
cy.visit('/src/Marks/Subscript/Vue/')
})
beforeEach(() => {

View File

@ -1,6 +1,6 @@
context('/demos/Marks/Superscript', () => {
context('/src/Marks/Superscript/Vue/', () => {
before(() => {
cy.visit('/demos/Marks/Superscript')
cy.visit('/src/Marks/Superscript/Vue/')
})
beforeEach(() => {

View File

@ -1,6 +1,6 @@
context('/demos/Marks/TextStyle', () => {
context('/src/Marks/TextStyle/Vue/', () => {
before(() => {
cy.visit('/demos/Marks/TextStyle')
cy.visit('/src/Marks/TextStyle/Vue/')
})
// TODO: Write tests

View File

@ -1,6 +1,6 @@
context('/demos/Marks/Underline', () => {
context('/src/Marks/Underline/Vue/', () => {
before(() => {
cy.visit('/demos/Marks/Underline')
cy.visit('/src/Marks/Underline/Vue/')
})
beforeEach(() => {

View File

@ -1,6 +1,6 @@
context('/demos/Nodes/Blockquote', () => {
context('/src/Nodes/Blockquote/Vue/', () => {
before(() => {
cy.visit('/demos/Nodes/Blockquote')
cy.visit('/src/Nodes/Blockquote/Vue/')
})
beforeEach(() => {

View File

@ -1,6 +1,6 @@
context('/demos/Nodes/BulletList', () => {
context('/src/Nodes/BulletList/Vue/', () => {
before(() => {
cy.visit('/demos/Nodes/BulletList')
cy.visit('/src/Nodes/BulletList/Vue/')
})
beforeEach(() => {

View File

@ -1,6 +1,6 @@
context('/demos/Nodes/CodeBlock', () => {
context('/src/Nodes/CodeBlock/Vue/', () => {
before(() => {
cy.visit('/demos/Nodes/CodeBlock')
cy.visit('/src/Nodes/CodeBlock/Vue/')
})
beforeEach(() => {

View File

@ -1,6 +1,6 @@
context('/demos/Nodes/Document', () => {
context('/src/Nodes/Document/Vue/', () => {
before(() => {
cy.visit('/demos/Nodes/Document')
cy.visit('/src/Nodes/Document/Vue/')
})
beforeEach(() => {

View File

@ -1,6 +1,6 @@
context('/demos/Nodes/Paragraph', () => {
context('/src/Nodes/Paragraph/Vue/', () => {
before(() => {
cy.visit('/demos/Nodes/Paragraph')
cy.visit('/src/Nodes/Paragraph/Vue/')
})
beforeEach(() => {

View File

@ -1,6 +1,6 @@
context('/demos/Nodes/HardBreak', () => {
context('/src/Nodes/HardBreak/Vue/', () => {
before(() => {
cy.visit('/demos/Nodes/HardBreak')
cy.visit('/src/Nodes/HardBreak/Vue/')
})
beforeEach(() => {

View File

@ -1,6 +1,6 @@
context('/demos/Nodes/Heading', () => {
context('/src/Nodes/Heading/Vue/', () => {
before(() => {
cy.visit('/demos/Nodes/Heading')
cy.visit('/src/Nodes/Heading/Vue/')
})
beforeEach(() => {

View File

@ -1,6 +1,6 @@
context('/demos/Nodes/HorizontalRule', () => {
context('/src/Nodes/HorizontalRule/Vue/', () => {
before(() => {
cy.visit('/demos/Nodes/HorizontalRule')
cy.visit('/src/Nodes/HorizontalRule/Vue/')
})
beforeEach(() => {

View File

@ -1,6 +1,6 @@
context('/demos/Nodes/Image', () => {
context('/src/Nodes/Image/Vue/', () => {
before(() => {
cy.visit('/demos/Nodes/Image')
cy.visit('/src/Nodes/Image/Vue/')
})
beforeEach(() => {

View File

@ -1,6 +1,6 @@
context('/demos/Nodes/ListItem', () => {
context('/src/Nodes/ListItem/Vue/', () => {
before(() => {
cy.visit('/demos/Nodes/ListItem')
cy.visit('/src/Nodes/ListItem/Vue/')
})
beforeEach(() => {

View File

@ -1,6 +1,6 @@
context('/demos/Nodes/Mention', () => {
context('/src/Nodes/Mention/Vue/', () => {
before(() => {
cy.visit('/demos/Nodes/Mention')
cy.visit('/src/Nodes/Mention/Vue/')
})
// TODO: Write tests

View File

@ -1,6 +1,6 @@
context('/demos/Nodes/OrderedList', () => {
context('/src/Nodes/OrderedList/Vue/', () => {
before(() => {
cy.visit('/demos/Nodes/OrderedList')
cy.visit('/src/Nodes/OrderedList/Vue/')
})
beforeEach(() => {

View File

@ -1,6 +1,6 @@
context('/demos/Nodes/Paragraph', () => {
context('/src/Nodes/Paragraph/Vue/', () => {
before(() => {
cy.visit('/demos/Nodes/Paragraph')
cy.visit('/src/Nodes/Paragraph/Vue/')
})
beforeEach(() => {

View File

@ -1,6 +1,6 @@
context('/demos/Nodes/Table', () => {
context('/src/Nodes/Table/Vue/', () => {
before(() => {
cy.visit('/demos/Nodes/Table')
cy.visit('/src/Nodes/Table/Vue/')
})
beforeEach(() => {

View File

@ -1,6 +1,6 @@
context('/demos/Nodes/TaskItem', () => {
context('/src/Nodes/TaskItem/Vue/', () => {
before(() => {
cy.visit('/demos/Nodes/TaskItem')
cy.visit('/src/Nodes/TaskItem/Vue/')
})
// TODO: Write tests

View File

@ -1,6 +1,6 @@
context('/demos/Nodes/TaskList', () => {
context('/src/Nodes/TaskList/Vue/', () => {
before(() => {
cy.visit('/demos/Nodes/TaskList')
cy.visit('/src/Nodes/TaskList/Vue/')
})
beforeEach(() => {

View File

@ -1,6 +1,6 @@
context('/demos/Nodes/Text', () => {
context('/src/Nodes/Text/Vue/', () => {
before(() => {
cy.visit('/demos/Nodes/Text')
cy.visit('/src/Nodes/Text/Vue/')
})
beforeEach(() => {

View File

@ -1,5 +1,5 @@
context('/installation', () => {
context('/src/Overview/Installation/Vue/', () => {
before(() => {
cy.visit('/installation')
cy.visit('/src/Overview/Installation/Vue/')
})
})

View File

@ -1,6 +1,6 @@
{
"baseUrl": "http://localhost:3000",
"integrationFolder": "../",
"testFiles": "{docs,tests}/**/*.spec.{js,ts}",
"testFiles": "{demos,tests}/**/*.spec.{js,ts}",
"defaultCommandTimeout": 15000
}