generate URLs for all demos and use those to run the tests
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
context('/examples/v-model', () => {
|
||||
context('/demos/Examples/VModel', () => {
|
||||
before(() => {
|
||||
cy.visit('/examples/v-model')
|
||||
cy.visit('/demos/Examples/VModel')
|
||||
})
|
||||
|
||||
// TODO: Write tests
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
context('/guide/store-content', () => {
|
||||
context('/demos/Guide/StoreContent/ExportHTML', () => {
|
||||
before(() => {
|
||||
cy.visit('/guide/store-content')
|
||||
cy.visit('/demos/Guide/StoreContent/ExportHTML')
|
||||
})
|
||||
|
||||
beforeEach(() => {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
context('/guide/store-content', () => {
|
||||
context('/demos/Guide/StoreContent/ExportJSON', () => {
|
||||
before(() => {
|
||||
cy.visit('/guide/store-content')
|
||||
cy.visit('/demos/Guide/StoreContent/ExportJSON')
|
||||
})
|
||||
|
||||
beforeEach(() => {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
context('/guide/store-content', () => {
|
||||
context('/demos/Guide/StoreContent/ReadOnly', () => {
|
||||
beforeEach(() => {
|
||||
cy.visit('/guide/store-content')
|
||||
cy.visit('/demos/Guide/StoreContent/ReadOnly')
|
||||
})
|
||||
|
||||
it.skip('should be read-only', () => {
|
||||
@@ -13,7 +13,7 @@ context('/guide/store-content', () => {
|
||||
})
|
||||
})
|
||||
|
||||
it.skip('should be editable', () => {
|
||||
it('should be editable', () => {
|
||||
cy.get('.ProseMirror').then(([{ editor }]) => {
|
||||
cy.get('#editable').check()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user