🦉 Simple and complete React Native testing utilities that encourage good testing practices.
*ByRole
TypeScript hints by @mdjastrzebski in https://github.com/callstack/react-native-testing-library/pull/1596
act
usage by @mdjastrzebski in https://github.com/callstack/react-native-testing-library/pull/1592
findBy*
timeout with detached screen by @mdjastrzebski in https://github.com/callstack/react-native-testing-library/pull/1576
Full Changelog: https://github.com/callstack/react-native-testing-library/compare/v12.4.4...v12.4.5
Full Changelog: https://github.com/callstack/react-native-testing-library/compare/v12.4.3...v12.4.4
Full Changelog: https://github.com/callstack/react-native-testing-library/compare/v12.4.2...v12.4.3
contentSize
and layoutMeasurement
when calling scrollTo
by @j-piasecki in https://github.com/callstack/react-native-testing-library/pull/1543
Full Changelog: https://github.com/callstack/react-native-testing-library/compare/v12.4.1...v12.4.2
Full Changelog: https://github.com/callstack/react-native-testing-library/compare/v12.4.0...v12.4.1
toHaveTextContent
matcher #1461 by @mdjastrzebskitoBeEmptyElement
matcher #1462 by @kyawthura-ggtoHaveDisplayValue
matcher #1463 by @jaworek & @mdjastrzebskitoBeVisible
matcher #1465 by @thiagobreztoBeEnabled
& toBeDisabled
matchers #1469 by @jaworektoHaveProp
matcher #1477 by @AntoineThibitoBeChecked
& toBePartiallyChecked
matchers #1479 by @kyawthura-ggtoHaveStyle
matcher #1487 by @marcinkornektoBeSelected
matcher #1488 by @AntoineThibitoBeBusy
matcher #1493 by @hduprattoContainElement
matcher #1495 by @siepratoHaveAccessibilityValue
matcher #1496 by @tarunrajputtoBeExpanded
& toBeCollapsed
matchers #1497 by @siepratoHaveAccessibleName
matcher #1509 by @anishamaldeFull Changelog: https://github.com/callstack/react-native-testing-library/compare/v12.3.3...v12.4.0
Full Changelog: https://github.com/callstack/react-native-testing-library/compare/v12.3.2...v12.3.3
Improvements:
Full Changelog: https://github.com/callstack/react-native-testing-library/compare/v12.3.1...v12.3.2
scrollBy
@siepra in https://github.com/callstack/react-native-testing-library/pull/1445
Full Changelog: https://github.com/callstack/react-native-testing-library/compare/v12.3.0...v12.3.1