MDL-47397 assignfeedback_editpdf: Tests use reliable way to annotate PDF
The drag and drop step did not work, so we moved to using the stamps to annotate the PDF. They do not rely on drag&drop and produce the same effects.
This commit is contained in:
@@ -131,8 +131,8 @@ Feature: In an assignment, teacher can annotate PDF files during grading
|
||||
And I follow "View/grade all submissions"
|
||||
And I click on "Grade" "link" in the "Student 2" "table_row"
|
||||
And I follow "Launch PDF editor..."
|
||||
And I click on ".linebutton" "css_element"
|
||||
And I drag ".drawingcanvas" "css_element" and I drop it in ".assignfeedback_editpdf_widget" "css_element"
|
||||
And I click on ".stampbutton" "css_element"
|
||||
And I click on ".drawingcanvas" "css_element"
|
||||
And I click on "Close" "button"
|
||||
And I press "Save changes"
|
||||
And I should see "The grade changes were saved"
|
||||
|
||||
Reference in New Issue
Block a user