When to use waitFor of React Testing library (NOT findBy and waitForElementToBeRemoved)?
When we are waiting for an element to be available in DOM after async operation, we should use find* When we are waiting for an element to be removed in DOM after async operation, we should use waitForElementToBeRemoved So, when should we use waitFor? What is the specific use case for it? Seems like pretty […]