[BUGFIX] Flacky acceptance test 67/55767/2
authorChristian Kuhn <lolli@schwarzbu.ch>
Fri, 16 Feb 2018 20:08:19 +0000 (21:08 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Fri, 16 Feb 2018 20:29:44 +0000 (21:29 +0100)
Better safeguard a BookmarkCest detail to
stabilize that patch again.

Change-Id: Ia873d1c8a04d0ef329c280ff5d4d7518c6b73e22
Resolves: #83947
Releases: master, 8.7
Reviewed-on: https://review.typo3.org/55767
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Tests/Acceptance/Backend/Topbar/BookmarkCest.php

index beabb97..8030bf3 100644 (file)
@@ -153,6 +153,7 @@ class BookmarkCest
      */
     protected function clickBookmarkDropdownToggleInTopbar(Admin $I)
     {
+        $I->waitForElementVisible(self::$topBarModuleSelector . ' ' . Topbar::$dropdownToggleSelector);
         $I->click(Topbar::$dropdownToggleSelector, self::$topBarModuleSelector);
     }
 }