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:53:24 +08:00
parent f99313477d
commit a30e1c3192
No known key found for this signature in database
GPG Key ID: B363F7FB787F80E4

View File

@ -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"