Commit Graph

1136 Commits

Author SHA1 Message Date
dependabot[bot] c914aa85c4 chore(deps): bump eventsource from 1.0.7 to 1.1.1 in /website (#985)
Bumps [eventsource](https://github.com/EventSource/eventsource) from 1.0.7 to 1.1.1.
- [Release notes](https://github.com/EventSource/eventsource/releases)
- [Changelog](https://github.com/EventSource/eventsource/blob/master/HISTORY.md)
- [Commits](https://github.com/EventSource/eventsource/compare/v1.0.7...v1.1.1)

---
updated-dependencies:
- dependency-name: eventsource
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-09 10:33:31 +02:00
dependabot[bot] bfdaabc3e6 chore(deps-dev): bump @callstack/eslint-config from 11.0.0 to 12.0.2 (#950)
* chore(deps-dev): bump @callstack/eslint-config from 11.0.0 to 12.0.2

Bumps [@callstack/eslint-config](https://github.com/callstack/eslint-config-callstack) from 11.0.0 to 12.0.2.
- [Release notes](https://github.com/callstack/eslint-config-callstack/releases)
- [Commits](https://github.com/callstack/eslint-config-callstack/compare/v11.0.0...v12.0.2)

---
updated-dependencies:
- dependency-name: "@callstack/eslint-config"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: disable a11y eslint rules

* fix: formatting

* fix: flowcheck

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Maciej Jastrzebski <mdjastrzebski@gmail.com>
2022-08-09 10:31:31 +02:00
dependabot[bot] 6788992821 chore(deps-dev): bump @babel/plugin-proposal-class-properties (#1005)
Bumps [@babel/plugin-proposal-class-properties](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-proposal-class-properties) from 7.14.5 to 7.18.6.
- [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.18.6/packages/babel-plugin-proposal-class-properties)

---
updated-dependencies:
- dependency-name: "@babel/plugin-proposal-class-properties"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-09 10:11:31 +02:00
dependabot[bot] bb533f0dbd chore(deps-dev): bump conventional-changelog-cli from 2.1.1 to 2.2.2 (#948)
Bumps [conventional-changelog-cli](https://github.com/conventional-changelog/conventional-changelog) from 2.1.1 to 2.2.2.
- [Release notes](https://github.com/conventional-changelog/conventional-changelog/releases)
- [Changelog](https://github.com/conventional-changelog/conventional-changelog/blob/master/.release-please-manifest.json)
- [Commits](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-cli@2.1.1...conventional-changelog-cli-v2.2.2)

---
updated-dependencies:
- dependency-name: conventional-changelog-cli
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-09 10:09:08 +02:00
dependabot[bot] 6ba1d382e8 chore(deps): bump terser from 4.6.13 to 4.8.1 in /website (#1016)
Bumps [terser](https://github.com/terser/terser) from 4.6.13 to 4.8.1.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-09 10:08:40 +02:00
dependabot[bot] 2f3bdbe53d chore(deps): bump trim-off-newlines from 1.0.1 to 1.0.3 (#946) 2022-08-08 16:19:40 +02:00
dependabot[bot] 41b1f0f0ee chore(deps): bump async from 2.6.3 to 2.6.4 in /website (#961) 2022-08-08 16:18:51 +02:00
HeeCheolKim cdfe1bde4c Update README.md (#1036) 2022-08-08 16:01:00 +02:00
dependabot[bot] 11f349276a chore(deps): bump shell-quote from 1.7.2 to 1.7.3 (#1033) 2022-08-03 09:41:44 +02:00
dependabot[bot] ca23baf1d5 chore(deps): bump node-fetch from 2.6.1 to 2.6.7 (#945) 2022-08-03 09:20:37 +02:00
dependabot[bot] b910bef5a4 chore(deps-dev): bump @babel/core from 7.17.8 to 7.18.10 (#1031)
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.17.8 to 7.18.10.
- [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.18.10/packages/babel-core)

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-02 11:56:25 +02:00
dependabot[bot] dc5e4cadcc chore(deps-dev): bump @babel/preset-typescript from 7.17.12 to 7.18.6 (#1027)
Bumps [@babel/preset-typescript](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-typescript) from 7.17.12 to 7.18.6.
- [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.18.6/packages/babel-preset-typescript)

---
updated-dependencies:
- dependency-name: "@babel/preset-typescript"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-02 11:37:25 +02:00
dependabot[bot] 5489e68e92 chore(deps-dev): bump @testing-library/jest-native from 4.0.4 to 4.0.5 (#1028)
Bumps [@testing-library/jest-native](https://github.com/testing-library/jest-native) from 4.0.4 to 4.0.5.
- [Release notes](https://github.com/testing-library/jest-native/releases)
- [Changelog](https://github.com/testing-library/jest-native/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-native/compare/v4.0.4...v4.0.5)

---
updated-dependencies:
- dependency-name: "@testing-library/jest-native"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-02 11:35:32 +02:00
Maciej Jastrzebski df58bf6f2f Tweak Dependabot settings 2022-08-02 11:34:07 +02:00
Maciej Jastrzebski 038ae4a09e feature: basic example app (#1025) 2022-07-28 10:24:28 +02:00
Maciej Jastrzebski 7dd403b2ea refactor: update example apps (#1024) 2022-07-26 14:55:24 +02:00
Maciej Jastrzebski 14dba849d7 docs: v11 migration changelog link (#1023) 2022-07-25 18:13:19 +02:00
Zolboobayar 4ee53422e0 fix(docs): typo in v11 migration guide title (#1022) v11.0.0 2022-07-25 17:58:46 +02:00
Maciej Jastrzebski a80e0c338b docs: v11 migration guide (#1021)
* docs: v11 migration guide

* docs: tweaks

* docs: more tweaks

* tweaks
2022-07-25 16:23:57 +02:00
Michał Pierzchała e85aa187e1 chore: upgrade pretty-format to v28 to match Jest deps (#1019)
* v11.0.0-rc.0

* chore: upgrade pretty-format to v28 to match Jest deps
2022-07-21 09:31:29 +02:00
Michał Pierzchała 6a65ed3294 v11.0.0-rc.0 v11.0.0-rc.0 2022-07-20 14:46:15 +02:00
Maciej Jastrzebski ade9f33986 refactor: remove legacy wait for options support (#1018) 2022-07-20 14:32:37 +02:00
Maciej Jastrzebski 980b3df440 chore: reenable skipped byText tests (#1017) 2022-07-20 14:08:57 +02:00
Maciej Jastrzebski 9f3b31dd9d refactor: remove deprecated byA11yStates queries (#1015) 2022-07-20 12:33:19 +02:00
MattAgn 74318854b9 Organise a11y queries by predicate (#977)
* refactor: make Options generic type optionnal in queries

* refactor: extract byLabelText queries and its tests

* refactor: extract byA11yHint queries and its tests

* refactor: extract byRole queries and its tests

* refactor: extract byA11yState queries and its tests

* refactor: extract byA11yValue queries and its tests

* refactor: extract byA11yStates queries and its tests

* refactor: harmonize component declaration in queries testsx

* refactor: simplify error helpers in queries tests

* refactor: make error helpers more explicit

* chore: remove now unused makeA11yQueries

* refactor: rename AccessibilityStateKeyQueryParam to AccessibilityStateKeys

* refactor: rename param in a11yStates

* refactor: simplify matchObject

* refactor: fix namings in labelText

* refactor: fix namings in a11yHint

* refactor: fix queryAll namings'

* refactor: fix some namings in a11yState

* refactor: fix some namings in role

* refactor: fix some namings in a11yValue

* refactor: extract matchStringValue

* refactor: extract matchObject

* refactor: extract matchArrayValue

* test: add tests for the matchers

* refactor: simplify matchArrayValue to make it more explicit

* refactor: reorder imports and object keys

* refactor: update types

* refactor: small tweaks

* refactor: tweaks

* refactor: clarify matcher naming

* refactor: add missing aliases

* chore: fix ci timeout

* chore: revert jest timeout increase

* chore: revert timeout increase

* chore: fix ci tests

* chore: re-enable disabled tests

* chore: reduce jest paralelizaiton

* chore: ci tweaks

Co-authored-by: Maciej Jastrzebski <mdjastrzebski@gmail.com>
2022-07-20 11:37:04 +02:00
dependabot[bot] 986a02918d chore(deps): bump plist from 3.0.4 to 3.0.6 (#1011)
Bumps [plist](https://github.com/TooTallNate/node-plist) from 3.0.4 to 3.0.6.
- [Release notes](https://github.com/TooTallNate/node-plist/releases)
- [Changelog](https://github.com/TooTallNate/plist.js/blob/master/History.md)
- [Commits](https://github.com/TooTallNate/node-plist/commits)

---
updated-dependencies:
- dependency-name: plist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-19 12:03:08 +02:00
dependabot[bot] 40b6c9a936 chore(deps-dev): bump @babel/cli from 7.15.7 to 7.18.9 (#1014)
Bumps [@babel/cli](https://github.com/babel/babel/tree/HEAD/packages/babel-cli) from 7.15.7 to 7.18.9.
- [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.18.9/packages/babel-cli)

---
updated-dependencies:
- dependency-name: "@babel/cli"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-19 12:02:52 +02:00
Maciej Jastrzebski f6fe982f65 docs: create document describing act function and related errors (#969)
* docs: initial act doc

* self code review

* docs: self code review

* docs: applied type fixes

* docs: further updates
2022-07-19 12:00:03 +02:00
David Calhoun d2269f62b0 Trigger non-touch events on box-none targets (#906)
* Trigger non-touch events on box-none targets

Currently, this library disables _all_ events for a target with
`pointerEvents="box-none"`. This behavior is counter to how React Native
itself functions. This change continues to disable touch events, e.g.
`press`, for targets set to "box-none", but allows triggering non-touch
events, e.g. `layout`, `touchStart`.

* Event triggers target box-none View instead of child

This approach more closely aligns with the original failing test case.

* Rename events in test description

Attempt to better communicate the test is focused on ensuring that touch
events continue to trigger (e.g. `touchStart`), but the final event from
a touch tap does not trigger.
2022-07-19 11:56:01 +02:00
dependabot[bot] 8ce39f5314 chore(deps): bump minimist from 1.2.5 to 1.2.6 (#952)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-19 11:12:53 +02:00
Maciej Jastrzebski 91d2b83d1f chore: update deps @types for react/react-native (#1013) 2022-07-19 10:44:53 +02:00
Maciej Jastrzebski 77bf93c5ad chore: update Jest to 28 (#1008)
* chore: update jest

* refactor: pass useFakeTimer config in tests

* refactor: remove unused code

* fix jest config unable to discover babel due to rootDir change

Co-authored-by: Michał Pierzchała <thymikee@gmail.com>
2022-07-19 09:53:38 +02:00
Maciej Jastrzebski bdd8f75864 chore: update react-native to 0.69.1 (#1010)
* chore: update react-native deps

* refactor: split fake timer test to make it pass
2022-07-18 18:14:58 +02:00
Maciej Jastrzebski 63f7731a17 chore: update react-native to 0.68.2 (#1009)
* chore: update react-native to 0.68.2

* chore: update workflow node version to 14

* chore: fix flow

* chote: increase jest timeout
2022-07-18 17:28:37 +02:00
Michał Pierzchała 8e0a1083a2 v10.1.1 v10.1.1 2022-06-24 15:42:48 +02:00
Philipp Kursawe a05bf4bfa3 fix: queryByText and getByText match newlines and tabs properly (#984)
Fixes #983
2022-06-24 15:42:18 +02:00
Michał Pierzchała 51cd8d0b49 v10.1.0 v10.1.0 2022-06-24 13:17:37 +02:00
Maciej Jastrzebski 5d681790bf feat: add screen API (#994)
* feature: screen

* feature: update docs

* refactor: add flow type

* docs: more

* docs: final tweaks

* test rerender

* code review changes

* alias RenderResult to RenderAPI

Co-authored-by: Michał Pierzchała <thymikee@gmail.com>
2022-06-24 13:17:06 +02:00
Michał Pierzchała 1e67026d95 v10.0.1 v10.0.1 2022-06-24 12:37:00 +02:00
Michał Pierzchała 8d69c40d84 fix: bring back RenderAPI type (#1000)
* fix: bring back RenderAPI type

* add test

* fix
2022-06-24 12:36:19 +02:00
Michał Pierzchała 710855eb46 v10.0.0 v10.0.0 2022-06-23 11:15:15 +02:00
Maciej Jastrzebski 597fa3c4f8 docs: add FAQ page and native features question (#979)
* docs: add FAQ page and native features question

* docs: fixed grammar issues & added native examples
2022-06-02 14:06:43 +02:00
dependabot[bot] 3e9fdd5fec chore(deps-dev): bump @babel/preset-typescript from 7.16.0 to 7.17.12 (#988)
Bumps [@babel/preset-typescript](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-typescript) from 7.16.0 to 7.17.12.
- [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.17.12/packages/babel-preset-typescript)

---
updated-dependencies:
- dependency-name: "@babel/preset-typescript"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-02 14:05:43 +02:00
dependabot[bot] 728fe2988c chore(deps): bump async from 2.6.3 to 2.6.4 (#960)
Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md)
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4)

---
updated-dependencies:
- dependency-name: async
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-02 11:38:44 +02:00
Maciej Jastrzebski 4f7dd48073 docs: table of contents for Queries and API pages (#980)
* docs: add toc for APIs

* docs: add toc for Queries
2022-05-27 15:53:00 +02:00
rvasseur31 16bb83c78a Update ReduxIntegration.md (#976)
We will test 'AddTodo' and not 'TodoElem'
Add '.test' to the second file as well as for 'AddTodo.test.js'
2022-05-10 11:00:23 +02:00
Maciej Jastrzebski 64ff2d27c2 refactor: re-organise regular (non A11y) queries by predicate (#965)
* refactor: move queries files to queries folder

* refactor: fix import order

* refactor: extract bindByTextQueries

* refactor: extract bindByTestId, bindByDisplayValue

* refactor: extract bindByPlaceholderText

* refactor: remove findByAPI

* refactor: re-organied flow types

* refactor: migrate getByAPI & queryByAPI

* refactor: simplify query file names

* refactor: reduce external visibility

* refactor: reduce unnecessary exports

* refactor: self code review

* refactor: self code review

* refactor: move query tests to `src/queries/__tests__`

* refactor: remove removed functions errors
2022-05-04 12:08:03 +02:00
Raghavender Mylagary 256cd60a58 Fix QuestionsBoard example url (#968) 2022-05-04 11:23:43 +02:00
Michael Peyper 3fa42d5950 docs(renderHook): remove references to error and all from renderHook API (#963)
* docs(renderHook): remove references to error and all from renderHook API

* docs(renderHook): update code snippets to use TS
2022-05-03 22:14:48 +02:00
Michał Pierzchała 480a38ec72 v9.2.0 v9.2.0 2022-04-26 15:01:52 +02:00