[BUGFIX] Wait until modal overlay is closed in tests
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Tests / Acceptance / Support / Helper / ModalDialog.php
index cddf85c..db6b9e0 100644 (file)
@@ -66,6 +66,7 @@ class ModalDialog
         $I = $this->tester;
         $this->canSeeDialog();
         $I->click($buttonLinkLocator, self::$openedModalButtonContainerSelector);
+        $I->waitForElementNotVisible(self::$openedModalSelector);
     }
 
     /**