| Línea 33... |
Línea 33... |
| 33 |
| assign | Test assignment name |
|
33 |
| assign | Test assignment name |
|
| 34 |
| user | student1 |
|
34 |
| user | student1 |
|
| 35 |
| file | mod/assign/feedback/editpdf/tests/fixtures/testgs.pdf |
|
35 |
| file | mod/assign/feedback/editpdf/tests/fixtures/testgs.pdf |
|
| Línea 36... |
Línea 36... |
| 36 |
|
36 |
|
| 37 |
When I am on the "Test assignment name" Activity page logged in as teacher1
|
37 |
When I am on the "Test assignment name" Activity page logged in as teacher1
|
| 38 |
And I follow "View all submissions"
|
38 |
And I change window size to "large"
|
| - |
|
39 |
And I go to "Submitted for grading" "Test assignment name" activity advanced grading page
|
| 39 |
And I click on "Grade" "link" in the "Submitted for grading" "table_row"
|
40 |
And I change window size to "medium"
|
| 40 |
Then I should see "Page 1 of 1"
|
41 |
Then I should see "Page 1 of 1"
|
| 41 |
And I wait for the complete PDF to load
|
42 |
And I wait for the complete PDF to load
|
| 42 |
And I click on ".linebutton" "css_element"
|
43 |
And I click on ".linebutton" "css_element"
|
| 43 |
And I draw on the pdf
|
44 |
And I draw on the pdf
|
| Línea 51... |
Línea 52... |
| 51 |
And I upload "mod/assign/feedback/editpdf/tests/fixtures/submission.pdf" file to "File submissions" filemanager
|
52 |
And I upload "mod/assign/feedback/editpdf/tests/fixtures/submission.pdf" file to "File submissions" filemanager
|
| 52 |
And I press "Save changes"
|
53 |
And I press "Save changes"
|
| 53 |
And I follow "View annotated PDF..."
|
54 |
And I follow "View annotated PDF..."
|
| 54 |
Then I should see "Page 1 of 1"
|
55 |
Then I should see "Page 1 of 1"
|
| 55 |
And I am on the "Test assignment name" Activity page logged in as teacher1
|
56 |
And I am on the "Test assignment name" Activity page logged in as teacher1
|
| 56 |
And I follow "View all submissions"
|
57 |
And I change window size to "large"
|
| 57 |
And I click on "Grade" "link" in the "Submitted for grading" "table_row"
|
58 |
And I go to "Submitted for grading" "Test assignment name" activity advanced grading page
|
| - |
|
59 |
And I change window size to "medium"
|
| 58 |
Then I should see "Page 1 of 3"
|
60 |
Then I should see "Page 1 of 3"
|
| 59 |
And I wait for the complete PDF to load
|
61 |
And I wait for the complete PDF to load
|
| 60 |
And I click on ".linebutton" "css_element"
|
62 |
And I click on ".linebutton" "css_element"
|
| 61 |
And I draw on the pdf
|
63 |
And I draw on the pdf
|
| 62 |
And I press "Save changes"
|
64 |
And I press "Save changes"
|
| Línea 95... |
Línea 97... |
| 95 |
| user | student1 |
|
97 |
| user | student1 |
|
| 96 |
| file | mod/assign/feedback/editpdf/tests/fixtures/submission.pdf, mod/assign/feedback/editpdf/tests/fixtures/testgs.pdf |
|
98 |
| file | mod/assign/feedback/editpdf/tests/fixtures/submission.pdf, mod/assign/feedback/editpdf/tests/fixtures/testgs.pdf |
|
| 97 |
And I log in as "admin"
|
99 |
And I log in as "admin"
|
| 98 |
And I am on site homepage
|
100 |
And I am on site homepage
|
| 99 |
And I navigate to "Plugins > Activity modules > Assignment > Feedback plugins > Annotate PDF" in site administration
|
101 |
And I navigate to "Plugins > Activity modules > Assignment > Feedback plugins > Annotate PDF" in site administration
|
| 100 |
And I upload "pix/help.png" file to "" filemanager
|
102 |
And I upload "pix/moodlelogo.png" file to "" filemanager
|
| 101 |
And I upload "pix/docs.png" file to "" filemanager
|
103 |
And I upload "pix/i/test.png" file to "" filemanager
|
| 102 |
And I press "Save changes"
|
104 |
And I press "Save changes"
|
| 103 |
And I should see "Changes saved"
|
105 |
And I should see "Changes saved"
|
| 104 |
And I follow "Test ghostscript path"
|
106 |
And I follow "Test ghostscript path"
|
| 105 |
And I should see "The ghostscript path appears to be OK"
|
107 |
And I should see "The ghostscript path appears to be OK"
|
| 106 |
And I am on site homepage
|
108 |
And I am on site homepage
|
| 107 |
And I log out
|
109 |
And I log out
|
| Línea 108... |
Línea 110... |
| 108 |
|
110 |
|
| 109 |
When I am on the "Test assignment name" Activity page logged in as teacher1
|
111 |
When I am on the "Test assignment name" Activity page logged in as teacher1
|
| 110 |
And I follow "View all submissions"
|
112 |
And I change window size to "large"
|
| - |
|
113 |
And I go to "Submitted for grading" "Test assignment name" activity advanced grading page
|
| 111 |
And I click on "Grade" "link" in the "Submitted for grading" "table_row"
|
114 |
And I change window size to "medium"
|
| 112 |
Then I should see "Page 1 of 3"
|
115 |
Then I should see "Page 1 of 3"
|
| 113 |
And I click on ".navigate-next-button" "css_element"
|
116 |
And I click on ".navigate-next-button" "css_element"
|
| 114 |
And I should see "Page 2 of 3"
|
117 |
And I should see "Page 2 of 3"
|
| 115 |
And I click on ".stampbutton" "css_element"
|
118 |
And I click on ".stampbutton" "css_element"
|
| Línea 175... |
Línea 178... |
| 175 |
| assign | Test assignment name |
|
178 |
| assign | Test assignment name |
|
| 176 |
| user | student1 |
|
179 |
| user | student1 |
|
| 177 |
| file | mod/assign/feedback/editpdf/tests/fixtures/submission.pdf |
|
180 |
| file | mod/assign/feedback/editpdf/tests/fixtures/submission.pdf |
|
| Línea 178... |
Línea 181... |
| 178 |
|
181 |
|
| 179 |
And I am on the "Test assignment name" Activity page logged in as teacher1
|
- |
|
| 180 |
And I follow "View all submissions"
|
182 |
And I am on the "Test assignment name" Activity page logged in as teacher1
|
| 181 |
And I open the action menu in "Student 2" "table_row"
|
- |
|
| 182 |
And I click on "Grade" "link" in the "Student 2" "table_row"
|
183 |
And I go to "Student 1" "Test assignment name" activity advanced grading page
|
| 183 |
And I wait for the complete PDF to load
|
184 |
And I wait for the complete PDF to load
|
| 184 |
And I click on ".linebutton" "css_element"
|
185 |
And I click on ".linebutton" "css_element"
|
| 185 |
And I draw on the pdf
|
186 |
And I draw on the pdf
|
| 186 |
And I press "Save changes"
|
187 |
And I press "Save changes"
|