Browse Source

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

master
kevmodrome 6 years ago
parent
commit
9670a0cb5c
  1. 1
      packages/builder/cypress/integration/createModel.spec.js
  2. 1
      packages/builder/cypress/integration/createWorkflow.spec.js

1
packages/builder/cypress/integration/createModel.spec.js

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

1
packages/builder/cypress/integration/createWorkflow.spec.js

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

Loading…
Cancel
Save