From fd42923e67ed98edc45aae1d1e852778f8d20036 Mon Sep 17 00:00:00 2001 From: rajesh Taneja Date: Tue, 3 Nov 2015 09:40:33 +0800 Subject: [PATCH] MDL-52020 behat: Removed text checking to ensure window switch Comment question window closes after 2 sec. which crashes win-FF as it's slow to check for "Changes saved" text. As after switching it is checked the changes are saved, this step can be avoided to ensure robustness of the scenario --- mod/quiz/tests/behat/manually_mark_question.feature | 1 - 1 file changed, 1 deletion(-) diff --git a/mod/quiz/tests/behat/manually_mark_question.feature b/mod/quiz/tests/behat/manually_mark_question.feature index 8f77bab80f5..eb21e19b9d6 100644 --- a/mod/quiz/tests/behat/manually_mark_question.feature +++ b/mod/quiz/tests/behat/manually_mark_question.feature @@ -54,7 +54,6 @@ Feature: Teachers can override the grade for any question And I should see "That is not a valid number." And I set the field "Mark" to "10.0" And I press "Save" - And I should see "Changes saved" And I switch to the main window And I should see "Complete" in the "Manually graded 10 with comment: " "table_row" # This time is same as time the window is open. So wait for it to close before proceeding.