-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentfeatureThis issue represents a new feature or feature request rather than a bug or bug fixThis issue represents a new feature or feature request rather than a bug or bug fix
Description
Feature Description
MatListItem supports the Input disabled
but there is no easy way to test this. You have to know about the internals to test it.
expect(await (await matListItemHarness.host()).getCssValue('pointer-events')).toBe('none')
It would be nice to have a dedicated method like
expect(await matListItemHarness.isDisabled()).toBeTruthy()
Use Case
This feature improves the test usability and hides implementation details.
Metadata
Metadata
Assignees
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentfeatureThis issue represents a new feature or feature request rather than a bug or bug fixThis issue represents a new feature or feature request rather than a bug or bug fix