1 |
efrain |
1 |
@core @core_course @communication
|
|
|
2 |
Feature: Course communication
|
|
|
3 |
In order to create a new communication room in for course
|
|
|
4 |
As an admin
|
|
|
5 |
I should not have any plugins enabled by default for new and existing courses
|
|
|
6 |
|
|
|
7 |
Background:
|
|
|
8 |
Given the following "courses" exist:
|
|
|
9 |
| fullname | shortname |
|
|
|
10 |
| Course 1 | C1 |
|
|
|
11 |
And I enable communication experimental feature
|
|
|
12 |
And I log in as "admin"
|
|
|
13 |
|
|
|
14 |
Scenario: I should have matrix plugin by default for new courses
|
|
|
15 |
Given I go to the courses management page
|
|
|
16 |
And I click on category "Category 1" in the management interface
|
|
|
17 |
And I follow "Create new course"
|
|
|
18 |
And I set the following fields to these values:
|
|
|
19 |
| Course full name | Course 2 |
|
|
|
20 |
| Course short name | C2 |
|
|
|
21 |
And I press "Save and display"
|
|
|
22 |
When I navigate to "Communication" in current page administration
|
|
|
23 |
Then the field "Provider" matches value "None"
|
|
|
24 |
|
|
|
25 |
Scenario: I should have communication disabled by default for existing courses
|
|
|
26 |
Given I am on "Course 1" course homepage
|
|
|
27 |
When I navigate to "Communication" in current page administration
|
|
|
28 |
Then the field "Provider" matches value "None"
|