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 @@ -53,12 +53,14 @@ * (optional) A message for exception. * * @throws \RuntimeException - * When the activity is not completed. If left blank, a default message will - * be displayed. + * When the activity is not completed. */ public function waitForJavascriptActivity($timeout = 10000, $message = 'Unable to complete javascript activity.') { $condition = <<session->wait($timeout, $condition); if (!$result) { throw new \RuntimeException($message);