X7ROOT File Manager
Current Path:
/home/cbholdings/pasukulu/message/tests/behat
home
/
cbholdings
/
pasukulu
/
message
/
tests
/
behat
/
📁
..
📄
behat_message.php
(12.1 KB)
📄
block_user.feature
(2.87 KB)
📄
capability_message_any_user.feature
(1.92 KB)
📄
delete_messages.feature
(13.52 KB)
📄
favourite_conversations.feature
(4.53 KB)
📄
group_conversation.feature
(5.77 KB)
📄
message_admin_settings.feature
(1.57 KB)
📄
message_delete_conversation.feature
(6.42 KB)
📄
message_drawer_manage_contacts.feature
(3.97 KB)
📄
message_manage_notification_preferences.feature
(11.39 KB)
📄
message_manage_preferences.feature
(5.46 KB)
📄
message_preferences.feature
(1.35 KB)
📄
message_send_messages.feature
(4.01 KB)
📄
mute_conversations.feature
(4.67 KB)
📄
self_conversation.feature
(3.06 KB)
📄
unread_messages.feature
(4.55 KB)
Editing: message_admin_settings.feature
@core @core_message @javascript Feature: Message admin settings In order to manage the messaging system As an admin I need to be able to enabled/disabled site-wide messaging system Background: 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 messaging Given the following config values are set as admin: | messaging | 1 | When I log in as "admin" Then "Toggle messaging drawer" "icon" should exist And I navigate to "Users > Accounts > Browse list of users" in site administration And I should see "User One" And I follow "User One" And "Add to contacts" "link" should exist And I am on "Course 1" course homepage And I navigate to course participants And the "With selected users..." select box should contain "Send a message" Scenario: disable site messaging Given the following config values are set as admin: | messaging | 0 | When I log in as "admin" Then "Toggle messaging drawer" "icon" should not exist And I navigate to "Users > Accounts > Browse list of users" in site administration And I should see "User One" And I follow "User One" And "Add to contacts" "link" should not exist And I am on "Course 1" course homepage And I navigate to course participants And the "With selected users..." select box should not contain "Send a message"
Upload File
Create Folder