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: FormLabel dedicated directory and tests #13270

Merged
merged 4 commits into from
Mar 1, 2021
Merged

test: FormLabel dedicated directory and tests #13270

merged 4 commits into from
Mar 1, 2021

Conversation

geido
Copy link
Member

@geido geido commented Feb 22, 2021

SUMMARY

This PR only includes tests for the FormLabel component but no storybook. The FormLabel is a React Bootstrap component that we aim to deprecate asap, so the goal of this PR is only to contribute to the stability of the system as it currently stands with no additional investment.

This PR also moves the FormLabel component to a dedicated directory.

@geido
Copy link
Member Author

geido commented Feb 22, 2021

@junlincc @rusackas

@codecov-io
Copy link

codecov-io commented Feb 22, 2021

Codecov Report

Merging #13270 (44efac3) into master (9b5e66b) will decrease coverage by 10.09%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           master   #13270       +/-   ##
===========================================
- Coverage   72.29%   62.20%   -10.10%     
===========================================
  Files         864      567      -297     
  Lines       44883    20665    -24218     
  Branches     5403     5421       +18     
===========================================
- Hits        32450    12854    -19596     
+ Misses      12224     7602     -4622     
  Partials      209      209               
Flag Coverage Δ
javascript 62.20% <ø> (-0.05%) ⬇️
python ?

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

Impacted Files Coverage Δ
...perset-frontend/src/components/FormLabel/index.tsx 100.00% <ø> (ø)
...rontend/src/views/CRUD/dashboard/DashboardCard.tsx 73.68% <0.00%> (-2.00%) ⬇️
...perset-frontend/src/views/CRUD/chart/ChartCard.tsx 70.27% <0.00%> (-1.96%) ⬇️
superset-frontend/src/views/CRUD/types.ts 100.00% <0.00%> (ø)
superset/datasets/commands/update.py
superset/datasets/dao.py
superset/databases/dao.py
superset/utils/dashboard_import_export.py
superset/annotation_layers/annotations/dao.py
superset/db_engine_specs/vertica.py
... and 297 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 9b5e66b...44efac3. Read the comment docs.

@junlincc
Copy link
Member

Thanks for the PR! this project is progressing so nicely, thanks to you all @geido @michael-s-molina @yardz 🙏

image

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.

Just a suggestion to remove the ID and use getByText and parentNode.

@geido geido closed this Feb 23, 2021
@geido geido reopened this Feb 23, 2021
@geido geido closed this Feb 24, 2021
@geido geido reopened this Feb 24, 2021
@rusackas rusackas merged commit 36fda5e into apache:master Mar 1, 2021
allanco91 pushed a commit to allanco91/superset that referenced this pull request May 21, 2021
* Form label directory and tests

* Fix linting

* Remove unnecessary data-test-id
@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.

6 participants