mirror of
https://github.com/moodle/moodle.git
synced 2025-06-02 14:15:11 +02:00
MDL-71401 mod_forum: Update completion behat to test individual changes
This commit is contained in:
parent
6469e8c1a9
commit
9db08b47de
@ -71,9 +71,23 @@ Feature: View activity completion in the forum activity
|
||||
And I add a new discussion to "Music history" forum with:
|
||||
| Subject | Fun instruments |
|
||||
| Message | I like drums |
|
||||
And I am on "Course 1" course homepage
|
||||
And I follow "Music history"
|
||||
And the "View" completion condition of "Music history" is displayed as "done"
|
||||
And the "Start discussions: 1" completion condition of "Music history" is displayed as "done"
|
||||
And the "Make forum posts: 2" completion condition of "Music history" is displayed as "todo"
|
||||
And the "Post replies: 1" completion condition of "Music history" is displayed as "todo"
|
||||
And the "Receive a grade" completion condition of "Music history" is displayed as "todo"
|
||||
And I reply "Fun instruments" post from "Music history" forum with:
|
||||
| Subject | Reply 1 to Fun instruments |
|
||||
| Message | Guitar is also Fun |
|
||||
And I am on "Course 1" course homepage
|
||||
And I follow "Music history"
|
||||
And the "View" completion condition of "Music history" is displayed as "done"
|
||||
And the "Start discussions: 1" completion condition of "Music history" is displayed as "done"
|
||||
And the "Make forum posts: 2" completion condition of "Music history" is displayed as "done"
|
||||
And the "Post replies: 1" completion condition of "Music history" is displayed as "done"
|
||||
And the "Receive a grade" completion condition of "Music history" is displayed as "todo"
|
||||
And I log out
|
||||
# Grade the student
|
||||
And I log in as "teacher1"
|
||||
|
Loading…
x
Reference in New Issue
Block a user