mirror of
https://github.com/moodle/moodle.git
synced 2025-01-29 19:50:14 +01:00
MDL-42332 behat: Adding a wait to let AJAX finish the request
The Mark as completed performs an AJAX request, we need to give time to let it finish.
This commit is contained in:
parent
a80af8a652
commit
a57263d19d
@ -172,6 +172,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 expand "My profile" node
|
||||
And I follow "My badges"
|
||||
Then I should see "Course Badge"
|
||||
@ -247,4 +248,4 @@ Feature: Award badges
|
||||
And I log in as "student1"
|
||||
And I expand "My profile" node
|
||||
And I follow "My badges"
|
||||
Then I should see "Course Badge"
|
||||
Then I should see "Course Badge"
|
||||
|
Loading…
x
Reference in New Issue
Block a user