material-web/circularprogress/harness.ts
2023-04-10 12:30:34 -07:00

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')!;
}
}