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:24:04 +08:00
parent d87bcfb325
commit 146dbacc45

View File

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