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_preferences.feature
@core @core_message Feature: To be able to see and save user message preferences as admin As an admin I need to be able to view and edit message preferences for other users Background: Given the following "users" exist: | username | firstname | lastname | email | | student1 | Student | 1 | student1@emample.com | And the following "user preferences" exist: | user | preference | value | | student1 | message_provider_moodle_instantmessage_enabled | email | @javascript Scenario: As an admin I can view and edit message preferences for a user Given I log in as "admin" And I navigate to "Messaging > Notification settings" in site administration And I set the field "email" to "1" And I press "Save changes" And I am on the "student1" "user > profile" page And I click on "Preferences" "link" in the "#region-main-box" "css_element" And I click on "Message preferences" "link" in the "#region-main-box" "css_element" And I should not see "Enabled" in the "Email" "table_row" And I click on "//div[@class='preference-state']" "xpath_element" And I log out And I log in as "student1" And I follow "Preferences" in the user menu And I click on "Message preferences" "link" And the field "Email" matches value "0"
Upload File
Create Folder