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

Method getRows

src/material/table/testing/table-harness.ts:59–61  ·  view source on GitHub ↗

Gets all the regular data rows in a table.

(filter: RowHarnessFilters = {})

Source from the content-addressed store, hash-verified

57
58 /** Gets all the regular data rows in a table. */
59 async getRows(filter: RowHarnessFilters = {}): Promise<MatRowHarness[]> {
60 return this.locatorForAll(this._rowHarness.with(filter))();
61 }
62
63 /** Gets all the footer rows in a table. */
64 async getFooterRows(filter: RowHarnessFilters = {}): Promise<MatFooterRowHarness[]> {

Callers 6

getCellTextByIndexMethod · 0.95
getEditCellFunction · 0.45
getRowCellsFunction · 0.45

Calls 2

locatorForAllMethod · 0.80
withMethod · 0.45

Tested by 2

getEditCellFunction · 0.36
getRowCellsFunction · 0.36