Closed
Description
Context
In the Angular Material documentation, it is said you can either use <mat-progress-spinner>
or <mat-spinner>
to place spinner components:
The progress-spinner supports two modes, "determinate" and "indeterminate". The
<mat-spinner>
component is an alias for<mat-progress-spinner mode="indeterminate">
.
Issue
When using harnesses to test the application, there's no harness for the <mat-spinner>
element and the MatProgressSpinnerHarness
just includes selector for mat-progress-spinner
, and not their alias mat-spinner
:
Should the selector be able to match both spinners? Or maybe we're missing a MatSpinnerHarness
here? 🤔
Thanks!