diff --git a/course/format/social/tests/behat/social_adjust_discussion_count.feature b/course/format/social/tests/behat/social_adjust_discussion_count.feature index 2a589ec03811d..874878690486a 100644 --- a/course/format/social/tests/behat/social_adjust_discussion_count.feature +++ b/course/format/social/tests/behat/social_adjust_discussion_count.feature @@ -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: diff --git a/message/tests/behat/display_history.feature b/message/tests/behat/display_history.feature index 9083023242a26..62b0766f9a7e8 100644 --- a/message/tests/behat/display_history.feature +++ b/message/tests/behat/display_history.feature @@ -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 diff --git a/mod/forum/tests/behat/discussion_navigation.feature b/mod/forum/tests/behat/discussion_navigation.feature index b2447727fc6cb..49c83e3af3591 100644 --- a/mod/forum/tests/behat/discussion_navigation.feature +++ b/mod/forum/tests/behat/discussion_navigation.feature @@ -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 |