MDL-70972 format_singleactivity: Apply new behavior to behat test
This commit is contained in:
@@ -21,7 +21,6 @@ Feature: Courses can be created in Single Activity mode
|
||||
| moodle/course:manageactivities | allow |
|
||||
| moodle/course:viewparticipants | allow |
|
||||
| moodle/role:assign | allow |
|
||||
| mod/quiz:addinstance | allow |
|
||||
When I log in as "kevin"
|
||||
And I am on site homepage
|
||||
And I press "Add a new course"
|
||||
@@ -31,6 +30,7 @@ Feature: Courses can be created in Single Activity mode
|
||||
| Format | Single activity |
|
||||
And I press "Update format"
|
||||
Then I should see "Quiz" in the "Type of activity" "field"
|
||||
And I should not see "Forum" in the "Type of activity" "field"
|
||||
And I should see "Forum" in the "Type of activity" "field"
|
||||
And I set the field "Type of activity" to "Quiz"
|
||||
And I press "Save and display"
|
||||
And I should see "New Quiz"
|
||||
|
||||
Reference in New Issue
Block a user