You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sikelerd opened this issue
Jan 13, 2022
· 1 comment
· Fixed by #24212
Assignees
Labels
featureThis issue represents a new feature or feature request rather than a bug or bug fixP3An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
This feature improves the test usability and hides implementation details.
The text was updated successfully, but these errors were encountered:
sikelerd
added
feature
This issue represents a new feature or feature request rather than a bug or bug fix
needs triage
This issue needs to be triaged by the team
labels
Jan 13, 2022
crisbeto
added
has pr
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
and removed
needs triage
This issue needs to be triaged by the team
labels
Jan 15, 2022
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
Jan 15, 2022
Currently only the selection list option has an `isDisabled` method, even though all item variants can be disabled. These changes move the method to the base class.
Fixesangular#24200.
Currently only the selection list option has an `isDisabled` method, even though all item variants can be disabled. These changes move the method to the base class.
Fixes#24200.
…r#24212)
Currently only the selection list option has an `isDisabled` method, even though all item variants can be disabled. These changes move the method to the base class.
Fixesangular#24200.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
featureThis issue represents a new feature or feature request rather than a bug or bug fixP3An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
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.
The text was updated successfully, but these errors were encountered: