🦉 Simple and complete React Native testing utilities that encourage good testing practices.
MIT License
Bot releases are visible (Hide)
Published by mdjastrzebski about 1 year ago
clear()
for clearing content of TextInputs by @mdjastrzebski in https://github.com/callstack/react-native-testing-library/pull/1440
Full Changelog: https://github.com/callstack/react-native-testing-library/compare/v12.2.0...v12.2.1
Published by mdjastrzebski about 1 year ago
press()
, type()
- #1386, #1396, #1410 by @pierrezimmermannbam and @mdjastrzebskiFull Changelog: https://github.com/callstack/react-native-testing-library/compare/v12.1.3...v12.2.0
Published by mdjastrzebski about 1 year ago
Full Changelog: https://github.com/callstack/react-native-testing-library/compare/v12.1.2...v12.1.3
Published by mdjastrzebski over 1 year ago
onXxx
event name for TextInput event checks by @mdjastrzebski in https://github.com/callstack/react-native-testing-library/pull/1404
fireEvent
cleanup by @mdjastrzebski in https://github.com/callstack/react-native-testing-library/pull/1401
Full Changelog: https://github.com/callstack/react-native-testing-library/compare/v12.1.1...v12.1.2
Published by mdjastrzebski over 1 year ago
Full Changelog: https://github.com/callstack/react-native-testing-library/compare/v12.1.0...v12.1.1
Published by mdjastrzebski over 1 year ago
Full Changelog: https://github.com/callstack/react-native-testing-library/compare/v12.0.1...v12.1.0
Published by mdjastrzebski over 1 year ago
Full Changelog: https://github.com/callstack/react-native-testing-library/compare/v12.0.0...v12.0.1
Published by mdjastrzebski over 1 year ago
We have prepared v12 migration guide.
*ByRole
queries now return only accessibility elements*ByText
, *ByDisplayValue
, *ByPlaceholderText
queries now return host elementscontainer
API has been renamed to UNSAFE_root
, added safe root
APIhttps://github.com/callstack/react-native-testing-library/compare/v11.5.4...v12.0.0
Published by mdjastrzebski over 1 year ago
render
result by @mdjastrzebski in https://github.com/callstack/react-native-testing-library/pull/1362
Full Changelog: https://github.com/callstack/react-native-testing-library/compare/v11.5.3...v11.5.4
Published by mdjastrzebski over 1 year ago
AccessibilityState
when using skipLibCheck: false
resulting from migration from @types/react-native
to internal react-native
types (#1355) by @mdjastrzebski in https://github.com/callstack/react-native-testing-library/pull/1361
Full Changelog: https://github.com/callstack/react-native-testing-library/compare/v11.5.2...v11.5.3
Published by mdjastrzebski over 1 year ago
We have prepared v12 migration guide.
*ByRole
queries now return only accessibility elements*ByText
, *ByDisplayValue
, *ByPlaceholderText
queries now return host elementscontainer
API has been renamed to UNSAFE_root
, added safe root
APIhttps://github.com/callstack/react-native-testing-library/compare/v11.5.2...v12.0.0-rc.1
react-native
package by @mdjastrzebski in https://github.com/callstack/react-native-testing-library/pull/1355
https://github.com/callstack/react-native-testing-library/compare/v12.0.0-rc.1...v12.0.0-rc.2
Published by mdjastrzebski over 1 year ago
We have prepared v12 migration guide.
*ByRole
queries now return only accessibility elements*ByText
, *ByDisplayValue
, *ByPlaceholderText
queries now return host elementscontainer
API has been renamed to UNSAFE_root
, added safe root
APIhttps://github.com/callstack/react-native-testing-library/compare/v11.5.2...v12.0.0-rc.1
https://github.com/callstack/react-native-testing-library/compare/v12.0.0-rc.0...v12.0.0-rc.1
Published by mdjastrzebski over 1 year ago
We have prepared v12 migration guide.
*ByRole
queries now return only accessibility elements*ByText
, *ByDisplayValue
, *ByPlaceholderText
queries now return host elementscontainer
API has been renamed to UNSAFE_root
, added safe root
APIhttps://github.com/callstack/react-native-testing-library/compare/v11.5.2...v11.5.2...v12.0.0-rc.0
Published by mdjastrzebski over 1 year ago
act
wrapper around fireEvent
and other RNTL functions by @pierrezimmermannbam and @mdjastrzebski in https://github.com/callstack/react-native-testing-library/pull/1306
Full Changelog: https://github.com/callstack/react-native-testing-library/compare/v11.5.1...v11.5.2
Published by mdjastrzebski over 1 year ago
accessibilityLabelledBy
in *ByLabelText
queries by @pafry7 in https://github.com/callstack/react-native-testing-library/pull/1191
await act
by @mdjastrzebski in https://github.com/callstack/react-native-testing-library/pull/1293
Full Changelog: https://github.com/callstack/react-native-testing-library/compare/v11.5.0...v11.5.1
Published by mdjastrzebski almost 2 years ago
includeHiddenElements
query option to include/exclude elements hidden by accessibility by @MattAgn in #1064value
option for *ByRole
query by @mdjastrzebski in https://github.com/callstack/react-native-testing-library/pull/1210
*ByText
is now able to match text across nested Text
components by @mdjastrzebski in #1222
*ByText
queries only matching non-nested text content, then you might need to update them, e.g. by using { exact: false }
query option.inInaccessible
helper -> isHiddenFromAccessibility
(old name still available as RTL-compat alias) by @mdjastrzebski in https://github.com/callstack/react-native-testing-library/pull/1211
hidden
query option alias for includeHiddenElements
by @MattAgn in #1220Full Changelog: https://github.com/callstack/react-native-testing-library/compare/v11.4.0...v11.5.0
Published by mdjastrzebski almost 2 years ago
Full Changelog: https://github.com/callstack/react-native-testing-library/compare/v11.3.0...v11.4.0
Published by mdjastrzebski almost 2 years ago
Full Changelog: https://github.com/callstack/react-native-testing-library/compare/v11.2.0...v11.3.0
Published by mdjastrzebski about 2 years ago
name
option in *ByRole
queries by @AugustinLF and @kiranjd #1127isInaccessible
API (compat. with React Testing Library) by @mdjastrzebski #1128Text
component by @pierrezimmermannbam #1070act()
warnings when using React 18 by @AugustinLF #1131Full Changelog: https://github.com/callstack/react-native-testing-library/compare/v11.1.0...v11.2.0
Published by thymikee about 2 years ago
conventional-changelog-cli
to update deep deps by @mdjastrzebski in https://github.com/callstack/react-native-testing-library/pull/1109
Full Changelog: https://github.com/callstack/react-native-testing-library/compare/v11.0.0...v11.1.0