-
Notifications
You must be signed in to change notification settings - Fork 13.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: Cypress 7.0.0 migration #16911
test: Cypress 7.0.0 migration #16911
Conversation
Codecov Report
@@ Coverage Diff @@
## master #16911 +/- ##
==========================================
+ Coverage 76.88% 76.92% +0.04%
==========================================
Files 1031 1031
Lines 55197 55197
Branches 7506 7506
==========================================
+ Hits 42436 42463 +27
+ Misses 12509 12482 -27
Partials 252 252
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
9f1db45
to
3b6dcb9
Compare
superset-frontend/cypress-base/cypress/integration/dashboard/controls.test.ts
Show resolved
Hide resolved
@@ -11,13 +11,13 @@ | |||
"license": "Apache-2.0", | |||
"dependencies": { | |||
"@cypress/code-coverage": "^3.9.11", | |||
"@superset-ui/core": "^0.18.4", | |||
"@superset-ui/core": "^0.18.8", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what was this a result of?
we're also missing some package-lock files. |
* Copied changes from original PR, minus package-lock.json files * Reverted command name change * Fixed package.json in superset-frontend * Test adjustments
SUMMARY
This PR migrates Cypress to 7.x. Details for this process can be found here.
Note: There are 4 tests skipped in
dashboard/controls.test.ts
,dashboard/filter.test.ts
,dashboard/tabs.test.ts
anddashboard/url_params.test.ts
because they're breaking for reasons unrelated to my changes and I couldn't figure out how to fix them.TESTING INSTRUCTIONS
superset-frontend/package.json
and observe the dev dependency:"@cypress/react": "^5.10.0"
superset-frontend/cypress-base/package.json
and observe the dependency:"@cypress/code-coverage": "^3.9.11"
and dev dependency:"cypress": "^7.0.0"
ADDITIONAL INFORMATION