Michał Pierzchała
0aa9465856
v7.0.2
v7.0.2
2020-08-16 21:28:12 +02:00
AugustinLF
9f6ca56ac0
fix: Return closest Text matching a query ( #489 )
...
* fix: Return closest Text matching a query
* Add test for another edge case
* Fix whitespaces
* adjust comment
* Update src/helpers/getByAPI.js
Co-authored-by: Maciej Jastrzebski <mdjastrzebski@gmail.com >
* update test
* use queryBy
Co-authored-by: Michał Pierzchała <thymikee@gmail.com >
Co-authored-by: Maciej Jastrzebski <mdjastrzebski@gmail.com >
2020-08-16 21:26:29 +02:00
dependabot-preview[bot]
2536b8b5a0
chore(deps-dev): bump @babel/preset-env from 7.10.2 to 7.11.0
...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.10.2 to 7.11.0.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.11.0/packages/babel-preset-env )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-08-12 17:03:32 +00:00
dependabot-preview[bot]
74603064a0
chore(deps-dev): bump eslint from 7.5.0 to 7.6.0
...
Bumps [eslint](https://github.com/eslint/eslint ) from 7.5.0 to 7.6.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v7.5.0...v7.6.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-08-12 16:58:46 +00:00
dependabot-preview[bot]
9576807a5d
chore(deps-dev): bump @babel/core from 7.10.4 to 7.11.1
...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.10.4 to 7.11.1.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.11.1/packages/babel-core )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-08-12 16:55:45 +00:00
dependabot-preview[bot]
5f7546430c
chore(deps-dev): bump @babel/cli from 7.10.4 to 7.10.5
...
Bumps [@babel/cli](https://github.com/babel/babel/tree/HEAD/packages/babel-cli ) from 7.10.4 to 7.10.5.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.10.5/packages/babel-cli )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-08-12 16:55:26 +00:00
dependabot-preview[bot]
ce46e0d4a3
chore(deps-dev): bump @types/react-test-renderer from 16.9.2 to 16.9.3
...
Bumps [@types/react-test-renderer](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-test-renderer ) from 16.9.2 to 16.9.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-test-renderer )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-08-12 16:55:20 +00:00
dependabot-preview[bot]
a8659d07f6
chore(deps-dev): bump release-it from 13.6.5 to 13.6.6
...
Bumps [release-it](https://github.com/release-it/release-it ) from 13.6.5 to 13.6.6.
- [Release notes](https://github.com/release-it/release-it/releases )
- [Changelog](https://github.com/release-it/release-it/blob/master/CHANGELOG.md )
- [Commits](https://github.com/release-it/release-it/compare/13.6.5...13.6.6 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-08-12 16:55:13 +00:00
Michał Pierzchała
ae342120db
chore: bump jest to 26.3 ( #503 )
2020-08-12 18:50:29 +02:00
Michał Pierzchała
1ec340c8a0
docs: adjust wording around debug ( #502 )
2020-08-12 18:48:37 +02:00
Alireza Ghamkhar
6bf86f915f
Fix the type bug for queryAllByTestId ( #498 )
2020-08-11 17:41:02 +02:00
dependabot[bot]
17d5165980
chore(deps): bump prismjs from 1.20.0 to 1.21.0 in /website ( #490 )
...
Bumps [prismjs](https://github.com/PrismJS/prism ) from 1.20.0 to 1.21.0.
- [Release notes](https://github.com/PrismJS/prism/releases )
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md )
- [Commits](https://github.com/PrismJS/prism/compare/v1.20.0...v1.21.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-10 10:57:53 +02:00
dependabot-preview[bot]
2733eff601
chore(deps-dev): bump @types/react-native from 0.63.2 to 0.63.6 ( #492 )
...
Bumps [@types/react-native](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-native ) from 0.63.2 to 0.63.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-native )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-08-10 10:57:33 +02:00
Alireza Ghamkhar
aa285a06f7
docs: add a new link to External Resources ( #491 )
...
This is a youtube tutorial on a simple setup and usage for React Native Testing Library & Jest Native
2020-08-10 10:52:37 +02:00
Michał Pierzchała
292e883611
v7.0.1
v7.0.1
2020-07-31 10:35:11 +02:00
Maciej Jastrzebski
00a50a89b3
fix: fire event should not throw for disabled handler ( #470 )
...
* updated tests
* feat: implement behavior chage
* code review changes
* refactor: more strict test conditions
2020-07-31 10:34:00 +02:00
dependabot-preview[bot]
a766905183
chore(deps-dev): bump @types/react-native from 0.63.1 to 0.63.2 ( #454 )
...
Bumps [@types/react-native](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-native ) from 0.63.1 to 0.63.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-native )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-30 23:49:20 +02:00
Michał Pierzchała
cc5ef6c626
v7.0.0
v7.0.0
2020-07-30 16:18:25 +02:00
Michał Pierzchała
0e3f654b27
docs: small amendments to the migration guide
2020-07-30 16:13:15 +02:00
Michał Pierzchała
aa411c0d79
docs: refresh readme and getting started guide
2020-07-30 16:13:15 +02:00
Nick McCurdy
7909558763
docs: fix typo in migration v7 doc ( #465 )
2020-07-30 16:13:15 +02:00
Maciej Jastrzebski
9de58e845b
fix: added migration guide v7 to website sidebar ( #464 )
2020-07-30 16:13:15 +02:00
Maciej Jastrzebski
f971c244cb
Added migration v7 link to README
2020-07-30 16:13:15 +02:00
Michał Pierzchała
3c0a2ecf02
chore(breaking): rename to @testing-library/react-native ( #463 )
2020-07-30 16:13:15 +02:00
Maciej Jastrzebski
5adf148de5
feat: prevent events on disabled elements ( #460 )
...
* feat: add tests
* feat: prevent event handling on disabled element
* refactor: code cleanup
* feat: use props.onStartShouldSetResponder to check for event handling
* refactor: code review changes
* feat: updated docs
* feat: added test for fake 'disabled' prop
2020-07-30 16:13:15 +02:00
Maciej Jastrzebski
37f0c42a1f
fix: update package name in docs ( #462 )
...
* fix: package reference in docs
* fix: more references to package name
* Update README.md
Co-authored-by: Michał Pierzchała <thymikee@gmail.com >
* Update website/docs/GettingStarted.md
Co-authored-by: Michał Pierzchała <thymikee@gmail.com >
* Update website/docs/API.md
Co-authored-by: Michał Pierzchała <thymikee@gmail.com >
2020-07-30 16:13:15 +02:00
Maciej Jastrzebski
3f88cacbc6
feat: add getQueriesForElement alias to within ( #461 )
...
* feat: getQueriesForElement alias implementation & test
* feat: added typescript types and tests
* feat: updated docs
2020-07-30 16:13:15 +02:00
Michał Pierzchała
ae5f9d8e97
docs: add migration to v7 guide ( #456 )
...
* docs: add migration to v7 guide
* adjust note about ByTitle because there's no host Button component
* add fire event section
* mention NativeTestInstance and container
* Update website/docs/MigrationV7.md
Co-authored-by: Maciej Jastrzebski <mdjastrzebski@gmail.com >
* Update website/docs/MigrationV7.md
Co-authored-by: Maciej Jastrzebski <mdjastrzebski@gmail.com >
* Update website/docs/MigrationV7.md
Co-authored-by: Maciej Jastrzebski <mdjastrzebski@gmail.com >
* Update website/docs/MigrationV7.md
Co-authored-by: Maciej Jastrzebski <mdjastrzebski@gmail.com >
Co-authored-by: Maciej Jastrzebski <mdjastrzebski@gmail.com >
2020-07-30 16:13:15 +02:00
Michał Pierzchała
6d63a4f29e
feat(breaking): rename ByPlaceholder to ByPlaceholderText ( #455 )
2020-07-30 16:13:15 +02:00
dependabot-preview[bot]
7feab6c6da
chore(deps-dev): bump @testing-library/jest-native from 3.1.0 to 3.3.0 ( #466 )
...
Bumps [@testing-library/jest-native](https://github.com/testing-library/jest-native ) from 3.1.0 to 3.3.0.
- [Release notes](https://github.com/testing-library/jest-native/releases )
- [Changelog](https://github.com/testing-library/jest-native/blob/master/CHANGELOG.md )
- [Commits](https://github.com/testing-library/jest-native/compare/v3.1.0...v3.3.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-30 13:06:13 +02:00
dependabot[bot]
85f8eff060
chore(deps): bump elliptic from 6.5.2 to 6.5.3 in /website ( #467 )
...
Bumps [elliptic](https://github.com/indutny/elliptic ) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases )
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-30 13:05:47 +02:00
Michał Pierzchała
9a13eccdad
v2.2.0
v2.2.0
2020-07-30 13:00:26 +02:00
dependabot-preview[bot]
64759e1f9b
chore(deps-dev): bump react-native from 0.63.1 to 0.63.2 ( #451 )
...
Bumps [react-native](https://github.com/facebook/react-native ) from 0.63.1 to 0.63.2.
- [Release notes](https://github.com/facebook/react-native/releases )
- [Changelog](https://github.com/facebook/react-native/blob/master/Releases.md )
- [Commits](https://github.com/facebook/react-native/compare/v0.63.1...v0.63.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-23 23:24:05 +02:00
dependabot[bot]
f0c7b0cce8
chore(deps): bump lodash from 4.17.15 to 4.17.19 in /website ( #441 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-21 15:47:47 +02:00
dependabot-preview[bot]
d640137ee6
chore(deps-dev): bump eslint from 7.4.0 to 7.5.0 ( #449 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 7.4.0 to 7.5.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v7.4.0...v7.5.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-21 15:47:35 +02:00
dependabot-preview[bot]
3d92507b72
chore(deps-dev): bump @callstack/eslint-config from 10.0.0 to 10.0.1 ( #448 )
...
Bumps [@callstack/eslint-config](https://github.com/callstack/eslint-config-callstack ) from 10.0.0 to 10.0.1.
- [Release notes](https://github.com/callstack/eslint-config-callstack/releases )
- [Commits](https://github.com/callstack/eslint-config-callstack/compare/v10.0.0...v10.0.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-21 15:47:20 +02:00
dependabot-preview[bot]
8297258be0
chore(deps-dev): bump typescript from 3.9.6 to 3.9.7 ( #444 )
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 3.9.6 to 3.9.7.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.9.6...v3.9.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-21 15:47:06 +02:00
Ryan Wessel
61359c70e6
feat: introduce ByLabelText, ByRole and ByHintText a11y aliases ( #445 )
...
* feat: Add alias accessibilityLabel queries to assist in migrating from @testing-library/react-native
* feat: Add alias accessibilityHint queries to assist in migrating from @testing-library/react-native
* feat: Add alias accessibilityRole queries to assist in migrating from @testing-library/react-native
* feat: Add to A11yAPI types to include the newly-aliased queries for label, hint, and role
* test: Add tests for newly-aliased label, hint, and role a11y queries
* test: Add newly-alised a11y queries to the index typings test file
* docs: Add query aliases for testing library migrators to Queries documentation
* test: Consolidate aliased query tests into shared tests. FIXME's where there are errors
* test: Update a11yAPI tests to assert referential equality for query aliases
* refactor: apply Prettier formatting to a11yAPI test file
* fix: address typos in CONTRIBUTING.md
* test: Separate referential quality assertion tests for query aliases into their own tests
Co-authored-by: Ryan Wessel <rwessel@dataminr.com >
2020-07-21 15:46:06 +02:00
Steve Galili
1537de317d
docs: add links to external resources in the README ( #446 )
...
* Update README.md
* Update README.md
2020-07-21 10:15:44 +02:00
Michał Pierzchała
d84f8f8e2c
Release 2.1.1
v2.1.1
2020-07-16 15:07:40 +02:00
Kadi Kraman
5ed2b8bcd5
fix: add a @ts-ignore for AccessibilityStates to support types for RN0.62+ ( #440 )
2020-07-16 15:05:53 +02:00
dependabot-preview[bot]
0de5c1de7a
chore(deps-dev): bump @types/react-native from 0.63.0 to 0.63.1 ( #437 )
...
Bumps [@types/react-native](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-native ) from 0.63.0 to 0.63.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-native )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-15 10:20:07 +02:00
dependabot-preview[bot]
a4ff8a7ae9
chore(deps-dev): bump react-native from 0.63.0 to 0.63.1 ( #436 )
...
Bumps [react-native](https://github.com/facebook/react-native ) from 0.63.0 to 0.63.1.
- [Release notes](https://github.com/facebook/react-native/releases )
- [Changelog](https://github.com/facebook/react-native/blob/master/Releases.md )
- [Commits](https://github.com/facebook/react-native/compare/v0.63.0...v0.63.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-15 10:19:56 +02:00
dependabot-preview[bot]
f6af344b48
chore(deps-dev): bump @types/react-native from 0.62.18 to 0.63.0 ( #435 )
...
Bumps [@types/react-native](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-native ) from 0.62.18 to 0.63.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-native )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-14 12:09:12 +02:00
dependabot-preview[bot]
6cd8ce9a99
chore(deps-dev): bump @babel/core from 7.10.2 to 7.10.4 ( #416 )
...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.10.2 to 7.10.4.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.10.4/packages/babel-core )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-13 10:27:15 +02:00
dependabot-preview[bot]
4804a07619
chore(deps-dev): bump @types/react-native from 0.62.16 to 0.62.18 ( #432 )
...
Bumps [@types/react-native](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-native ) from 0.62.16 to 0.62.18.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-native )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-13 10:26:56 +02:00
dependabot-preview[bot]
0560c6b975
chore(deps-dev): bump @types/react from 16.9.41 to 16.9.43 ( #434 )
...
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ) from 16.9.41 to 16.9.43.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-13 10:26:44 +02:00
dependabot-preview[bot]
fd4be7b284
chore(deps-dev): bump react-native from 0.63.0-rc.1 to 0.63.0 ( #433 )
...
Bumps [react-native](https://github.com/facebook/react-native ) from 0.63.0-rc.1 to 0.63.0.
- [Release notes](https://github.com/facebook/react-native/releases )
- [Changelog](https://github.com/facebook/react-native/blob/master/Releases.md )
- [Commits](https://github.com/facebook/react-native/compare/v0.63.0-rc.1...v0.63.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-13 10:26:16 +02:00
dependabot-preview[bot]
23b45c3591
chore(deps-dev): bump @babel/cli from 7.10.1 to 7.10.4 ( #415 )
...
Bumps [@babel/cli](https://github.com/babel/babel/tree/HEAD/packages/babel-cli ) from 7.10.1 to 7.10.4.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.10.4/packages/babel-cli )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-10 16:26:51 +02:00
dependabot-preview[bot]
535fc75d81
chore(deps-dev): bump @babel/preset-react from 7.10.1 to 7.10.4 ( #419 )
...
Bumps [@babel/preset-react](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-react ) from 7.10.1 to 7.10.4.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.10.4/packages/babel-preset-react )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-10 16:26:37 +02:00