Skip to content

Raise error if desired select element has no aria-control#5303

Merged
greenbonebot merged 5 commits into
mainfrom
alert-dialog-improvements
May 21, 2026
Merged

Raise error if desired select element has no aria-control#5303
greenbonebot merged 5 commits into
mainfrom
alert-dialog-improvements

Conversation

@bjoernricks
Copy link
Copy Markdown
Contributor

What

Raise error if desired select element has no aria-control

Why

Extend getSelectItemElementsForSelect to raise an error if the desired select element has not aria-control attribute. Otherwise wrong item elements are returned.

Extend `getSelectItemElementsForSelect` to raise an error if the desired
select element has not `aria-control` attribute. Otherwise wrong item
elements are returned.
@bjoernricks bjoernricks requested a review from a team as a code owner May 21, 2026 09:29
@greenbonebot greenbonebot enabled auto-merge (rebase) May 21, 2026 09:29
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 21, 2026

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Snapshot Warnings

⚠️: No snapshots were found for the head SHA b18d78f.
Ensure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice.

Scanned Files

None

Allow to associate a FormGroup title with a form element. This allows to
use the byLabelText query helpers in the tests and also makes the forms
more accessible.
Connect the PermissionDialog form group labels with their corresponding
input elements. This allows to get the correct element in the tests
using the byLabelTest query helper.
@codecov
Copy link
Copy Markdown

codecov Bot commented May 21, 2026

Codecov Report

❌ Patch coverage is 85.71429% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 79.03%. Comparing base (281820c) to head (b18d78f).

Files with missing lines Patch % Lines
src/web/testing/actions.ts 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5303      +/-   ##
==========================================
- Coverage   79.03%   79.03%   -0.01%     
==========================================
  Files        1218     1218              
  Lines       32129    32131       +2     
  Branches     9599     9600       +1     
==========================================
+ Hits        25394    25395       +1     
- Misses       6028     6029       +1     
  Partials      707      707              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@greenbonebot greenbonebot merged commit afccaef into main May 21, 2026
27 checks passed
@greenbonebot greenbonebot deleted the alert-dialog-improvements branch May 21, 2026 11:38
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