Linux aries.aptans.com 4.18.0-348.20.1.lve.1.el8.x86_64 #1 SMP Wed Mar 16 08:45:39 EDT 2022 x86_64
Apache
: 135.181.142.107 | : 172.69.6.165
Cant Read [ /etc/named.conf ]
7.4.33
aja
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
home /
aja /
public_html /
ead /
course /
tests /
behat /
[ HOME SHELL ]
Name
Size
Permission
Action
activities_edit_completion.fea...
2.4
KB
-rw-r--r--
activities_edit_name.feature
1.8
KB
-rw-r--r--
activities_group_icons.feature
1.79
KB
-rw-r--r--
activities_indentation.feature
2.06
KB
-rw-r--r--
activities_visibility_icons.fe...
8.63
KB
-rw-r--r--
activity_chooser.feature
11.91
KB
-rw-r--r--
activity_navigation.feature
16.58
KB
-rw-r--r--
activity_navigation_with_restr...
3.38
KB
-rw-r--r--
add_activities.feature
2.19
KB
-rw-r--r--
behat_course.php
84.14
KB
-rw-r--r--
category_change_visibility.fea...
17.1
KB
-rw-r--r--
category_management.feature
22.91
KB
-rw-r--r--
category_resort.feature
10.92
KB
-rw-r--r--
category_role_assignment.featu...
1.57
KB
-rw-r--r--
course_browsing.feature
4.4
KB
-rw-r--r--
course_category_management_lis...
43.87
KB
-rw-r--r--
course_change_visibility.featu...
5.88
KB
-rw-r--r--
course_contact.feature
7.35
KB
-rw-r--r--
course_controls.feature
9.47
KB
-rw-r--r--
course_creation.feature
4.18
KB
-rw-r--r--
course_download_content.featur...
2.29
KB
-rw-r--r--
course_download_content_permis...
5.66
KB
-rw-r--r--
course_relativedatesmode.featu...
2.09
KB
-rw-r--r--
course_request.feature
4.23
KB
-rw-r--r--
course_resort.feature
11.28
KB
-rw-r--r--
course_search.feature
1.58
KB
-rw-r--r--
coursetags.feature
3.97
KB
-rw-r--r--
create_delete_course.feature
5.13
KB
-rw-r--r--
customfields_locked.feature
1.26
KB
-rw-r--r--
customfields_visibility.featur...
3.39
KB
-rw-r--r--
edit_settings.feature
2.49
KB
-rw-r--r--
force_group_mode.feature
2.13
KB
-rw-r--r--
frontpage_display_modes.featur...
3.15
KB
-rw-r--r--
general_section.feature
1.48
KB
-rw-r--r--
keyholder.feature
2.36
KB
-rw-r--r--
max_number_sections.feature
1.95
KB
-rw-r--r--
move_activities.feature
2.3
KB
-rw-r--r--
move_sections.feature
2.4
KB
-rw-r--r--
navigate_course_list.feature
3.16
KB
-rw-r--r--
paged_course_navigation.featur...
6
KB
-rw-r--r--
recommend_activities.feature
2
KB
-rw-r--r--
rename_roles.feature
2.88
KB
-rw-r--r--
restrict_available_activities....
1.87
KB
-rw-r--r--
role_renaming.feature
2.14
KB
-rw-r--r--
search_recommended_activities....
1
KB
-rw-r--r--
section_highlighting.feature
1.78
KB
-rw-r--r--
section_visibility.feature
3.01
KB
-rw-r--r--
view_subfolders_inline.feature
3.12
KB
-rw-r--r--
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