superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From grace...@apache.org
Subject [incubator-superset] branch master updated: [cypress] Disable chromeWebSecurity globally (#7853)
Date Mon, 15 Jul 2019 06:00:12 GMT
This is an automated email from the ASF dual-hosted git repository.

graceguo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new eed99b1  [cypress] Disable chromeWebSecurity globally (#7853)
eed99b1 is described below

commit eed99b13a2001e92d2948a4ee405648671c2f303
Author: Grace Guo <grace.guo@airbnb.com>
AuthorDate: Sun Jul 14 22:59:59 2019 -0700

    [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 58ae32f..9c1d3f6 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 d089577..772862d 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;
 


Mime
View raw message