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
These allow you to assert whether the given element is checked or partially checked from the user's perspective. It relies on the accessibility checked state as set by `aria-checked` or `accessibilityState.checked` props.
145
145
146
146
:::note
147
-
148
147
-`toBeChecked()` matcher works only on elements with the `checkbox` or `radio` role.
149
148
-`toBePartiallyChecked()` matcher works only on elements with the `checkbox` role.
0 commit comments