SilverStripe\TestSession\TestSessionEnvironment::waitForPendingRequests
Wait for pending requests
Signature
public function waitForPendingRequests([integer
$await = 700,
[integer
$timeout = 10000]] )
Parameters
$await
— integer- Time to wait (in ms) after the last response (to allow the browser react)
$timeout
— integer- For how long (in ms) do we wait before giving up
Returns
- bool
- Whether there are no more pending requests