diff --git a/modules/oe_theme_helper/tests/src/FunctionalJavascript/WysiwygTableTest.php b/modules/oe_theme_helper/tests/src/FunctionalJavascript/WysiwygTableTest.php index bd77784ac..2df2999a8 100644 --- a/modules/oe_theme_helper/tests/src/FunctionalJavascript/WysiwygTableTest.php +++ b/modules/oe_theme_helper/tests/src/FunctionalJavascript/WysiwygTableTest.php @@ -309,7 +309,9 @@ protected function openCellPropertiesDialog(string $right_click_selector): void $this->getSession()->switchToIFrame($page->find('xpath', "//div[contains(concat(' ', normalize-space(@class), ' '), ' cke_menu_panel ') and not(@hidden)]/iframe")->getAttribute('id')); $this->clickLink('Cell'); $this->getSession()->switchToIFrame(); + // @todo Fix in EWPP-2734 the way for waiting for the showing of the context submenu. $web_assert->waitForElementVisible('xpath', "//div[contains(concat(' ', normalize-space(@class), ' '), ' cke_menu_panel ')][last()]/iframe"); + $this->getSession()->wait(1000); $this->getSession()->switchToIFrame($page->find('xpath', "//div[contains(concat(' ', normalize-space(@class), ' '), ' cke_menu_panel ') and not(@hidden)][last()]/iframe")->getAttribute('id')); $this->clickLink('Cell Properties'); $this->getSession()->switchToIFrame();