diff --git a/mod/quiz/tests/behat/manually_mark_question.feature b/mod/quiz/tests/behat/manually_mark_question.feature index f465f191427..5ae87fe5052 100644 --- a/mod/quiz/tests/behat/manually_mark_question.feature +++ b/mod/quiz/tests/behat/manually_mark_question.feature @@ -85,7 +85,7 @@ Feature: Teachers can override the grade for any question And I set the field "Comment" to "\"It's" And I press "Save" and switch to main window And I switch to the main window - And I should see "It's the logo" in the "3" "table_row" - And "//*[contains(@class, 'comment')]//img[contains(@src, 'moodle_logo.jpg')]" "xpath_element" should exist + And I should see "Commented: [It's the logo]" in the ".history table" "css_element" + And "img[contains(@src, 'moodle_logo.jpg')]" "xpath_element" should exist in the ".comment" "css_element" # This time is same as time the window is open. So wait for it to close before proceeding. And I wait "2" seconds