diff --git a/grade/grading/form/rubric/tests/behat/grade_calculation.feature b/grade/grading/form/rubric/tests/behat/grade_calculation.feature index 687f1a49c7e..8cf1d3957dd 100644 --- a/grade/grading/form/rubric/tests/behat/grade_calculation.feature +++ b/grade/grading/form/rubric/tests/behat/grade_calculation.feature @@ -23,6 +23,7 @@ Feature: Converting rubric score to grades | activity | name | intro | course | idnumber | grade | advancedgradingmethod_submissions | | assign | Test assignment 1 | Test | C1 | assign1 | | rubric | When I log in as "teacher1" + And I change window size to "large" And I am on "Course 1" course homepage with editing mode on And I go to "Test assignment 1" advanced grading definition page And I set the following fields to these values: diff --git a/lib/tests/behat/behat_general.php b/lib/tests/behat/behat_general.php index 7e1b04a64a4..07902bb1ecc 100644 --- a/lib/tests/behat/behat_general.php +++ b/lib/tests/behat/behat_general.php @@ -869,8 +869,8 @@ class behat_general extends behat_base { // this DOM method instead. $js = <<