We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbdc1a8 commit 5df0916Copy full SHA for 5df0916
src/cdk/testing/test-harnesses.md
@@ -460,7 +460,7 @@ class MyMenuHarness extends ComponentHarness {
460
461
/** Gets a list of items in the menu, optionally filtered based on the given criteria. */
462
async getItems(filters: MyMenuItemHarnessFilters = {}): Promise<MyMenuItemHarness[]> {
463
- const getFilteredItems = this.locatorFor(MyMenuItemHarness.with(filters));
+ const getFilteredItems = this.locatorForAll(MyMenuItemHarness.with(filters));
464
return getFilteredItems();
465
}
466
0 commit comments