From 894f2f161e6890e753262ae5390cb080d0048546 Mon Sep 17 00:00:00 2001 From: Muhammad Arnaldo Date: Tue, 23 Dec 2025 16:28:09 +0700 Subject: [PATCH] MDL-86527 behat: Avoid element-click-intercepted failures Adjusts the window size to accommodate wide tables. This ensures that columns which were previously clipped are now visible and accessible to the Behat driver. --- grade/tests/behat/grade_aggregation.feature | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/grade/tests/behat/grade_aggregation.feature b/grade/tests/behat/grade_aggregation.feature index 7329d47d401..09222de71d4 100644 --- a/grade/tests/behat/grade_aggregation.feature +++ b/grade/tests/behat/grade_aggregation.feature @@ -250,7 +250,8 @@ Feature: We can use calculated grade totals | Aggregation | Natural | | Include outcomes in aggregation | 1 | | Exclude empty grades | 0 | - And I change window size to "large" + # Change window size to ultra-wide to avoid 'element-click-intercepted' failures. + And I change window size to "5120x2160" And I navigate to "View > Grader report" in the course gradebook And I give the grade "Excellent" to the user "Student 1" for the grade item "Test outcome item one" And I press "Save changes" @@ -305,7 +306,8 @@ Feature: We can use calculated grade totals And I set the following settings for grade item "Test outcome item one" of type "gradeitem" on "setup" page: | Weight adjusted | 1 | | aggregationcoef2 | 100 | - And I change window size to "large" + # Change window size to ultra-wide to avoid 'element-click-intercepted' failures. + And I change window size to "5120x2160" And I navigate to "View > Grader report" in the course gradebook And I give the grade "Excellent" to the user "Student 1" for the grade item "Test outcome item one" And I press "Save changes"