Returns a predicate to query for MatButtonHarness that contains a specific icon. Respects all filter options of MatButtonHarness itself, and adds the option to specify the name of an icon which must exist inside the button. If no icon name is specified, finds buttons with any icon.
Returns a predicate to query for
MatButtonHarness
that contains a specific icon. Respects all filter options ofMatButtonHarness
itself, and adds the option to specify the name of an icon which must exist inside the button. If no icon name is specified, finds buttons with any icon.