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: Adds tests to the CustomFrame component #13675

Merged
merged 2 commits into from
Mar 31, 2021

Conversation

michael-s-molina
Copy link
Member

SUMMARY

Adds tests to the CustomFrame component.

TEST PLAN

1 - Execute CustomFrame tests.
2 - All tests should pass.

@rusackas @junlincc

ADDITIONAL INFORMATION

  • Has associated issue:
  • Changes UI
  • Requires DB Migration.
  • Confirm DB Migration upgrade and downgrade tested.
  • Introduces new feature or API
  • Removes existing feature or API

@codecov
Copy link

codecov bot commented Mar 17, 2021

Codecov Report

Merging #13675 (1626822) into master (aa0cd64) will increase coverage by 0.11%.
The diff coverage is 80.57%.

❗ Current head 1626822 differs from pull request most recent head 1770a7c. Consider uploading reports for the commit 1770a7c to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##           master   #13675      +/-   ##
==========================================
+ Coverage   77.41%   77.53%   +0.11%     
==========================================
  Files         918      933      +15     
  Lines       46707    47186     +479     
  Branches     5720     5861     +141     
==========================================
+ Hits        36158    36585     +427     
- Misses      10413    10461      +48     
- Partials      136      140       +4     
Flag Coverage Δ
cypress 56.24% <50.69%> (-0.35%) ⬇️
javascript 63.73% <73.10%> (+0.56%) ⬆️

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

Impacted Files Coverage Δ
...et-frontend/src/SqlLab/components/TableElement.jsx 88.37% <ø> (ø)
superset-frontend/src/chart/chartReducer.ts 66.19% <ø> (+1.81%) ⬆️
...ontend/src/common/hooks/usePrevious/usePrevious.ts 100.00% <ø> (ø)
...ontend/src/components/CertifiedIconWithTooltip.tsx 54.54% <0.00%> (-5.46%) ⬇️
...rset-frontend/src/components/ErrorMessage/types.ts 100.00% <ø> (ø)
...et-frontend/src/dashboard/actions/nativeFilters.ts 60.00% <ø> (-4.11%) ⬇️
...end/src/dashboard/components/StickyVerticalBar.tsx 100.00% <ø> (ø)
...end/src/dashboard/components/dnd/DragDroppable.jsx 97.29% <ø> (ø)
...c/dashboard/components/gridComponents/Markdown.jsx 90.90% <ø> (+0.52%) ⬆️
...Filters/FilterBar/FilterControls/FilterControl.tsx 100.00% <ø> (ø)
... and 141 more

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 aa0cd64...1770a7c. Read the comment docs.

Copy link
Member

@geido geido left a comment

Choose a reason for hiding this comment

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

LGTM! with just a microscopic nit

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.

Looks awesome, thank you!

@rusackas rusackas merged commit 28fe6e0 into apache:master Mar 31, 2021
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
* test: Adds tests to the CustomFrame component

* Replaces full path with relative path
allanco91 pushed a commit to allanco91/superset that referenced this pull request May 21, 2021
* test: Adds tests to the CustomFrame component

* Replaces full path with relative path
@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