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
toBeVisible is a Jest DOM matcher that asserts the visibility of given element by inspecting various CSS styles and other semantic attributes that might make element invisible.
Adapting it to our case it would assert the value in TextInput host elements, to match given value.
Describe the Feature
toBeVisible
is a Jest DOM matcher that asserts the visibility of given element by inspecting various CSS styles and other semantic attributes that might make element invisible.Adapting it to our case it would assert the value in
TextInput
host elements, to match given value.Possible Implementations
Proposed API:
The matcher should:
Each matcher should have a fairly comprehensive test suite.
Open Questions:
Links
toBeVisible
matcher code from Jest DOM: https://github.com/testing-library/jest-dom/blob/main/src/to-be-visible.jstoBeVisible
implementation for Jest Native: https://github.com/testing-library/jest-native/blob/main/src/to-be-visible.tsRelated Issues
#1454
The text was updated successfully, but these errors were encountered: