mirrored from git://git.moodle.org/moodle.git
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-76704 core_course: Add settings to control selected provider
- Loading branch information
1 parent
3f48306
commit f7b2f36
Showing
5 changed files
with
57 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
@core @core_course | ||
Feature: Course communication | ||
In order to create a new communication room in for course | ||
As an admin | ||
I should have matrix plugin enabled by default | ||
I should not have any plugins enabled by default for existing courses | ||
|
||
Background: | ||
Given the following "courses" exist: | ||
| fullname | shortname | | ||
| Test course | C | | ||
And I enable communication experimental feature | ||
And I log in as "admin" | ||
|
||
Scenario: I should have matrix plugin by default for new courses | ||
Given I go to the courses management page | ||
And I should see the "Categories" management page | ||
And I click on category "Category 1" in the management interface | ||
And I should see the "Course categories and courses" management page | ||
And I follow "Create new course" | ||
When I click on "Communication" "link" | ||
Then the field "Communication service" matches value "Matrix" | ||
|
||
Scenario: I should have communication disabled by default for existing courses | ||
Given I am on "Test course" course homepage | ||
When I navigate to "Settings" in current page administration | ||
And I click on "Communication" "link" | ||
Then the field "Communication service" matches value "None" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters