Logo: Relish

  1. Sign in

Project: Efclass-authoring-web

Search users

As an
I want to
So that

Background
Given
the following existing users:
First Name Last Name Email Address Role Group
Ann Smith [email protected] administrator auto.Search users/Group 1
Brent Rose [email protected] teacher auto.Search users/Group 1/Sub-group 1
Michaela Harris [email protected] teacher auto.Search users/Group 1/Sub-group 2
Mike Jones [email protected] student auto.Search users/Group 1/Sub-group 3
Ann Morgan [email protected] student auto.Search users/Group 1/Sub-group 4
Michael Smith [email protected] student auto.Search users/Group 1/Sub-group 5
Kevin Rosebury [email protected] student auto.Search users/Group 1/Sub-group 6
Jim Halpert [email protected] teacher auto.Search users/Group 2
Scenarios
List all users
Given
I have logged in as "Ann Smith"
When
I open the users view
Then
all the users from the groups and subgroups where "Ann Smith" is an administrator should be displayed
Searching users with valid keywords
Given
I have logged in as "Ann Smith"
When
I search users using the following keywords: "keywords"
Then
the following users should be listed: "list_of_users"
Examples: Valid keywords in users first name
keywords list_of_users
Mic Michaela Harris,Michael Smith
Ann Kevi Ann Smith,Ann Morgan,Kevin Rosebury
123 abc ent Brent Rose
Examples: Valid keywords in users last name
keywords list_of_users
Ros Brent Rose,Kevin Rosebury
Jon Smit Mike Jones,Ann Smith,Michael Smith
123 abc Mor Ann Morgan
Examples: Valid keywords in users email address
keywords list_of_users
+11 Brent Rose,Mike Jones
[email protected] [email protected] Michaela Harris,Ann Morgan,Kevin Rosebury
123 abc [email protected] Kevin Rosebury
Examples: Valid keywords in users first name or last name or email address
keywords list_of_users
ike org Mike Jones,Ann Morgan
ike org +14 Mike Jones,Ann Morgan,Kevin Rosebury
123 ike org +14 abc Mike Jones,Ann Morgan,Kevin Rosebury
Searching with "invalid keywords" and "non-existent-valid" keywords
Given
I have logged in as "Ann Smith"
When
I search for users using the following keywords: "keywords"
Then
no users search should be performed
Examples: Invalid keywords
keywords
a
ab
Examples: Non-existent-valid keywords
keywords
abc
abc 123
Given
I have logged in as "Ann Smith"
And
I have searched for users using an existent keyword: "<keyword>"
And
I clean my previous search
Then
all the users from the groups and subgroups where "Ann Smith" is an administrator should be displayed

Last published over 5 years ago by Willy De la Cruz Sierra.