Línea 23... |
Línea 23... |
23 |
| activity | assign |
|
23 |
| activity | assign |
|
24 |
| course | C1 |
|
24 |
| course | C1 |
|
25 |
| name | Test assignment name |
|
25 |
| name | Test assignment name |
|
26 |
| submissiondrafts | 0 |
|
26 |
| submissiondrafts | 0 |
|
27 |
| assignsubmission_onlinetext_enabled | 1 |
|
27 |
| assignsubmission_onlinetext_enabled | 1 |
|
- |
|
28 |
| maxattempts | -1 |
|
28 |
| attemptreopenmethod | untilpass |
|
29 |
| attemptreopenmethod | untilpass |
|
29 |
| gradepass | 50 |
|
30 |
| gradepass | 50 |
|
30 |
| submissiondrafts | 0 |
|
31 |
| submissiondrafts | 0 |
|
31 |
And the following "mod_assign > submissions" exist:
|
32 |
And the following "mod_assign > submissions" exist:
|
32 |
| assign | user | onlinetext |
|
33 |
| assign | user | onlinetext |
|
33 |
| Test assignment name | student1 | I'm the student1 submission |
|
34 |
| Test assignment name | student1 | I'm the student1 submission |
|
Línea 34... |
Línea 35... |
34 |
|
35 |
|
- |
|
36 |
And I am on the "Test assignment name" Activity page logged in as teacher1
|
35 |
And I am on the "Test assignment name" Activity page logged in as teacher1
|
37 |
And I navigate to "Submissions" in current page administration
|
36 |
And I follow "View all submissions"
|
38 |
And I change window size to "large"
|
- |
|
39 |
And I open the action menu in "Student 1" "table_row"
|
37 |
And I open the action menu in "Student 1" "table_row"
|
40 |
And I change window size to "medium"
|
38 |
And I follow "Prevent submission changes"
|
41 |
And I follow "Prevent submission changes"
|
39 |
And I should see "Submission changes not allowed"
|
42 |
And I should see "Submission changes not allowed"
|
40 |
And I click on "Quick grading" "checkbox"
|
43 |
And I click on "Quick grading" "checkbox"
|
41 |
And I set the field "User grade" to "49.0"
|
44 |
And I set the field "User grade" to "49.0"
|
42 |
And I press "Save all quick grading changes"
|
45 |
And I click on "Save" "button" in the "sticky-footer" "region"
|
43 |
And I should see "The grade changes were saved"
|
46 |
And I should see "The grade changes were saved"
|
44 |
And I press "Continue"
|
47 |
And I press "Continue"
|
45 |
Then I should see "Reopened"
|
48 |
Then I should see "Reopened"
|
Línea 51... |
Línea 54... |
51 |
| activity | assign |
|
54 |
| activity | assign |
|
52 |
| course | C1 |
|
55 |
| course | C1 |
|
53 |
| name | Test assignment name |
|
56 |
| name | Test assignment name |
|
54 |
| submissiondrafts | 0 |
|
57 |
| submissiondrafts | 0 |
|
55 |
| assignsubmission_onlinetext_enabled | 1 |
|
58 |
| assignsubmission_onlinetext_enabled | 1 |
|
- |
|
59 |
| maxattempts | -1 |
|
56 |
| attemptreopenmethod | manual |
|
60 |
| attemptreopenmethod | manual |
|
57 |
And the following "mod_assign > submissions" exist:
|
61 |
And the following "mod_assign > submissions" exist:
|
58 |
| assign | user | onlinetext |
|
62 |
| assign | user | onlinetext |
|
59 |
| Test assignment name | student1 | I'm the student1 submission |
|
63 |
| Test assignment name | student1 | I'm the student1 submission |
|
Línea 60... |
Línea 64... |
60 |
|
64 |
|
- |
|
65 |
And I am on the "Test assignment name" Activity page logged in as teacher1
|
61 |
And I am on the "Test assignment name" Activity page logged in as teacher1
|
66 |
And I navigate to "Submissions" in current page administration
|
62 |
And I follow "View all submissions"
|
67 |
And I change window size to "large"
|
- |
|
68 |
When I open the action menu in "Student 1" "table_row"
|
63 |
When I open the action menu in "Student 1" "table_row"
|
69 |
And I change window size to "medium"
|
64 |
And I follow "Prevent submission changes"
|
70 |
And I follow "Prevent submission changes"
|
- |
|
71 |
Then I should see "Submission changes not allowed"
|
65 |
Then I should see "Submission changes not allowed"
|
72 |
And I change window size to "large"
|
- |
|
73 |
And I open the action menu in "Student 1" "table_row"
|
66 |
And I open the action menu in "Student 1" "table_row"
|
74 |
And I change window size to "medium"
|
67 |
And I follow "Allow another attempt"
|
75 |
And I follow "Allow another attempt"
|
68 |
And I should see "Reopened"
|
76 |
And I should see "Reopened"
|