MCPcopy
hub / github.com/angular/components / locatorForAll

Method locatorForAll

src/cdk/testing/component-harness.ts:276–276  ·  view source on GitHub ↗

* Creates an asynchronous locator function that can be used to find `ComponentHarness` instances * or elements under the root element of this `LocatorFactory`. * * For example, given the following DOM and assuming `DivHarness.hostSelector` is `'div'` and * `IdIsD1Harness.hostSelector` is

(
    ...queries: T
  )

Source from the content-addressed store, hash-verified

274 * the union of all result types for each query.
275 */
276 locatorForAll<T extends (HarnessQuery<any> | string)[]>(
277 ...queries: T
278 ): () => Promise<LocatorFnResult<T>[]>;
279

Callers 15

getWidgetsMethod · 0.80
getWidgetsMethod · 0.80
getWidgetGroupsMethod · 0.80
getAccordionsMethod · 0.80
getCellsMethod · 0.80
getRowsMethod · 0.80
getCellsMethod · 0.80
getItemsMethod · 0.80
getOptionsMethod · 0.80
getTabsMethod · 0.80
getItemsMethod · 0.80
getRowsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected