[cypress] Disable chromeWebSecurity globally (#7853)

This commit is contained in:
Grace Guo 2019-07-14 22:59:59 -07:00 committed by GitHub
parent f53acd84a7
commit eed99b13a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 5 deletions

View File

@ -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
}

View File

@ -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;