__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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
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"

  Scenario: Only active plugins have corresponding columns on the User preferences notification settings
    # Needed for Mobile column to appear on User preferences notification settings.
    Given the following config values are set as admin:
      | airnotifieraccesskey | test123 |
    And I log in as "admin"
    And I follow "Preferences" in the user menu
    When I click on "Notification preferences" "link" in the "#page-content" "css_element"
    # By default, web/popup is enabled. mobile/airnotifier is enabled using an earlier step while email is disabled.
    Then "[data-processor-name='popup']" "css_element" should exist
    And "[data-processor-name='email']" "css_element" should not exist
    And "[data-processor-name='airnotifier']" "css_element" should exist

  @javascript
  Scenario: An admin can set the default notification preferences
    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 set the following fields to these values:
      | mod_assign_assign_notification_enabled[popup] | 1 |
      | mod_assign_assign_notification_enabled[email] | 0 |
      | mod_feedback_submission_enabled[popup]        | 0 |
      | mod_feedback_submission_locked[popup]         | 1 |
      | mod_feedback_submission_enabled[email]        | 1 |
      | mod_feedback_submission_locked[email]         | 1 |
      | mod_feedback_message_disable                  | 0 |
    And I press "Save changes"
    And I log in as "student1"
    And I follow "Preferences" in the user menu
    When I click on "Notification preferences" "link" in the "#page-content" "css_element"
    # Assignment web notification is enabled, email is disabled.
    Then the field "message_provider_mod_assign_assign_notification_popup" matches value "1"
    And the field "message_provider_mod_assign_assign_notification_email" matches value "0"
    # Corresponding checkboxes can be updated.
    And I click on "message_provider_mod_assign_assign_notification_popup" "checkbox"
    And I click on "message_provider_mod_assign_assign_notification_email" "checkbox"
    And the field "message_provider_mod_assign_assign_notification_popup" matches value "0"
    And the field "message_provider_mod_assign_assign_notification_email" matches value "1"
    # Feedback submission notifications are locked off for web and locked on for email.
    And "Feedback notifications" row "Web" column of "preference-table" table should contain "Locked off"
    And "Feedback notifications" row "Requires configuration Email" column of "preference-table" table should contain "Locked on"
    # Feedback reminder is disabled.
    And I should not see "Feedback reminder"

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