Skip to content

Use correct label selectors in harnesses - #34138

Merged
crisbeto merged 2 commits into
angular:mainfrom
crisbeto:harness-label-selectors
Nov 15, 2026
Merged

crisbeto merged 2 commits into
angular:mainfrom
crisbeto:harness-label-selectors

Conversation

@crisbeto

Copy link
Copy Markdown
Member

Some time ago we reworked the template for the radio button and checkbox to move the label further up in the DOM, however we didn't update the harnesses which now extract text further up in the tree. These changes narrow down the selector again.

Some time ago we moved the `label` element further up, but the change wasn't reflected in the test harness.
Some time ago we moved the `label` element further up, but the change wasn't reflected in the test harness.
@crisbeto crisbeto added target: patch This PR is targeted for the next patch release merge: preserve commits When the PR is merged, a rebase and merge should be performed labels Nov 15, 2026
@pullapprove
pullapprove Bot requested review from ok7sai and tjshiu November 15, 2026 08:12
@crisbeto crisbeto added the action: merge The PR is ready for merge by the caretaker label Nov 15, 2026
@crisbeto
crisbeto merged commit a4b281d into angular:main Nov 15, 2026
40 of 42 checks passed
@crisbeto

Copy link
Copy Markdown
Member Author

This PR was merged into the repository. The changes were merged into the following branches:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: merge The PR is ready for merge by the caretaker area: material/checkbox area: material/radio merge: preserve commits When the PR is merged, a rebase and merge should be performed target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants