generate URLs for all demos and use those to run the tests

This commit is contained in:
Hans Pagel
2021-01-26 00:35:36 +01:00
parent 26fb84fe27
commit 5c93c6e560
54 changed files with 157 additions and 101 deletions

View File

@@ -1,6 +1,6 @@
context('clearContent', () => {
before(() => {
cy.visit('/examples/default')
cy.visit('/demos/Examples/default')
})
it('returns true for the clearContent command', () => {

View File

@@ -1,6 +1,6 @@
context('insertHTML', () => {
before(() => {
cy.visit('/examples/default')
cy.visit('/demos/Examples/default')
})
it('returns true for the insertHTML command', () => {

View File

@@ -1,6 +1,6 @@
context('setContent', () => {
before(() => {
cy.visit('/examples/default')
cy.visit('/demos/Examples/default')
})
it('returns true for the setContent command', () => {