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

fix(SelectInputV2): change data-testid place for easier unit tests #3876

Merged
merged 3 commits into from
Jun 18, 2024

Conversation

DorianMaliszewski
Copy link
Member

Summary

Type

  • Enhancement

Summarise concisely:

What is expected?

Place data-testid on the combobox instead of the wrapper to make testing easier

The following changes where made:

  1. Change data-testid place from wrapper to combobox

Relevant logs and/or screenshots

Page Before After
url screenshot screenshot
url screenshot screenshot

@DorianMaliszewski DorianMaliszewski added the enhancement New feature or request label Jun 14, 2024
@DorianMaliszewski DorianMaliszewski self-assigned this Jun 14, 2024
Copy link

changeset-bot bot commented Jun 14, 2024

🦋 Changeset detected

Latest commit: 9f26096

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@ultraviolet/ui Minor
@ultraviolet/form Patch
@ultraviolet/plus Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

codecov bot commented Jun 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.50%. Comparing base (10e7a83) to head (9f26096).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #3876   +/-   ##
=======================================
  Coverage   93.50%   93.50%           
=======================================
  Files         185      185           
  Lines        5929     5930    +1     
  Branches     2679     2679           
=======================================
+ Hits         5544     5545    +1     
  Misses        385      385           
Files Coverage Δ
...ages/ui/src/components/SelectInputV2/SelectBar.tsx 98.36% <ø> (ø)
packages/ui/src/components/SelectInputV2/index.tsx 97.56% <100.00%> (+0.06%) ⬆️

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 10e7a83...9f26096. Read the comment docs.

@matthprost matthprost merged commit 31c2ac6 into main Jun 18, 2024
11 checks passed
@matthprost matthprost deleted the fix/datatestid-selectinputV2 branch June 18, 2024 15:16
@scaleway-bot scaleway-bot mentioned this pull request Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants