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: ColumnSelect #13991

Merged
merged 1 commit into from
Apr 9, 2021
Merged

test: ColumnSelect #13991

merged 1 commit into from
Apr 9, 2021

Conversation

yardz
Copy link
Contributor

@yardz yardz commented Apr 7, 2021

SUMMARY

Tests for ColumnSelect

@codecov
Copy link

codecov bot commented Apr 7, 2021

Codecov Report

Merging #13991 (307f2a6) into master (f06d534) will decrease coverage by 0.16%.
The diff coverage is 100.00%.

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

@@            Coverage Diff             @@
##           master   #13991      +/-   ##
==========================================
- Coverage   79.21%   79.04%   -0.17%     
==========================================
  Files         936      936              
  Lines       47408    47408              
  Branches     5940     5938       -2     
==========================================
- Hits        37554    37474      -80     
- Misses       9727     9808      +81     
+ Partials      127      126       -1     
Flag Coverage Δ
cypress 56.05% <100.00%> (+0.01%) ⬆️
hive ?
javascript 68.91% <100.00%> (+0.45%) ⬆️
presto ?

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

Impacted Files Coverage Δ
...end/src/components/IndeterminateCheckbox/index.tsx 100.00% <ø> (ø)
...nd/src/explore/components/DataTablesPane/index.tsx 88.88% <ø> (ø)
...ols/MetricControl/AdhocMetricEditPopover/index.jsx 84.09% <ø> (ø)
...et-frontend/src/components/TableView/TableView.tsx 98.21% <100.00%> (+1.78%) ⬆️
superset/db_engines/hive.py 0.00% <0.00%> (-82.15%) ⬇️
superset/db_engine_specs/hive.py 74.42% <0.00%> (-16.42%) ⬇️
superset/db_engine_specs/presto.py 81.83% <0.00%> (-6.48%) ⬇️
superset/views/database/mixins.py 81.03% <0.00%> (-1.73%) ⬇️
superset/connectors/sqla/models.py 89.08% <0.00%> (-1.68%) ⬇️
...set-frontend/src/dashboard/util/getDropPosition.js 90.90% <0.00%> (-1.52%) ⬇️
... and 8 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 f06d534...22c705e. Read the comment docs.


test('Should render', () => {
const props = createProps();
const { container } = render(<ColumnSelect {...(props as any)} />, {
Copy link
Member

Choose a reason for hiding this comment

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

Fortunately, ColumnSelect is already in typescript and it has a ColumnSelectProps definition. You can use it anywhere props appear. No blocker, but it would be nicer.

@yardz yardz closed this Apr 7, 2021
@yardz yardz reopened this Apr 7, 2021
@junlincc junlincc added test:component dashboard:native-filters Related to the native filters of the Dashboard labels Apr 8, 2021
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.

Thanks for the test!

@pkdotson pkdotson merged commit c0017b3 into apache:master Apr 9, 2021
allanco91 pushed a commit to allanco91/superset that referenced this pull request May 21, 2021
QAlexBall pushed a commit to QAlexBall/superset that referenced this pull request Dec 29, 2021
@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 dashboard:native-filters Related to the native filters of the Dashboard size/M test:component 🚢 1.2.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants