From 73330d0823500d75913860bfbe3376da3dc1312a Mon Sep 17 00:00:00 2001 From: Sriram Venkatesh Date: Tue, 1 Jul 2014 11:54:00 +1200 Subject: [PATCH] Fixes #944: More Robust wait for text --- tests/behat/features/manage-files.feature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/behat/features/manage-files.feature b/tests/behat/features/manage-files.feature index 3d7001c1a6..893a1aca0c 100644 --- a/tests/behat/features/manage-files.feature +++ b/tests/behat/features/manage-files.feature @@ -27,7 +27,7 @@ Feature: Manage files Given I click on "folder1" in the "Files" table And I press the "Upload" button And I attach the file "testfile.jpg" to "AssetUploadField" with HTML5 - And I wait for 5 seconds + And I wait until I see the text "File upload completed!" And I press the "Back to folder" button Then the "folder1" table should contain "testfile"