import {MatProgressBarHarness} from '@angular/material/progress-bar/testing';
MatProgressBarHarness
extends
ComponentHarness
Harness for interacting with a standard mat-progress-bar in tests.
Name | Description |
---|---|
|
The selector for the host element of a |
async
getMode
|
|
---|---|
Gets the progress bar's mode. |
|
Returns | |
Promise<string | null>
|
|
async
getValue
|
|
---|---|
Gets the progress bar's value. |
|
Returns | |
Promise<number | null>
|
|
async
host
|
|
---|---|
Gets a |
|
Returns | |
Promise<TestElement>
|
|
static
with
|
|
---|---|
Gets a |
|
Parameters | |
options ProgressBarHarnessFilters = {}
|
|
Returns | |
HarnessPredicate<MatProgressBarHarness>
|
a |
ProgressBarHarnessFilters
A set of criteria that can be used to filter a list of MatProgressBarHarness
instances.