Skip to content

Commit

Permalink
feat(circular-progress): adds screenshot tests for circular-progress …
Browse files Browse the repository at this point in the history
…element

PiperOrigin-RevId: 523183717
  • Loading branch information
material-web-copybara authored and copybara-github committed Apr 10, 2023
1 parent c9f2f7d commit e4a29c6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Field | ✅ | ✅ | 🟡
Icon | ✅ | ✅ | ❌
List | ✅ | 🟡 | 🟡
Menu | ✅ | 🟡 | 🟡
Progress indicator (circular) | ✅ | 🟡 | ❌
Progress indicator (circular) | ✅ | | ❌
Progress indicator (linear) | 🟡 | ❌ | ❌
Radio button | ✅ | ✅ | ❌
Ripple | ✅ | ✅ | 🟡
Expand Down
7 changes: 6 additions & 1 deletion circularprogress/harness.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,9 @@ import {CircularProgress} from './lib/circular-progress.js';
/**
* Test harness for circular-progress.
*/
export class CircularProgressHarness extends Harness<CircularProgress> {}
export class CircularProgressHarness extends Harness<CircularProgress> {
override async getInteractiveElement() {
await this.element.updateComplete;
return this.element.querySelector<HTMLElement>('.circularProgresss')!;
}
}

0 comments on commit e4a29c6

Please sign in to comment.