Skip to content

Commit fb0e4fe

Browse files
committed
chore: update cypress
1 parent 5fb81cc commit fb0e4fe

File tree

9 files changed

+240
-338
lines changed

9 files changed

+240
-338
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
import { defineConfig } from 'cypress'
2+
3+
export default defineConfig({
4+
chromeWebSecurity: false,
5+
viewportWidth: 1600,
6+
viewportHeight: 1400,
7+
projectId: 'zv1vfg',
8+
blockHosts: ['*.cube.dev'],
9+
retries: {
10+
runMode: 2,
11+
openMode: 0,
12+
},
13+
e2e: {
14+
// We've imported your old cypress plugins here.
15+
// You may want to clean this up later by importing these.
16+
setupNodeEvents(on, config) {
17+
return require('./cypress/plugins/index.js')(on, config)
18+
},
19+
baseUrl: 'http://localhost:3080',
20+
specPattern: 'cypress/e2e/**/*.{js,jsx,ts,tsx}',
21+
},
22+
})

packages/cubejs-testing/cypress.json

Lines changed: 0 additions & 12 deletions
This file was deleted.

packages/cubejs-testing/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,11 +120,11 @@
120120
"@types/http-proxy": "^1.17.5",
121121
"@types/jest": "^27",
122122
"@types/node": "^18",
123-
"cypress": "6.9.1",
123+
"cypress": "14.0.0",
124124
"cypress-image-snapshot": "^4.0.1",
125125
"cypress-localstorage-commands": "^1.4.5",
126126
"cypress-plugin-snapshots": "^1.4.4",
127-
"cypress-wait-until": "^1.7.1",
127+
"cypress-wait-until": "^1.7.2",
128128
"eslint-plugin-cypress": "^2.12.1",
129129
"globby": "^11.0.4",
130130
"jest": "^27",

0 commit comments

Comments
 (0)