MCPcopy Create free account
hub / github.com/angular/components / getLabel

Method getLabel

src/material/stepper/testing/step-harness.ts:50–52  ·  view source on GitHub ↗

Gets the label of the step.

()

Source from the content-addressed store, hash-verified

48
49 /** Gets the label of the step. */
50 async getLabel(): Promise<string> {
51 return (await this.locatorFor('.mat-step-text-label')()).text();
52 }
53
54 /** Gets the `aria-label` of the step. */
55 async getAriaLabel(): Promise<string | null> {

Callers

nothing calls this directly

Calls 2

locatorForMethod · 0.80
textMethod · 0.65

Tested by

no test coverage detected