MDL-48682 behat: Changing window size on specific tests
authorDavid Monllao <davidm@moodle.com>
Wed, 4 Mar 2015 02:57:54 +0000 (10:57 +0800)
committerDavid Monllao <davidm@moodle.com>
Fri, 6 Mar 2015 03:02:45 +0000 (11:02 +0800)
mod/assign/feedback/editpdf/tests/behat/annotate_pdf.feature
mod/assign/feedback/editpdf/tests/behat/group_annotations.feature

index b49f680..d047b5c 100644 (file)
@@ -131,6 +131,7 @@ 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 change window size to "large"
     And I click on ".stampbutton" "css_element"
     And I click on ".drawingcanvas" "css_element"
     And I click on "Close" "button"
index 1bdb027..31fc64f 100644 (file)
@@ -53,6 +53,7 @@ Feature: In a group assignment, teacher can annotate PDF files for all users
     And I follow "View/grade all submissions"
     And I click on "Grade" "link" in the "Submitted for grading" "table_row"
     And I follow "Launch PDF editor..."
+    And I change window size to "large"
     And I click on ".navigate-next-button" "css_element"
     And I click on ".stampbutton" "css_element"
     And I click on ".drawingcanvas" "css_element"