diff -u b/core/modules/outside_in/tests/src/FunctionalJavascript/OutsideInBlockFormTest.php b/core/modules/outside_in/tests/src/FunctionalJavascript/OutsideInBlockFormTest.php --- b/core/modules/outside_in/tests/src/FunctionalJavascript/OutsideInBlockFormTest.php +++ b/core/modules/outside_in/tests/src/FunctionalJavascript/OutsideInBlockFormTest.php @@ -77,6 +77,8 @@ foreach ($blocks as $block) { $block_selector = '#' . $block['id']; $this->drupalGet('user'); + $web_assert->assertWaitOnAjaxRequest(); + if (isset($block['toolbar_item'])) { // Check that you can open a toolbar tray and it will be closed after // entering edit mode. reverted: --- b/core/tests/Drupal/FunctionalJavascriptTests/JavascriptTestBase.php +++ a/core/tests/Drupal/FunctionalJavascriptTests/JavascriptTestBase.php @@ -64,19 +64,6 @@ } /** - * {@inheritdoc} - */ - protected function drupalGet($path, array $options = array(), array $headers = array()) { - $out = parent::drupalGet($path, $options, $headers); - - // When the page has been loaded wait until jQuery is done with all Ajax - // activity before any further actions are done on the page. - $this->assertSession()->assertWaitOnAjaxRequest(); - - return $out; - } - - /** * Asserts that the element with the given CSS selector is visible. * * @param string $css_selector