MDL-57851 behat: Add some more wait for scenario to pass

On slow machine with phnatomjs profile
this scenario keeps failing. Add some more
wait to ensure the page is stable and next
step can be executed
This commit is contained in:
Rajesh Taneja
2017-02-03 12:54:45 +08:00
parent c16c53d137
commit e16448d3f1
@@ -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"