mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
MDL-49806 behat: Ensure user is marked complete before runnning cron
This commit is contained in:
parent
803f565753
commit
e2e37bc510
@ -41,6 +41,12 @@ Feature: Allow teachers to manually mark users as complete when configured
|
||||
And I follow "View course report"
|
||||
And I should see "Student First"
|
||||
And I follow "Click to mark user complete"
|
||||
# Running cron just after clicking sometimes fail, so navigate back
|
||||
# and ensure the student completion is updated before running cron.
|
||||
And I am on site homepage
|
||||
And I follow "Completion course"
|
||||
And I follow "View course report"
|
||||
And "//img[contains(@alt, 'Completed')]" "xpath_element" should exist in the "student1" "table_row"
|
||||
And I trigger cron
|
||||
And I am on site homepage
|
||||
And I log out
|
||||
|
Loading…
x
Reference in New Issue
Block a user