From eed99b13a2001e92d2948a4ee405648671c2f303 Mon Sep 17 00:00:00 2001 From: Grace Guo Date: Sun, 14 Jul 2019 22:59:59 -0700 Subject: [PATCH] [cypress] Disable chromeWebSecurity globally (#7853) --- superset/assets/cypress.json | 7 ++++--- superset/assets/cypress/integration/dashboard/save.js | 2 -- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/superset/assets/cypress.json b/superset/assets/cypress.json index 58ae32f85..9c1d3f657 100644 --- a/superset/assets/cypress.json +++ b/superset/assets/cypress.json @@ -1,10 +1,11 @@ { "baseUrl": "http://localhost:8081", - "videoUploadOnPasses": false, - "video": false, + "chromeWebSecurity": false, + "defaultCommandTimeout": 10000, "ignoreTestFiles": ["**/!(*.test.js)"], "projectId": "fbf96q", - "defaultCommandTimeout": 10000, + "video": false, + "videoUploadOnPasses": false, "viewportWidth": 1280, "viewportHeight": 800 } diff --git a/superset/assets/cypress/integration/dashboard/save.js b/superset/assets/cypress/integration/dashboard/save.js index d0895777f..772862d5b 100644 --- a/superset/assets/cypress/integration/dashboard/save.js +++ b/superset/assets/cypress/integration/dashboard/save.js @@ -20,8 +20,6 @@ import readResponseBlob from '../../utils/readResponseBlob'; import { WORLD_HEALTH_DASHBOARD } from './dashboard.helper'; export default () => describe('save', () => { - Cypress.config('chromeWebSecurity', false); - let dashboardId; let boxplotChartId;