Ir a la última revisión | Autoría | Comparar con el anterior | Ultima modificación | Ver Log |
@core @core_message @javascriptFeature: Message admin settingsIn order to manage the messaging systemAs an adminI need to be able to enabled/disabled site-wide messaging systemBackground:Given the following "users" exist:| username | firstname | lastname | email || user1 | User | One | one@example.com |And the following "courses" exist:| fullname | shortname | category | groupmode || Course 1 | C1 | 0 | 1 |Scenario: enable site messagingGiven the following config values are set as admin:| messaging | 1 |When I log in as "admin"Then "Toggle messaging drawer" "icon" should existAnd I navigate to "Users > Accounts > Browse list of users" in site administrationAnd I should see "User One"And I follow "User One"And "Add to contacts" "link" should existAnd I am on "Course 1" course homepageAnd I navigate to course participantsAnd the "With selected users..." select box should contain "Send a message"Scenario: disable site messagingGiven the following config values are set as admin:| messaging | 0 |When I log in as "admin"Then "Toggle messaging drawer" "icon" should not existAnd I navigate to "Users > Accounts > Browse list of users" in site administrationAnd I should see "User One"And I follow "User One"And "Add to contacts" "link" should not existAnd I am on "Course 1" course homepageAnd I navigate to course participantsAnd the "With selected users..." select box should not contain "Send a message"