-
Notifications
You must be signed in to change notification settings - Fork 273
Comparing changes
Open a pull request
base repository: callstack/react-native-testing-library
base: v12.3.0
head repository: callstack/react-native-testing-library
compare: v12.3.1
- 16 commits
- 49 files changed
- 10 contributors
Commits on Sep 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8373d6a - Browse repository at this point
Copy the full SHA 8373d6aView commit details
Commits on Sep 8, 2023
-
feat: implement
toBeSelected
matcher (#1488)* feat: implement toBeSelected * refactor: tweaks * refactor: tweak tests * refactor: finishing touches --------- Co-authored-by: Maciej Jastrzębski <mdjastrzebski@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 1592d35 - Browse repository at this point
Copy the full SHA 1592d35View commit details
Commits on Sep 12, 2023
-
feat:
toBeBusy()
matcher (#1493)* feat: create always passing toBeBusy() matcher * test: prepare toBeBusy() tests * feat: implement toBeBusy() passing condition * feat: implement error message * test: update error message snapshots to correct format * refactor: use screen variable * refactor: tweaks * refactor: cleanup * refactor: clean up * refactor: finishing touches --------- Co-authored-by: Maciej Jastrzębski <mdjastrzebski@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 701433c - Browse repository at this point
Copy the full SHA 701433cView commit details -
feat:
toHaveStyle
matcher (#1487)* feat: implement toHaveStyle with tests * refactor: tweaks and cleanup --------- Co-authored-by: Marcin Kornek <7931279+marcinkornek@users.noreply.github.com> Co-authored-by: Maciej Jastrzebski <mdjastrzebski@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 3b9c4da - Browse repository at this point
Copy the full SHA 3b9c4daView commit details
Commits on Sep 13, 2023
-
feat: user event scroll (#1445)
* feat: setup dummy scroll endpoint * chore: use ScrollEventBuilder * chore: enhance API endpoint with parameters * chore: emit multiple scroll events * fix: intermediate steps offset values * feat: momentum scroll * chore: add scroll to userEvent * feat: scrollToTop * feat: remember scroll position for element * fix: setting and getting scroll state * chore: validate host component type * chore: validate and emit intermediate callbacks in scrollToTop * chore: fix ts * refactor: rename scroll to scrollTo * refactor: y & x scrollTo params * refactor: refactor y, x params to support explicit steps * chore: fix typecheck * refactor: improve typing * refactor: momentumY, momentumX options * docs: initial docs for `scrollTo` * refactor: descope `scrollToTop` variant * docs: tweaks * refactor: improve TS typing by separating vertical/horizontal scroll * refactor: wrap scroll event in nativeEvent wrapper * refactor: clean up implementation * chore: add FlatList tests * refactor: remove explicit steps * refactor: introduce inertial interpolator for momentum scroll * docs: update docs * chore: update snapshots * refactor: code review changes * feat: validate scroll direction * docs: tweaks * docs: tweak * refactor: add more tests to improve code cov * refactor: improve errors * refactor: code review tweaks * refactor: add wait calls * refactor: tweaks, tweaks, tweaks * refactor: final tweaks --------- Co-authored-by: Maciej Jastrzębski <mdjastrzebski@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for a7ea95d - Browse repository at this point
Copy the full SHA a7ea95dView commit details
Commits on Sep 15, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a016062 - Browse repository at this point
Copy the full SHA a016062View commit details
Commits on Sep 18, 2023
-
chore: update deps 2023-09-18 (#1499)
* chore: upgrade example/basic deps * chore: update some deps * chore: upgrade other deps * chore: fix lint * chore: yarn upgrade (partial) * chore: yarn upgrade (partial 2) * chore: yarn upgrade (partial) * chore: yarn upgrade (partial) * chore: yarn upgrade (partial) * chore: yarn upgrade react-native * chore: upgrade rest (ex react-test-renderer)
Configuration menu - View commit details
-
Copy full SHA for 08e4d02 - Browse repository at this point
Copy the full SHA 08e4d02View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a12847 - Browse repository at this point
Copy the full SHA 7a12847View commit details -
docs: note required RNTL version for user-event in user-event.md (#1494)
* docs: note required RNTL version for user-event in user-event.md * chore: tweak wording * chore: tweak * chore: tweaks --------- Co-authored-by: Maciej Jastrzebski <mdjastrzebski@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for f538029 - Browse repository at this point
Copy the full SHA f538029View commit details
Commits on Sep 19, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d36137b - Browse repository at this point
Copy the full SHA d36137bView commit details -
feat:
toContainElement
matcher (#1495)* feat: add toContainElement matcher * chore: replace printElement with formatElement * chore: mimic jest-dom instead of jest-native * fix: checking host element * test: passing null as argument * chore: rename basic test case * test: negative case * test: on null elements * fix: validating host container and element * refactor: code review changes * refactor: tweaks * refactors: cleanup --------- Co-authored-by: Maciej Jastrzebski <mdjastrzebski@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for d898a9d - Browse repository at this point
Copy the full SHA d898a9dView commit details -
feat:
toBeExpanded
matcher (#1497)* feat: toBeExpanded matcher * feat: toBeCollapsed matcher * chore: shorten syntax for isElementCollapsed check * refactor: clean up --------- Co-authored-by: Maciej Jastrzebski <mdjastrzebski@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for a9f32a6 - Browse repository at this point
Copy the full SHA a9f32a6View commit details
Commits on Oct 12, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 32dca59 - Browse repository at this point
Copy the full SHA 32dca59View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3be9f3b - Browse repository at this point
Copy the full SHA 3be9f3bView commit details
Commits on Oct 23, 2023
-
Fix: switch IS_REACT_ACT_ENVIRONMENT in userEvent (#1491)
* fix: use act in wait util * refactor: remove useless usage of act in press implem * refactor: make test fail by checking console.error is not called * refactor: extract async wrapper from waitFor implem * feat: use asyncWrapper for userEvent to prevent act warnings * refactor: add comment making test on act environment more explicit * refactor: move asyncWrapper to helper folder cause its not direclty tied to userevent * refactor: add comment in asyncWrapper * refactor: move UE `act` test to UE `press` tests * refactor: tweaks * refactor: naming tweaks * chore: revert unnecessary filename change * chore: exclude code cov for React <= 17 * chore: disable codecov for wrap-async --------- Co-authored-by: pierrezimmermann <pierrez@nam.tech> Co-authored-by: Maciej Jastrzebski <mdjastrzebski@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 328466d - Browse repository at this point
Copy the full SHA 328466dView commit details
Commits on Oct 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 798100b - Browse repository at this point
Copy the full SHA 798100bView commit details
There are no files selected for viewing