From bd9b502ac6ac070e528c14f1a351e41ce350c9a9 Mon Sep 17 00:00:00 2001 From: Sara Arjona Date: Wed, 24 Apr 2019 19:40:17 +0200 Subject: [PATCH] MDL-65170 core_user: fix behat for viewing full profile Users belonging to the same course with separate groups forced will only be able to find their contacts or other users on the same group. --- user/tests/behat/view_full_profile.feature | 3 +++ 1 file changed, 3 insertions(+) diff --git a/user/tests/behat/view_full_profile.feature b/user/tests/behat/view_full_profile.feature index bec31702793..485beb6ee8f 100644 --- a/user/tests/behat/view_full_profile.feature +++ b/user/tests/behat/view_full_profile.feature @@ -97,6 +97,9 @@ Feature: Access to full profiles of users | Force group mode | Yes | And I press "Save and display" And I log out + And the following "message contacts" exist: + | user | contact | + | student1 | student2 | When I log in as "student1" And I view the "Student 2" contact in the message area And I should not see "First access to site"