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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user