Several utilities are provided for dealing with asynchronous code. These can be useful to wait for an element to appear or disappear in response to an event, user action, timeout, or Promise. (See the guide to testing disappearance.) The async methods return Promises, so be sure to use await or .then when calling them. findBy QueriesfindBy methods are a combination of getBy queries and waitFor. T
![Async Methods | Testing Library](https://cdn-ak-scissors.b.st-hatena.com/image/square/799487628ab759bb5cc524f9f3ea65ab0252d1a5/height=288;version=1;width=512/https%3A%2F%2Ftesting-library.com%2Fimg%2Foctopus-128x128.png)