Logo: Relish

  1. Sign in

Project: Mobile

Request Feedback

As an employee
I want an easy way to request feedback from someone within the orgainzation
So they have a way to leave feedback for me

Background
Given
I am logged in as a mobile manager named Mobile Manager
And
I have Jane Doe in my downline
And
there are the following employees
First Name Last Name Email Active Deleted Manager Name
John Smith [email protected] Yes No Ellie May
Smith Day [email protected] Yes No Tom Locks
Inactive Smith [email protected] No No Ellie May
Deleted Smith [email protected] Yes Yes Tom Locks
NoEmail Smith Yes No Ellie May
NoENoActive Smith No No Ellie May
NoEmailDel Smith No Yes Tom Locks
And
there are the following non-employee users
First Name Last Name Email Active Has Employee Record
Starfield Smith [email protected] Yes Yes
Orchestrata Smith [email protected] Yes No
Yevgeniy Smith [email protected] No No
Pamela Smith [email protected] No Yes
Talent Smith Yes Yes
Performance Smith Yes No
Internal Smith No Yes
Paul Smith No No
Scenarios
Searching for Employees
Given
I am on the feedback page for employee
And
I click on "Request Feedback"
Then
I should be on the request feedback dialog for employee
When
I type name in the "From:" field
Then
I should only see the following list of names in this order: list of names
And
the submit button should be disabled
Examples:
employee name list of names
self "Smith" Day, Smith(Manager: Tom Locks); Smith, John(Manager: Ellie May)
self "Mobile"
self "Manager"
Jane Doe "Smith" Day, Smith(Manager: Tom Locks); Smith, John(Manager: Ellie May)
Jane Doe "Mobile"
Jane Doe "Manager"
Request Feedback
Given
I am on the feedback page for employee
And
I click on "Request Feedback"
And
I should be on the request feedback dialog for employee
When
I type "Smith" in the "From:" field
And
I select Day, Smith from the employee lookup field
Then
the submit button should be enabled
When
I click on "button"
Then
I should be on the feedback page for employee
And
I should/should not see the success message
And
a feedback request email should/should not be generated to Day, Smith
Examples:
employee button should/should not
self Request should
Jane Doe Request should
self Cancel should not
Jane Doe Cancel should not
self the browser Back button should not
Jane Doe the browser Back button should not
Searching for a user not in the Database
Given
I am on the feedback page for employee
And
I click on "Request Feedback"
Then
I should be on the request feedback dialog for employee
When
I type "NOTHEREAGAIN" in the "From:" field
Then
I should see the message "No Matching Employees"
And
the submit button should be disabled
Examples:
employee
self
Jane Doe

Last published about 5 years ago by Trevor Little.