Skip to content
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

Merged
merged 4 commits into from
Oct 15, 2021

Conversation

lyndsiWilliams
Copy link
Member

@lyndsiWilliams lyndsiWilliams commented Sep 30, 2021

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 and dashboard/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

  • Navigate to superset-frontend/package.json and observe the dev dependency: "@cypress/react": "^5.10.0"
  • Navigate to superset-frontend/cypress-base/package.json and observe the dependency: "@cypress/code-coverage": "^3.9.11" and dev dependency: "cypress": "^7.0.0"
  • Run the Cypress tests and observe that tests have been properly migrated.

ADDITIONAL INFORMATION

  • Has associated issue:
  • Required feature flags:
  • Changes UI
  • Includes DB Migration (follow approval process in SIP-59)
    • Migration is atomic, supports rollback & is backwards-compatible
    • Confirm DB migration upgrade and downgrade tested
    • Runtime estimates and downtime expectations provided
  • Introduces new feature or API
  • Removes existing feature or API

@codecov
Copy link

codecov bot commented Sep 30, 2021

Codecov Report

Merging #16911 (e22b1a4) into master (b9ff85d) will increase coverage by 0.04%.
The diff coverage is n/a.

Impacted file tree graph

@@            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              
Flag Coverage Δ
javascript 70.90% <ø> (+0.10%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
superset-frontend/src/views/CRUD/hooks.ts 52.76% <0.00%> (+5.53%) ⬆️
...rset-frontend/src/components/ImportModal/index.tsx 84.94% <0.00%> (+15.05%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b9ff85d...e22b1a4. Read the comment docs.

@pull-request-size pull-request-size bot added size/S and removed size/M labels Oct 13, 2021
@pull-request-size pull-request-size bot added size/M and removed size/S labels Oct 13, 2021
@betodealmeida betodealmeida merged commit 732e589 into apache:master Oct 15, 2021
@@ -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",
Copy link
Member

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?

@eschutho
Copy link
Member

we're also missing some package-lock files.

opus-42 pushed a commit to opus-42/incubator-superset that referenced this pull request Nov 14, 2021
* Copied changes from original PR, minus package-lock.json files

* Reverted command name change

* Fixed package.json in superset-frontend

* Test adjustments
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 1.5.0 labels Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels preset-io size/M 🚢 1.5.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants