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: Tests audit for the Dashboard FilterBar #13916

Merged
merged 19 commits into from
Apr 13, 2021
Merged

test: Tests audit for the Dashboard FilterBar #13916

merged 19 commits into from
Apr 13, 2021

Conversation

geido
Copy link
Member

@geido geido commented Apr 1, 2021

SUMMARY

Adds and enhances tests for the Dashboard FilterBar (nativeFilters.)

TEST PLAN

All tests should pass

@geido
Copy link
Member Author

geido commented Apr 1, 2021

@junlincc @rusackas

@codecov
Copy link

codecov bot commented Apr 2, 2021

Codecov Report

Merging #13916 (c7bd361) into master (2c96c5b) will increase coverage by 0.26%.
The diff coverage is 100.00%.

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

@@            Coverage Diff             @@
##           master   #13916      +/-   ##
==========================================
+ Coverage   79.30%   79.57%   +0.26%     
==========================================
  Files         938      935       -3     
  Lines       47523    47432      -91     
  Branches     5940     5948       +8     
==========================================
+ Hits        37687    37742      +55     
+ Misses       9710     9569     -141     
+ Partials      126      121       -5     
Flag Coverage Δ
cypress 56.08% <ø> (+0.02%) ⬆️
javascript 69.63% <100.00%> (+0.77%) ⬆️

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

Impacted Files Coverage Δ
...dashboard/components/menu/ShareMenuItems/index.tsx 100.00% <ø> (ø)
...nativeFilters/FilterBar/FilterSets/EditSection.tsx 80.00% <ø> (+46.00%) ⬆️
...tiveFilters/FilterBar/FilterSets/FilterSetUnit.tsx 95.65% <ø> (+52.17%) ⬆️
...tiveFilters/FilterBar/FilterSets/FiltersHeader.tsx 91.42% <ø> (+59.99%) ⬆️
...ents/nativeFilters/FilterBar/FilterSets/Footer.tsx 95.23% <ø> (+47.61%) ⬆️
...nents/nativeFilters/FilterBar/FilterSets/index.tsx 46.46% <ø> (ø)
...d/components/DashboardBuilder/DashboardBuilder.tsx 95.34% <100.00%> (ø)
...end/src/dashboard/components/SliceHeader/index.tsx 92.00% <100.00%> (ø)
...ilters/FilterBar/FilterConfigurationLink/index.tsx 100.00% <100.00%> (ø)
...omponents/nativeFilters/FilterBar/Header/index.tsx 90.32% <100.00%> (ø)
... and 43 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 9e03b6d...aa400ec. Read the comment docs.

@pkdotson
Copy link
Member

pkdotson commented Apr 6, 2021

/testenv up

@github-actions
Copy link
Contributor

github-actions bot commented Apr 6, 2021

@pkdotson Ephemeral environment creation is currently limited to committers.

Copy link
Member

@pkdotson pkdotson left a comment

Choose a reason for hiding this comment

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

LGTG! Pulled the branch and everything looks good.

@rusackas rusackas merged commit 11869dc into apache:master Apr 13, 2021
amitmiran137 pushed a commit that referenced this pull request Apr 13, 2021
* master: (53 commits)
  test: Adds tests to the UndoRedoKeyListeners component (#13919)
  chore: Adds dataMask reducer to reducerIndex (#13951)
  test: Tests audit for the Dashboard FilterBar (#13916)
  fix: unable to apply logging format (#14074)
  refactor: Bootstrap to AntD - Slider (#13989)
  chore(spa refactor): refactoring dashboard to use api's instead of bootstrapdata (#13306)
  fix(listview): update listview feature flag (#13906)
  Add docs for configuring Docker Compose setup (#13961)
  feat: invalid password error message (Postgres) (#14038)
  fix: flacky test in test_update_dataset_item_w_override_columns (#14082)
  feat: Implement Celery SoftTimeLimit handling (#13740)
  feat: only send alert error emails to owners of the alert (#13862)
  feat: add descriptions to report emails (#13827)
  Make chart exclude itself from cross filtering (#14046)
  fix: fix bug when remove chart not  removing it's related cross filter data (#14081)
  feat(native-filters): Add default first value to select filter (#13726)
  feat: Make async query JWT cookie domain configurable (#14007)
  fix: add exception to catch session not having JWT (#14036)
  Use consistent chart value (#14031)
  fix: Use superset generic db to catch external_metadata queries (#13974)
  ...
allanco91 pushed a commit to allanco91/superset that referenced this pull request May 21, 2021
* Add FilterBar tests

* Finalize FilterBar tests

* Add tests for FilterBar Header

* Add tests for FilterBar FilterConfigurationLink

* Add tests for FilterBar FilterSets EditSection

* Add tests for FilterBar FilterSets

* Clean up

* Add tests for FilterBar FilterSetUnit

* Add tests for FilterBar FilterSets FiltersHeader

* Add tests for FilterBar FilterSets Footer

* Fix linting

* Fix import

* Fix minor changes

* Fix import

* Add factory and clean up
QAlexBall pushed a commit to QAlexBall/superset that referenced this pull request Dec 29, 2021
* Add FilterBar tests

* Finalize FilterBar tests

* Add tests for FilterBar Header

* Add tests for FilterBar FilterConfigurationLink

* Add tests for FilterBar FilterSets EditSection

* Add tests for FilterBar FilterSets

* Clean up

* Add tests for FilterBar FilterSetUnit

* Add tests for FilterBar FilterSets FiltersHeader

* Add tests for FilterBar FilterSets Footer

* Fix linting

* Fix import

* Fix minor changes

* Fix import

* Add factory and clean up
@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/XL test:component 🚢 1.2.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants