@ -3,6 +3,7 @@ Feature: autocomplete
Given u s i n g a p i v e r s i o n " 2 "
And g r o u p " c o m m o n g r o u p " e x i s t s
And u s e r " a d m i n " b e l o n g s t o g r o u p " c o m m o n g r o u p "
And u s e r " a u t o " e x i s t s
And u s e r " a u t o c o m p l e t e " e x i s t s
And u s e r " a u t o c o m p l e t e 2 " e x i s t s
And u s e r " a u t o c o m p l e t e 2 " b e l o n g s t o g r o u p " c o m m o n g r o u p "
@ -20,9 +21,15 @@ Feature: autocomplete
When p a r a m e t e r " s h a r e a p i _ a l l o w _ s h a r e _ d i a l o g _ u s e r _ e n u m e r a t i o n " o f a p p " c o r e " i s s e t t o " n o "
Then g e t a u t o c o m p l e t e f o r " a u t o "
| i d | s o u r c e |
| a u t o | u s e r s |
Then g e t a u t o c o m p l e t e f o r " a u t o c o m p l e t e "
| i d | s o u r c e |
| a u t o c o m p l e t e | u s e r s |
When p a r a m e t e r " s h a r e a p i _ r e s t r i c t _ u s e r _ e n u m e r a t i o n _ f u l l _ m a t c h " o f a p p " c o r e " i s s e t t o " n o "
Then g e t a u t o c o m p l e t e f o r " a u t o "
| i d | s o u r c e |
Then g e t a u t o c o m p l e t e f o r " a u t o c o m p l e t e "
| i d | s o u r c e |
Scenario : getting autocomplete with limited enumeration by group
@ -30,6 +37,7 @@ Feature: autocomplete
When p a r a m e t e r " s h a r e a p i _ r e s t r i c t _ u s e r _ e n u m e r a t i o n _ t o _ g r o u p " o f a p p " c o r e " i s s e t t o " y e s "
Then g e t a u t o c o m p l e t e f o r " a u t o "
| i d | s o u r c e |
| a u t o | u s e r s |
| a u t o c o m p l e t e 2 | u s e r s |
Then g e t a u t o c o m p l e t e f o r " a u t o c o m p l e t e "
| i d | s o u r c e |
@ -38,6 +46,13 @@ Feature: autocomplete
Then g e t a u t o c o m p l e t e f o r " a u t o c o m p l e t e 2 "
| i d | s o u r c e |
| a u t o c o m p l e t e 2 | u s e r s |
When p a r a m e t e r " s h a r e a p i _ r e s t r i c t _ u s e r _ e n u m e r a t i o n _ f u l l _ m a t c h " o f a p p " c o r e " i s s e t t o " n o "
Then g e t a u t o c o m p l e t e f o r " a u t o c o m p l e t e "
| i d | s o u r c e |
| a u t o c o m p l e t e 2 | u s e r s |
Then g e t a u t o c o m p l e t e f o r " a u t o c o m p l e t e 2 "
| i d | s o u r c e |
| a u t o c o m p l e t e 2 | u s e r s |
Scenario : getting autocomplete with limited enumeration by phone
@ -45,6 +60,7 @@ Feature: autocomplete
When p a r a m e t e r " s h a r e a p i _ r e s t r i c t _ u s e r _ e n u m e r a t i o n _ t o _ p h o n e " o f a p p " c o r e " i s s e t t o " y e s "
Then g e t a u t o c o m p l e t e f o r " a u t o "
| i d | s o u r c e |
| a u t o | u s e r s |
# autocomplete stores their phone number
Given A s a n " a u t o c o m p l e t e "
@ -57,10 +73,17 @@ Feature: autocomplete
Given A s a n " a d m i n "
Then g e t a u t o c o m p l e t e f o r " a u t o "
| i d | s o u r c e |
| a u t o | u s e r s |
# admin populates they have the phone number
When s e a r c h u s e r s b y p h o n e f o r r e g i o n " D E " w i t h
| r a n d o m - s t r i n g 1 | 0 7 1 1 / 2 5 2 4 2 8 - 9 0 |
Then g e t a u t o c o m p l e t e f o r " a u t o "
| i d | s o u r c e |
| a u t o | u s e r s |
| a u t o c o m p l e t e | u s e r s |
When p a r a m e t e r " s h a r e a p i _ r e s t r i c t _ u s e r _ e n u m e r a t i o n _ f u l l _ m a t c h " o f a p p " c o r e " i s s e t t o " n o "
Then g e t a u t o c o m p l e t e f o r " a u t o "
| i d | s o u r c e |
| a u t o c o m p l e t e | u s e r s |
@ -83,6 +106,13 @@ Feature: autocomplete
When s e a r c h u s e r s b y p h o n e f o r r e g i o n " D E " w i t h
| r a n d o m - s t r i n g 1 | 0 7 1 1 / 2 5 2 4 2 8 - 9 0 |
Then g e t a u t o c o m p l e t e f o r " a u t o "
| i d | s o u r c e |
| a u t o | u s e r s |
| a u t o c o m p l e t e | u s e r s |
| a u t o c o m p l e t e 2 | u s e r s |
When p a r a m e t e r " s h a r e a p i _ r e s t r i c t _ u s e r _ e n u m e r a t i o n _ f u l l _ m a t c h " o f a p p " c o r e " i s s e t t o " n o "
Then g e t a u t o c o m p l e t e f o r " a u t o "
| i d | s o u r c e |
| a u t o c o m p l e t e | u s e r s |
@ -108,6 +138,7 @@ Feature: autocomplete
Then g e t a u t o c o m p l e t e f o r " a u t o "
| i d | s o u r c e |
| a u t o | u s e r s |
| a u t o c o m p l e t e | u s e r s |
| a u t o c o m p l e t e 2 | u s e r s |
When p a r a m e t e r " s h a r e a p i _ o n l y _ s h a r e _ w i t h _ g r o u p _ m e m b e r s " o f a p p " c o r e " i s s e t t o " y e s "
@ -121,6 +152,7 @@ Feature: autocomplete
When p a r a m e t e r " s h a r e a p i _ r e s t r i c t _ u s e r _ e n u m e r a t i o n _ t o _ p h o n e " o f a p p " c o r e " i s s e t t o " y e s "
Then g e t a u t o c o m p l e t e f o r " a u t o "
| i d | s o u r c e |
| a u t o | u s e r s |
# autocomplete stores their phone number
Given A s a n " a u t o c o m p l e t e "
@ -133,12 +165,14 @@ Feature: autocomplete
Given A s a n " a d m i n "
Then g e t a u t o c o m p l e t e f o r " a u t o "
| i d | s o u r c e |
| a u t o | u s e r s |
# admin populates they have the phone number
When s e a r c h u s e r s b y p h o n e f o r r e g i o n " D E " w i t h
| r a n d o m - s t r i n g 1 | 0 7 1 1 / 2 5 2 4 2 8 - 9 0 |
Then g e t a u t o c o m p l e t e f o r " a u t o "
| i d | s o u r c e |
| a u t o | u s e r s |
| a u t o c o m p l e t e | u s e r s |
# autocomplete changes their phone number
@ -152,12 +186,14 @@ Feature: autocomplete
Given A s a n " a d m i n "
Then g e t a u t o c o m p l e t e f o r " a u t o "
| i d | s o u r c e |
| a u t o | u s e r s |
# admin populates they have the new phone number
When s e a r c h u s e r s b y p h o n e f o r r e g i o n " D E " w i t h
| r a n d o m - s t r i n g 1 | 0 7 1 1 / 2 5 2 4 2 8 - 9 1 |
Then g e t a u t o c o m p l e t e f o r " a u t o "
| i d | s o u r c e |
| a u t o | u s e r s |
| a u t o c o m p l e t e | u s e r s |