diff --git a/mod/quiz/tests/behat/editing_section_headings.feature b/mod/quiz/tests/behat/editing_section_headings.feature index 8b002f295fe..2520d32c94b 100644 --- a/mod/quiz/tests/behat/editing_section_headings.feature +++ b/mod/quiz/tests/behat/editing_section_headings.feature @@ -149,6 +149,7 @@ Feature: Edit quiz page - section headings And I follow "Remove heading 'Heading 2'" And I should see "Are you sure you want to remove the 'Heading 2' section heading?" And I click on "Yes" "button" in the "Confirm" "dialogue" + And I wait until the page is ready And I wait until "Heading 2" "text" does not exist Then I should see "Heading 1" And I should not see "Heading 2"