Chore: Move to Cypress 12 and decouple cypress from @grafana/e2e (#74084)
* update drone to use cypress 12 image * upgrade cypress to 12 in core * cypress config actually valid * update @grafana/e2e imports and add lint rule * ignore grafana-e2e from betterer now it's deprecated * fix remaining type errors * fix failing tests * remove unnecessary tsconfig * remove unnecessary comment * update enterprise suite commands to work * add cypress config to CODEOWNERS * export setTimeRange in utils * remove @grafana/e2e from core deps * try running the command through yarn * move CMD to scripts * Update cloud-data-sources e2e image * Update paths --------- Co-authored-by: Andreas Christou <andreas.christou@grafana.com>
This commit is contained in:
co-authored by
Andreas Christou
parent
e7a2c95586
commit
0f2f25c5d9
+11
-3
@@ -52,7 +52,10 @@
|
||||
"betterer": "betterer",
|
||||
"betterer:merge": "betterer merge",
|
||||
"betterer:stats": "ts-node --transpile-only --project ./scripts/cli/tsconfig.json ./scripts/cli/reportBettererStats.ts",
|
||||
"betterer:issues": "ts-node --transpile-only --project ./scripts/cli/tsconfig.json ./scripts/cli/generateBettererIssues.ts"
|
||||
"betterer:issues": "ts-node --transpile-only --project ./scripts/cli/tsconfig.json ./scripts/cli/generateBettererIssues.ts",
|
||||
"cy:run": "cypress run --browser=chrome",
|
||||
"cy:open": "cypress open",
|
||||
"cy:benchmark": "CYPRESS_NO_COMMAND_LOG=1 cypress run --browser=chrome"
|
||||
},
|
||||
"grafana": {
|
||||
"whatsNewUrl": "https://grafana.com/docs/grafana/next/whatsnew/whats-new-in-v10-1/",
|
||||
@@ -76,8 +79,8 @@
|
||||
"@betterer/cli": "5.4.0",
|
||||
"@betterer/eslint": "5.4.0",
|
||||
"@betterer/regexp": "5.4.0",
|
||||
"@cypress/webpack-preprocessor": "5.17.1",
|
||||
"@emotion/eslint-plugin": "11.11.0",
|
||||
"@grafana/e2e": "workspace:*",
|
||||
"@grafana/eslint-config": "6.0.1",
|
||||
"@grafana/eslint-plugin": "link:./packages/grafana-eslint-rules",
|
||||
"@grafana/tsconfig": "^1.3.0-rc1",
|
||||
@@ -153,14 +156,17 @@
|
||||
"babel-loader": "9.1.3",
|
||||
"babel-plugin-angularjs-annotate": "0.10.0",
|
||||
"babel-plugin-macros": "3.1.0",
|
||||
"blink-diff": "1.0.13",
|
||||
"blob-polyfill": "7.0.20220408",
|
||||
"browserslist": "^4.21.4",
|
||||
"chance": "^1.0.10",
|
||||
"chrome-remote-interface": "0.32.2",
|
||||
"codeowners": "^5.1.1",
|
||||
"copy-webpack-plugin": "11.0.0",
|
||||
"css-loader": "6.8.1",
|
||||
"css-minimizer-webpack-plugin": "5.0.1",
|
||||
"cypress": "9.5.1",
|
||||
"cypress": "12.15.0",
|
||||
"cypress-file-upload": "5.0.8",
|
||||
"esbuild": "0.18.12",
|
||||
"esbuild-loader": "3.0.1",
|
||||
"esbuild-plugin-browserslist": "^0.8.0",
|
||||
@@ -215,6 +221,7 @@
|
||||
"stylelint-config-sass-guidelines": "10.0.0",
|
||||
"terser-webpack-plugin": "5.3.9",
|
||||
"testing-library-selector": "0.2.1",
|
||||
"tracelib": "1.0.1",
|
||||
"ts-jest": "29.1.1",
|
||||
"ts-loader": "9.3.1",
|
||||
"ts-node": "10.9.1",
|
||||
@@ -226,6 +233,7 @@
|
||||
"webpack-dev-server": "4.15.1",
|
||||
"webpack-manifest-plugin": "5.0.0",
|
||||
"webpack-merge": "5.9.0",
|
||||
"yaml": "^2.0.0",
|
||||
"yargs": "^17.5.1"
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
Reference in New Issue
Block a user