Skip to content

Commit 7441f15

Browse files
committed
test: Extend tests to check the same cases with and without full match
Signed-off-by: Daniel Calviño Sánchez <[email protected]>
1 parent e4d58d3 commit 7441f15

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

build/integration/collaboration_features/autocomplete.feature

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,20 @@ Feature: autocomplete
4747
| key | email |
4848
| value | autocomplete@example.com |
4949
And there is a contact in an addressbook
50+
When parameter "shareapi_restrict_user_enumeration_full_match" of app "core" is set to "no"
51+
Then get email autocomplete for "auto"
52+
| id | source |
53+
| autocomplete | users |
5054
Then get email autocomplete for "example"
5155
| id | source |
5256
| autocomplete | users |
5357
| leon@example.com | emails |
5458
| user@example.com | emails |
59+
Then get email autocomplete for "[email protected]"
60+
| id | source |
61+
| autocomplete | users |
62+
| autocomplete@example.com | emails |
63+
When parameter "shareapi_restrict_user_enumeration_full_match" of app "core" is set to "yes"
5564
Then get email autocomplete for "auto"
5665
| id | source |
5766
| autocomplete | users |
@@ -72,10 +81,15 @@ Feature: autocomplete
7281
And there is a contact in an addressbook
7382
And parameter "shareapi_allow_share_dialog_user_enumeration" of app "core" is set to "no"
7483
When parameter "shareapi_restrict_user_enumeration_full_match" of app "core" is set to "no"
84+
Then get email autocomplete for "auto"
85+
| id | source |
7586
Then get email autocomplete for "example"
7687
| id | source |
7788
| leon@example.com | emails |
7889
| user@example.com | emails |
90+
Then get email autocomplete for "[email protected]"
91+
| id | source |
92+
| autocomplete@example.com | emails |
7993
When parameter "shareapi_restrict_user_enumeration_full_match" of app "core" is set to "yes"
8094
Then get email autocomplete for "auto"
8195
| id | source |

0 commit comments

Comments
 (0)