diff --git a/core/modules/outside_in/tests/src/FunctionalJavascript/OutsideInJavascriptTestBase.php b/core/modules/outside_in/tests/src/FunctionalJavascript/OutsideInJavascriptTestBase.php index 293ba81833..7817dbbf8f 100644 --- a/core/modules/outside_in/tests/src/FunctionalJavascript/OutsideInJavascriptTestBase.php +++ b/core/modules/outside_in/tests/src/FunctionalJavascript/OutsideInJavascriptTestBase.php @@ -33,7 +33,6 @@ protected function drupalGet($path, array $options = [], array $headers = []) { */ protected function assertPageLoadComplete() { $web_assert = $this->assertSession(); - $this->getSession()->wait(500); $this->assertAllContextualLinksLoaded(); $web_assert->assertWaitOnAjaxRequest(); } diff --git a/core/scripts/run-tests.sh b/core/scripts/run-tests.sh index d138761f9a..6328f0b366 100755 --- a/core/scripts/run-tests.sh +++ b/core/scripts/run-tests.sh @@ -143,7 +143,7 @@ $test_list = simpletest_script_get_test_list(); if (in_array('Drupal\Tests\outside_in\FunctionalJavascript\OutsideInBlockFormTest', $test_list)) { - $test_list = array_fill(0, 5, 'Drupal\Tests\outside_in\FunctionalJavascript\OutsideInBlockFormTest'); + $test_list = array_fill(0, 2, 'Drupal\Tests\outside_in\FunctionalJavascript\OutsideInBlockFormTest'); } else { $test_list = []; }