Skip to content

Commit 9c0df7d

Browse files
committed
test(material-experimental/mdc-tabs): fix tab harness
1 parent 560eb44 commit 9c0df7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/material-experimental/mdc-tabs/testing/tab-harness.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export class MatTabHarness extends ContentContainerComponentHarness<string> {
6161

6262
/** Selects the given tab by clicking on the label. Tab cannot be selected if disabled. */
6363
async select(): Promise<void> {
64-
await (await this.host()).click();
64+
await (await this.host()).click('center');
6565
}
6666

6767
/** Gets the text content of the tab. */

0 commit comments

Comments
 (0)