MDL-48426 behat: Wait for redirection after save

After saving wiki comment, page is redirected
Make sure to wait for redirection after save
to avoid random fails
This commit is contained in:
Rajesh Taneja
2014-12-01 11:25:26 +08:00
parent 97cf440401
commit 4eac169974
@@ -40,6 +40,7 @@ Feature: Users can comment on wiki pages
And I set the following fields to these values:
| Comment | student 1 original comment |
And I press "Save"
And I wait to be redirected
@javascript
Scenario: Student can edit and delete their own comment