We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 560eb44 commit 9c0df7dCopy full SHA for 9c0df7d
src/material-experimental/mdc-tabs/testing/tab-harness.ts
@@ -61,7 +61,7 @@ export class MatTabHarness extends ContentContainerComponentHarness<string> {
61
62
/** Selects the given tab by clicking on the label. Tab cannot be selected if disabled. */
63
async select(): Promise<void> {
64
- await (await this.host()).click();
+ await (await this.host()).click('center');
65
}
66
67
/** Gets the text content of the tab. */
0 commit comments