diff --git a/core/modules/outside_in/tests/src/FunctionalJavascript/OutsideInBlockFormTest.php b/core/modules/outside_in/tests/src/FunctionalJavascript/OutsideInBlockFormTest.php index 9388ec8..d104049 100644 --- a/core/modules/outside_in/tests/src/FunctionalJavascript/OutsideInBlockFormTest.php +++ b/core/modules/outside_in/tests/src/FunctionalJavascript/OutsideInBlockFormTest.php @@ -51,9 +51,6 @@ protected function setUp() { * Tests opening Offcanvas tray by click blocks and elements in the blocks. */ public function testBlocks() { - // @todo: re-enable once https://www.drupal.org/node/2830485 is resolved. - $this->markTestSkipped('Test skipped due to random failures in DrupalCI, see https://www.drupal.org/node/2830485'); - $web_assert = $this->assertSession(); $blocks = [ [ diff --git a/core/modules/outside_in/tests/src/FunctionalJavascript/OutsideInJavascriptTestBase.php b/core/modules/outside_in/tests/src/FunctionalJavascript/OutsideInJavascriptTestBase.php index fe8fcf4..7534a25 100644 --- a/core/modules/outside_in/tests/src/FunctionalJavascript/OutsideInJavascriptTestBase.php +++ b/core/modules/outside_in/tests/src/FunctionalJavascript/OutsideInJavascriptTestBase.php @@ -10,6 +10,19 @@ abstract class OutsideInJavascriptTestBase extends JavascriptTestBase { /** + * {@inheritdoc} + */ + protected function drupalGet($path, array $options = array(), array $headers = array()) { + $return = parent::drupalGet($path, $options, $headers); + + // After the page loaded we need to additionally wait until the settings + // tray Ajax activity is done. + $this->assertSession()->assertWaitOnAjaxRequest(); + + return $return; + } + + /** * Enables a theme. * * @param string $theme