diff -u b/core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php b/core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php --- b/core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php +++ b/core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php @@ -57,38 +57,31 @@ * be displayed. */ public function waitForJavascriptActivity($timeout = 10000, $message = 'Unable to complete javascript activity.') { - $condition = - <<session->wait($timeout, $condition); - if (!$result) { throw new \RuntimeException($message); }