From ad1bd4b56fe5d300b27ed994b4938a25c6dec194 Mon Sep 17 00:00:00 2001 From: Puneet Kala Date: Fri, 9 Aug 2019 13:57:48 +0530 Subject: [PATCH] Fixing Failing Tests --- .../administrator/components/com_media/MediaListCest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/Codeception/acceptance/administrator/components/com_media/MediaListCest.php b/tests/Codeception/acceptance/administrator/components/com_media/MediaListCest.php index cdff224c319..e61c1ca8cba 100644 --- a/tests/Codeception/acceptance/administrator/components/com_media/MediaListCest.php +++ b/tests/Codeception/acceptance/administrator/components/com_media/MediaListCest.php @@ -445,6 +445,8 @@ public function deleteMultipleFiles(Media $I) $I->waitForElement($testFileItem2); $I->click($testFileItem1); $I->clickHoldingShiftkey($testFileItem2); + $I->waitForText('Item uploaded.'); + $I->wait(10); $I->click(MediaListPage::$toolbarDeleteButton); $I->waitForElement(MediaListPage::$toolbarModalDeleteButton); $I->click(MediaListPage::$toolbarModalDeleteButton);