diff --git a/docs/APIRef.waitFor.md b/docs/APIRef.waitFor.md index 5ee9df3b9d..b9f6283684 100644 --- a/docs/APIRef.waitFor.md +++ b/docs/APIRef.waitFor.md @@ -14,7 +14,7 @@ Test async code with waitFor.
- [`.toHaveText()`](#tohavetexttext) - [`.toHaveValue()`](#tohavevaluevalue) - [`.withTimeout()`](#withtimeoutmillis) -- [`.whileElement()`](#whileelement) +- [`.whileElement()`](#whileelementelement) >NOTE: Every `waitFor` call must set a timeout using `withTimeout()`. Calling `waitFor` without setting a timeout **will do nothing**.