Skip to content

Commit

Permalink
test: Update radio harness click label so change output is not trigge…
Browse files Browse the repository at this point in the history
…red twice when check is called
  • Loading branch information
Shi Shu authored and mmalerba committed Sep 26, 2023
1 parent ac06c98 commit 21c4a92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/material/radio/testing/radio-harness.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ export class MatRadioButtonHarness extends ComponentHarness {
}

protected _textLabel = this.locatorFor('label');
protected _clickLabel = this._textLabel;
protected _clickLabel = this.locatorFor('.mat-mdc-radio-touch-target');
private _input = this.locatorFor('input');

/** Whether the radio-button is checked. */
Expand Down

0 comments on commit 21c4a92

Please sign in to comment.