Loading core/modules/settings_tray/tests/src/FunctionalJavascript/SettingsTrayTestBase.php +4 −0 Original line number Diff line number Diff line Loading @@ -47,6 +47,10 @@ protected function openBlockForm($block_selector, $contextual_link_container = ' // When page first loads Edit Mode is not triggered until first contextual // link is added. $this->assertNotEmpty($this->assertSession()->waitForElementVisible('css', '.dialog-off-canvas-main-canvas.js-settings-tray-edit-mode')); // @todo https://www.drupal.org/project/drupal/issues/3317520 Work why the // sleep is necessary in. usleep(100000); $block = $this->getSession()->getPage()->find('css', $block_selector); $block->mouseOver(); $block->click(); Loading Loading
core/modules/settings_tray/tests/src/FunctionalJavascript/SettingsTrayTestBase.php +4 −0 Original line number Diff line number Diff line Loading @@ -47,6 +47,10 @@ protected function openBlockForm($block_selector, $contextual_link_container = ' // When page first loads Edit Mode is not triggered until first contextual // link is added. $this->assertNotEmpty($this->assertSession()->waitForElementVisible('css', '.dialog-off-canvas-main-canvas.js-settings-tray-edit-mode')); // @todo https://www.drupal.org/project/drupal/issues/3317520 Work why the // sleep is necessary in. usleep(100000); $block = $this->getSession()->getPage()->find('css', $block_selector); $block->mouseOver(); $block->click(); Loading