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: Refactor and enhance tests for the Explore DatasourcePanel Component #13799

Merged
merged 3 commits into from
Apr 1, 2021
Merged

test: Refactor and enhance tests for the Explore DatasourcePanel Component #13799

merged 3 commits into from
Apr 1, 2021

Conversation

geido
Copy link
Member

@geido geido commented Mar 25, 2021

SUMMARY

Refactors and enhances the tests for the DatasourcePanel component, while moving the tests to the dedicated directory and adding some typescript support

TEST PLAN

All tests should pass

@geido geido changed the title test: Refactor and enhance tests for Explore DatasourcePanel component test: Refactor and enhance tests for the Explore DatasourcePanel Component Mar 25, 2021
Copy link
Member

@michael-s-molina michael-s-molina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code LGTM. Only formatting remaining.

@junlincc junlincc requested a review from rusackas March 25, 2021 23:18
@codecov
Copy link

codecov bot commented Mar 26, 2021

Codecov Report

Merging #13799 (0943c0e) into master (a45a5e1) will increase coverage by 0.01%.
The diff coverage is n/a.

❗ Current head 0943c0e differs from pull request most recent head 7c03fca. Consider uploading reports for the commit 7c03fca to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##           master   #13799      +/-   ##
==========================================
+ Coverage   77.54%   77.56%   +0.01%     
==========================================
  Files         934      933       -1     
  Lines       47249    47248       -1     
  Branches     5892     5892              
==========================================
+ Hits        36641    36646       +5     
+ Misses      10464    10458       -6     
  Partials      144      144              
Flag Coverage Δ
cypress 56.04% <ø> (-0.01%) ⬇️
javascript 63.77% <ø> (+0.03%) ⬆️

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

Impacted Files Coverage Δ
...d/src/explore/components/DatasourcePanel/index.tsx 87.93% <ø> (ø)
...set-frontend/src/dashboard/util/getDropPosition.js 90.90% <0.00%> (-1.52%) ⬇️

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 a45a5e1...7c03fca. Read the comment docs.

@geido geido closed this Mar 26, 2021
@geido geido reopened this Mar 26, 2021
@junlincc
Copy link
Member

/testenv up

@github-actions
Copy link
Contributor

@junlincc Ephemeral environment spinning up at http://35.167.25.111:8080. Credentials are admin/admin. Please allow several minutes for bootstrapping and startup.

Copy link
Member

@rusackas rusackas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks yet again!

@rusackas rusackas merged commit 9156f08 into apache:master Apr 1, 2021
@github-actions
Copy link
Contributor

github-actions bot commented Apr 1, 2021

Ephemeral environment shutdown and build artifacts deleted.

amitmiran137 pushed a commit that referenced this pull request Apr 2, 2021
* master: (26 commits)
  chore: bump to new superset-ui version (#13932)
  fix: do not run containers as root by default in Helm chart (#13917)
  feat(explore): adhoc column formatting for Table chart (#13758)
  fix(sqla-query): order by aggregations in Presto and Hive (#13739)
  feat(alert/report): add ALERTS_ATTACH_REPORTS feature flags + feature (#13894)
  test: Fixes PropertiesModal_spec (#13548)
  fix: Pin Prophet dependency after breaking changes (#13852)
  test: Adds tests to dnd controls (#13650)
  test: Adds tests to the AnnotationLayer component (#13748)
  test: Refactor and enhance tests for the Explore DatasourcePanel Component (#13799)
  Add tests (#13778)
  test: DisplayQueryButton (#13750)
  Fixing condition around left margin for dashboard layout. Fixes #13863 (#13905)
  Revert "fix: select table overlay (#13694)" (#13901)
  test: Adds tests to the OptionControls component (#13729)
  test: DatasourceControl (#13605)
  tests for function handleScroll (#13896)
  test: Adds tests to the CustomFrame component (#13675)
  test: Adds tests to the AdvancedFrame component (#13664)
  test: DataTableControl (#13668)
  ...
lyndsiWilliams pushed a commit to preset-io/superset that referenced this pull request Apr 7, 2021
…onent (apache#13799)

* Refactor and enhance tests

* Fix linting issues
allanco91 pushed a commit to allanco91/superset that referenced this pull request May 21, 2021
…onent (apache#13799)

* Refactor and enhance tests

* Fix linting issues
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 1.2.0 labels Mar 12, 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 size/L test:component 🚢 1.2.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants