MDL-52347 behat: fix random failures on fast computer

This commit is contained in:
Marina Glancy
2015-12-24 14:14:58 +08:00
committed by Rajesh Taneja
parent afbb53d70b
commit a4269b45bc
3 changed files with 6 additions and 0 deletions
@@ -23,6 +23,7 @@ Background:
And I press "Post to forum"
And I wait to be redirected
And I follow "Course 1"
And I wait "1" seconds
And I press "Add a new discussion topic"
And I set the following fields to these values:
| Subject | Forum Post 9 |
@@ -30,6 +31,7 @@ Background:
And I press "Post to forum"
And I wait to be redirected
And I follow "Course 1"
And I wait "1" seconds
And I press "Add a new discussion topic"
And I set the following fields to these values:
| Subject | Forum Post 8 |
@@ -78,6 +80,7 @@ Background:
| Message | This is forum post two |
And I press "Post to forum"
And I wait to be redirected
And I wait "1" seconds
And I follow "Course 1"
And I press "Add a new discussion topic"
And I set the following fields to these values:
@@ -11,6 +11,7 @@ Feature: Message history displays correctly
| user2 | User | Two | two@example.com |
And I log in as "user1"
And I send "Message 1 from user1 to user2" message to "User Two" user
And I wait "1" seconds
And I send "Message 2 from user1 to user2" message to "User Two" user
And I send "Message 3 from user1 to user2" message to "User Two" user
And I send "Message 4 from user1 to user2" message to "User Two" user
@@ -19,6 +20,7 @@ Feature: Message history displays correctly
And I send "Message 7 from user1 to user2" message to "User Two" user
And I send "Message 8 from user1 to user2" message to "User Two" user
And I send "Message 9 from user1 to user2" message to "User Two" user
And I wait "1" seconds
And I send "Message 10 from user1 to user2" message to "User Two" user
Scenario: View sent messages
@@ -56,6 +56,7 @@ Feature: A user can navigate to previous and next discussions
And I follow "Discussion 1"
And I should see "Discussion 2"
And I should not see "Discussion 3"
And I wait "1" seconds
And I follow "Reply"
And I set the following fields to these values:
| Message | Answer to discussion |