From b7003e9a1896e81180283ab708c2ca04ae117260 Mon Sep 17 00:00:00 2001 From: kevmodrome Date: Mon, 22 Jun 2020 16:39:28 +0200 Subject: [PATCH] remove cookies set up in each test and rely on cookie default added before --- packages/builder/cypress/integration/createModel.spec.js | 1 - packages/builder/cypress/integration/createWorkflow.spec.js | 1 - 2 files changed, 2 deletions(-) diff --git a/packages/builder/cypress/integration/createModel.spec.js b/packages/builder/cypress/integration/createModel.spec.js index 3d46316607..830f5e7a48 100644 --- a/packages/builder/cypress/integration/createModel.spec.js +++ b/packages/builder/cypress/integration/createModel.spec.js @@ -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') diff --git a/packages/builder/cypress/integration/createWorkflow.spec.js b/packages/builder/cypress/integration/createWorkflow.spec.js index b4d83e228b..9188721988 100644 --- a/packages/builder/cypress/integration/createWorkflow.spec.js +++ b/packages/builder/cypress/integration/createWorkflow.spec.js @@ -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!')