MDL-44248 badges: Added wait after ajax request

After ajax give some time to make sure request is complete
else Modal dialog present error will appear and fail behat
This commit is contained in:
Rajesh Taneja
2014-02-27 12:52:33 +08:00
parent 361604089e
commit 98c5ac394f
+1
View File
@@ -236,6 +236,7 @@ Feature: Award badges
And I follow "Home"
And I follow "Course 1"
And I press "Mark as complete: Test assignment name"
And I wait "2" seconds
And I log out
And I log in as "admin"
# We can't wait for cron to happen, so the admin manually triggers it.