MDL-4188 behat: Turn off course welcome message
Turn off the course welcome message, so we can easily test other messages.
This commit is contained in:
@@ -5,8 +5,10 @@ Feature: Manage analytics models
|
||||
I need to create and use a model
|
||||
|
||||
Background:
|
||||
# Turn off the course welcome message, so we can easily test other messages.
|
||||
Given the following config values are set as admin:
|
||||
| onlycli | 0 | analytics |
|
||||
| onlycli | 0 | analytics |
|
||||
| sendcoursewelcomemessage | 0 | enrol_manual |
|
||||
And the following "users" exist:
|
||||
| username | firstname | lastname | email |
|
||||
| teacher1 | Teacher | 1 | teacher1@example.com |
|
||||
|
||||
@@ -9,8 +9,10 @@ Feature: Manage notification preferences - Email
|
||||
| username | firstname | lastname | email |
|
||||
| student1 | Student | 1 | student1@example.com |
|
||||
| student2 | Student | 2 | student2@example.com |
|
||||
# Turn off the course welcome message, so we can easily test other messages.
|
||||
And the following config values are set as admin:
|
||||
| messaging | 1 |
|
||||
| messaging | 1 | core |
|
||||
| sendcoursewelcomemessage | 0 | enrol_manual |
|
||||
|
||||
Scenario: Disable email notifications for everybody
|
||||
Given I log in as "admin"
|
||||
|
||||
@@ -5,7 +5,10 @@ Feature: Manage assignment submission web notifications
|
||||
I need to be able to turn on web notifications for assignment submission
|
||||
|
||||
Background:
|
||||
Given the following "users" exist:
|
||||
# Turn off the course welcome message, so we can easily test other messages.
|
||||
Given the following config values are set as admin:
|
||||
| sendcoursewelcomemessage | 0 | enrol_manual |
|
||||
And the following "users" exist:
|
||||
| username | firstname | lastname | email |
|
||||
| student1 | Student | 1 | student1@example.com |
|
||||
| teacher1 | Teacher | 1 | teacher1@example.com |
|
||||
|
||||
Reference in New Issue
Block a user