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
This query uses a predicate that is typically too general to give meaningful results. Therefore, it's better to use one of the following options:
314
+
* use one of [`ByRole`](#byrole) queries with relevant state options: `disabled`, `selected`, `checked`, `expanded` and `busy`
315
+
* use [`toHaveAccessibilityState()`](https://github.com/testing-library/jest-native#tohaveaccessibilitystate) matcher to check the state of element found using some other query
@@ -366,6 +372,13 @@ The difference in handling default values is made to reflect observed accessibil
366
372
367
373
### `ByA11Value`, `ByAccessibilityValue`
368
374
375
+
:::caution
376
+
This query uses a predicate that is typically too general to give meaningful results. Therefore, it's better to use one of the following options:
377
+
* use one of [`ByRole`](#byrole) queries with `value` option
378
+
* use [`toHaveAccessibilityValue()`](https://github.com/testing-library/jest-native#tohaveaccessibilityvalue) matcher to check the state of element found using some other query
0 commit comments