diff --git a/mod/messages/tests/behat/app_basic_usage.feature b/mod/messages/tests/behat/app_basic_usage.feature index 142f4dd63..e03fe7502 100755 --- a/mod/messages/tests/behat/app_basic_usage.feature +++ b/mod/messages/tests/behat/app_basic_usage.feature @@ -92,4 +92,19 @@ Feature: Test basic usage of messages in app And I should see "Teacher teacher" And I press the back button in the app And I press "Teacher teacher" in the app - And I should see "heeey student" \ No newline at end of file + And I should see "heeey student" + + @app @3.8.0 @OK + Scenario: Search users + When I enter the app + And I log in as "student1" + Then the header should be "Acceptance test site" in the app + And I should see "Course 1" + And I press "Messages" in the app + And I press "addon.messages.search" in the app + And I set the field "Search" to "student2" in the app + And I press "search" in the app + Then I should see "Student2 student2" + And I set the field "Search" to "Teacher" in the app + And I press "search" in the app + Then I should see "Teacher teacher" \ No newline at end of file