remove cookies set up in each test and rely on cookie default added before

This commit is contained in:
kevmodrome 2020-06-22 16:39:28 +02:00
parent a29f821802
commit 9670a0cb5c
2 changed files with 0 additions and 2 deletions

View File

@ -1,7 +1,6 @@
context('Create a Model', () => {
before(() => {
Cypress.Cookies.preserveOnce('builder:token')
cy.visit('localhost:4001/_builder')
// https://on.cypress.io/type
cy.createApp('Model App', 'Model App Description')

View File

@ -1,7 +1,6 @@
context('Create a workflow', () => {
before(() => {
Cypress.Cookies.preserveOnce('builder:token')
cy.visit('localhost:4001/_builder')
cy.createApp('Workflow Test App', 'This app is used to test that workflows do in fact work!')