mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02: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
1 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue