From e28e1e2ea69278bdd55f13cbfe779c7f88bd49bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Calvi=C3=B1o=20S=C3=A1nchez?= Date: Fri, 26 Sep 2025 15:34:13 +0200 Subject: [PATCH] test: Extend tests to check the same cases with and without full match MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Daniel Calviño Sánchez --- .../collaboration_features/autocomplete.feature | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/build/integration/collaboration_features/autocomplete.feature b/build/integration/collaboration_features/autocomplete.feature index 5044758a70f..ef4ee27bfda 100644 --- a/build/integration/collaboration_features/autocomplete.feature +++ b/build/integration/collaboration_features/autocomplete.feature @@ -47,11 +47,20 @@ Feature: autocomplete | key | email | | value | autocomplete@example.com | And there is a contact in an addressbook + When parameter "shareapi_restrict_user_enumeration_full_match" of app "core" is set to "no" + Then get email autocomplete for "auto" + | id | source | + | autocomplete | users | Then get email autocomplete for "example" | id | source | | autocomplete | users | | leon@example.com | emails | | user@example.com | emails | + Then get email autocomplete for "autocomplete@example.com" + | id | source | + | autocomplete | users | + | autocomplete@example.com | emails | + When parameter "shareapi_restrict_user_enumeration_full_match" of app "core" is set to "yes" Then get email autocomplete for "auto" | id | source | | autocomplete | users | @@ -72,10 +81,15 @@ Feature: autocomplete And there is a contact in an addressbook And parameter "shareapi_allow_share_dialog_user_enumeration" of app "core" is set to "no" When parameter "shareapi_restrict_user_enumeration_full_match" of app "core" is set to "no" + Then get email autocomplete for "auto" + | id | source | Then get email autocomplete for "example" | id | source | | leon@example.com | emails | | user@example.com | emails | + Then get email autocomplete for "autocomplete@example.com" + | id | source | + | autocomplete@example.com | emails | When parameter "shareapi_restrict_user_enumeration_full_match" of app "core" is set to "yes" Then get email autocomplete for "auto" | id | source |