Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
MDL-54640 behat: add 1 sec delay before running tasks
[moodle.git]
/
completion
/
tests
/
behat
/
teacher_manual_completion.feature
diff --git
a/completion/tests/behat/teacher_manual_completion.feature
b/completion/tests/behat/teacher_manual_completion.feature
index
0a73901
..
ca0c35d
100644
(file)
--- a/
completion/tests/behat/teacher_manual_completion.feature
+++ b/
completion/tests/behat/teacher_manual_completion.feature
@@
-37,10
+37,10
@@
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"
And I follow "View course report"
And I should see "Student First"
And I follow "Click to mark user complete"
- # Running c
ron
just after clicking sometimes fail, as record
- # should be created before the
cron
runs.
+ # Running c
ompletion task
just after clicking sometimes fail, as record
+ # should be created before the
task
runs.
And I wait "1" seconds
And I wait "1" seconds
- And I
trigger cron
+ And I
run the scheduled task "core\task\completion_regular_task"
And I am on site homepage
And I log out
Then I log in as "student1"
And I am on site homepage
And I log out
Then I log in as "student1"