diff --git a/tests/Codeception/Step/MediaLibraryAcceptanceTester.php b/tests/Codeception/Step/MediaLibraryAcceptanceTester.php index 51c1f55..e59d6b7 100644 --- a/tests/Codeception/Step/MediaLibraryAcceptanceTester.php +++ b/tests/Codeception/Step/MediaLibraryAcceptanceTester.php @@ -46,6 +46,7 @@ public function openMediaLibrary(): self $I->retryClick(Translator::translate('DD_MEDIA_DIALOG')); $I->selectBaseFrame(); + $I->waitForAjax(); $I->see(Translator::translate('DD_MEDIA_DIALOG')); $I->see(Translator::translate('DD_MEDIA_LIST'));