Skip to content

feat: *ByRole a11y value option #1210

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

Merged
merged 4 commits into from
Nov 15, 2022
Merged

Conversation

mdjastrzebski
Copy link
Member

Summary

  1. Add value option to *ByRole query
  2. Improve *ByA11yValue query by allowing text entry to be string or regex

Test plan

Added relevant tests for *ByRole query and *ByA11yValue.

@mdjastrzebski mdjastrzebski changed the title Feature/by role a11y value props feat: *ByRole a11y value option Nov 3, 2022
@codecov
Copy link

codecov bot commented Nov 3, 2022

Codecov Report

Base: 94.67% // Head: 94.82% // Increases project coverage by +0.15% 🎉

Coverage data is based on head (a6e0d04) compared to base (a58bd2a).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1210      +/-   ##
==========================================
+ Coverage   94.67%   94.82%   +0.15%     
==========================================
  Files          42       43       +1     
  Lines        2946     3036      +90     
  Branches      440      454      +14     
==========================================
+ Hits         2789     2879      +90     
  Misses        157      157              
Impacted Files Coverage Δ
src/helpers/accessiblity.ts 100.00% <100.00%> (ø)
src/helpers/matchers/accessibilityValue.ts 100.00% <100.00%> (ø)
src/queries/a11yValue.ts 100.00% <100.00%> (ø)
src/queries/role.ts 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@mdjastrzebski mdjastrzebski force-pushed the feature/by-role-a11y-value-props branch from 52007ea to a7e8ff6 Compare November 3, 2022 22:11
@mdjastrzebski mdjastrzebski force-pushed the feature/by-role-a11y-value-props branch 2 times, most recently from 373d4be to dd27483 Compare November 8, 2022 10:19
Copy link
Collaborator

@pierrezimmermannbam pierrezimmermannbam left a comment

Choose a reason for hiding this comment

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

Looks very good ! I just added a comment on some naming that I find a bit confusing and a smaill typo in docs

@mdjastrzebski mdjastrzebski force-pushed the feature/by-role-a11y-value-props branch from afe8402 to dafbcb2 Compare November 15, 2022 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants