mirror of
https://github.com/material-components/material-web.git
synced 2024-09-20 01:57:33 +03:00
e4a29c6e31
PiperOrigin-RevId: 523183717
20 lines
482 B
TypeScript
20 lines
482 B
TypeScript
/**
|
|
* @license
|
|
* Copyright 2023 Google LLC
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
import {Harness} from '../testing/harness.js';
|
|
|
|
import {CircularProgress} from './lib/circular-progress.js';
|
|
|
|
/**
|
|
* Test harness for circular-progress.
|
|
*/
|
|
export class CircularProgressHarness extends Harness<CircularProgress> {
|
|
override async getInteractiveElement() {
|
|
await this.element.updateComplete;
|
|
return this.element.querySelector<HTMLElement>('.circularProgresss')!;
|
|
}
|
|
}
|