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 AdvancedFrame component #13664

Merged
merged 2 commits into from Mar 31, 2021

Conversation

michael-s-molina
Copy link
Member

SUMMARY

Adds tests to the AdvancedFrame component.

TEST PLAN

1 - Execute AdvancedFrame 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

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!

@codecov
Copy link

codecov bot commented Mar 24, 2021

Codecov Report

Merging #13664 (773bdd5) into master (21cc495) will increase coverage by 0.08%.
The diff coverage is 80.89%.

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

@@            Coverage Diff             @@
##           master   #13664      +/-   ##
==========================================
+ Coverage   77.41%   77.49%   +0.08%     
==========================================
  Files         918      933      +15     
  Lines       46673    47186     +513     
  Branches     5720     5861     +141     
==========================================
+ Hits        36131    36568     +437     
- Misses      10406    10476      +70     
- Partials      136      142       +6     
Flag Coverage Δ
cypress 56.24% <50.27%> (-0.35%) ⬇️
javascript 63.64% <72.61%> (+0.47%) ⬆️

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 150 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 21cc495...ec37dc7. Read the comment docs.

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!

@rusackas rusackas merged commit 7ae80e9 into apache:master Mar 31, 2021
amitmiran137 added 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 AdvancedFrame 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 AdvancedFrame 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/M test:component 🚢 1.2.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants