Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/material/checkbox/testing/checkbox-harness.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export class MatCheckboxHarness extends ComponentHarness {
static hostSelector = '.mat-mdc-checkbox';

_input = this.locatorFor('input');
private _label = this.locatorFor('label');
private _label = this.locatorFor('.mat-internal-form-field-label');
private _inputContainer = this.locatorFor('.mdc-checkbox');

/**
Expand Down
4 changes: 2 additions & 2 deletions src/material/radio/testing/radio-harness.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@ export class MatRadioButtonHarness extends ComponentHarness {
);
}

protected _textLabel = this.locatorFor('label');
protected _clickLabel = this._textLabel;
protected _textLabel = this.locatorFor('.mat-internal-form-field-label');
protected _clickLabel = this.locatorFor('label');
private _input = this.locatorFor('input');

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