justinpark opened a new pull request, #23805: URL: https://github.com/apache/superset/pull/23805
### SUMMARY Following unit test failed due to #22916 It's because the test uses the legacy api endpoint but the api is migrated to new [endpoint](https://github.com/apache/superset/pull/22931/files#diff-1fe9f23910bda67f66ff7b5e9127cdaba0d304153a5246dbcb2d76d70d2e5a4fR1516) It looks like the PR made and passed CI before the api migration completed. This commit fixes the test code to pass the CI ``` FAIL src/SqlLab/components/ExploreCtasResultsButton/ExploreCtasResultsButton.test.tsx (5.404 s) ● Console console.warn You are using a whole package of antd, please use https://www.npmjs.com/package/babel-plugin-import to reduce app bundle size. at Module../components/index.tsx (node_modules/antd/dist/webpack:/antd/components/index.tsx:10:13) at require (node_modules/antd/dist/webpack:/antd/webpack/bootstrap:19:1) at Object../index-with-locales.js (node_modules/antd/dist/webpack:/antd/index-with-locales.js:1:14) at __webpack_require__ (node_modules/antd/dist/webpack:/antd/webpack/bootstrap:19:1) at node_modules/antd/dist/webpack:/antd/webpack/bootstrap:83:1 at node_modules/antd/dist/antd-with-locales.js:105:10 at webpackUniversalModuleDefinition (node_modules/antd/dist/webpack:/antd/webpack/universalModuleDefinition:3:1) at Object.<anonymous> (node_modules/antd/dist/webpack:/antd/webpack/universalModuleDefinition:10:2) ``` ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF <!--- Skip this if not applicable --> ### TESTING INSTRUCTIONS <!--- Required! What steps can be taken to manually verify the changes? --> ### ADDITIONAL INFORMATION <!--- Check any relevant boxes with "x" --> <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue --> - [ ] Has associated issue: - [ ] Required feature flags: - [ ] Changes UI - [ ] Includes DB Migration (follow approval process in [SIP-59](https://github.com/apache/superset/issues/13351)) - [ ] 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 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
