Maciej Jastrzebski
5e798bc2e3
Feat(breaking): unify wait for element signature with testing library ( #327 )
...
* Change argument to options object
* Renamed `waitForElement` to `waitFor`
* Migration guide entry
* Fixed typescript check
* Update src/helpers/a11yAPI.js
Co-authored-by: Michał Pierzchała <thymikee@gmail.com >
* (Nearly) Empty migration doc for ver. 2.0 (#326 )
* Added migration docs section
* Added to docosaurus side bar
* Updated README
* Increased async test timeout
* Update website/docs/Migration20.md
Co-authored-by: Michał Pierzchała <thymikee@gmail.com >
* feat(breaking): remove legacy `debug` export (#328 )
* Removed global `debug` functions
* Removed global `debug` from docs
* Cleanup
* Added migration section
Co-authored-by: Michał Pierzchała <thymikee@gmail.com >
Co-authored-by: Michał Pierzchała <thymikee@gmail.com >
2020-05-28 15:06:04 +02:00
Maciej Jastrzebski
043f51d36c
feat(breaking): remove legacy debug export ( #328 )
...
* Removed global `debug` functions
* Removed global `debug` from docs
* Cleanup
* Added migration section
Co-authored-by: Michał Pierzchała <thymikee@gmail.com >
2020-05-28 15:06:04 +02:00
Maciej Jastrzebski
ab34712133
feat: add findBy* queries ( #304 )
...
* Basic async findBy queries
* Refactored findBy queries to be built with makeFindQuery
* findBy queries for A11y selectors
* Custom findByTestId implementation that avoids current getByTestId issues
* Fixed prettier issue
* Updates Queries.md with findBy queries
* Trying to fix test timeout error appearing only on CI
* Code review changes
* Added typescript types & tests
* prettier did reformat some code arround
* Removed export of GetByAPI, QueryByAPI and FindByAPI interfaces in TS
* Reversed prettier run on typings
* Added overlapping pieces with `within` operator
* Small cleanup
* Update website/docs/Queries.md
* Moved async/await tests to the end of test methods
Co-authored-by: Michał Pierzchała <thymikee@gmail.com >
2020-05-15 09:52:33 +02:00
Maciej Jastrzebski
1809825313
feat: add within operator for returned instance-bound queries ( #306 )
...
* Basic within implementation and tests
* Added typescript types & tests
* Removed duplicated import in index.d.ts
* Reversed prettier run on typings
* Fixed package level exports for `within` operator
* Replaced getByTestId queries with getByA11yHint queries in unit tests for `within`
* Added `within` section to API.md
* Updated README.md regarding `within` operator
* Update website/docs/API.md
Co-authored-by: Michał Pierzchała <thymikee@gmail.com >
2020-05-14 12:51:19 +02:00
Kenneth Kwakye-Gyamfi
58055d8998
docs: migrate to Docusaurus v2 ( #299 )
...
* Migration to Docusaurus v2.0.0
* update lock file
* add algolia search
* update GH Pages deploy
* make sidebar non-collapsible for now
* update theme colors
* ignore docusaurus-specific import aliases, remove home-container class
Co-authored-by: Michał Pierzchała <thymikee@gmail.com >
2020-05-13 10:28:32 +02:00