mirror of
https://github.com/material-components/material-web.git
synced 2024-09-20 01:57:33 +03:00
73ca8ae0eb
PiperOrigin-RevId: 481941267
21 lines
497 B
TypeScript
21 lines
497 B
TypeScript
/**
|
|
* @license
|
|
* Copyright 2022 Google LLC
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
import {Harness} from '../testing/harness.js';
|
|
|
|
import {NavigationTab} from './lib/navigation-tab.js';
|
|
|
|
/**
|
|
* Test harness for navigation tab elements.
|
|
*/
|
|
export class NavigationTabHarness extends Harness<NavigationTab> {
|
|
override async getInteractiveElement() {
|
|
await this.element.updateComplete;
|
|
return this.element.renderRoot.querySelector('.md3-navigation-tab') as
|
|
HTMLElement;
|
|
}
|
|
}
|