[Unit testing - React] getBy*, queryBy*, findBy*
Sync api:
- getBy*
- queryBy*
Async api:
- findBy*
For sync api, when to use which?
- queryBy*: when the element is not always shown on screen
- getBy*: when the element always shown on screen
When to use async api?
- findBy*: when show/hide elements depends on a promise / timer