mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-59534 feedback: avoid some randomness with behat test failures
This commit is contained in:
parent
e80e4778c5
commit
1d52027e57
1 changed files with 5 additions and 0 deletions
|
@ -138,7 +138,12 @@ Feature: Mapping courses in a feedback
|
|||
And I follow "Map feedback to courses"
|
||||
And I set the field "Courses" to "Course 2"
|
||||
And I set the field "Courses" to "Course 3"
|
||||
# Weird solution to make the editable field to lose the focus
|
||||
# but with the focus, "save changes" uses to fail because of
|
||||
# the suggestions hiding the button.
|
||||
And I press key "27" in the field "Courses"
|
||||
And I press "Save changes"
|
||||
And I should see "Course mapping has been changed"
|
||||
And I log out
|
||||
|
||||
And I log in as "user1"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue