[BUGFIX] Allow any navigation component to load in BE
[Packages/TYPO3.CMS.git] / components / testing_framework / Classes / Core / Acceptance / Support / Page / PageTree.php
index 159c508..c5fc49c 100644 (file)
@@ -71,6 +71,7 @@ class PageTree
     {
         $I = $this->tester;
         $I->switchToIFrame();
+        $I->waitforelementVisible(self::$pageTreeSelector);
         return $I->executeInSelenium(function (\Facebook\WebDriver\Remote\RemoteWebDriver $webdriver) {
             return $webdriver->findElement(\WebDriverBy::cssSelector(self::$pageTreeSelector));
         });