Logo: Relish

  1. Sign in

Project: Mobile

Enter Feedback For Others

Background
Given
I am logged in as a mobile manager
And
there are the following employees
First Name Last Name Email Active Deleted Manager Name
Smith Day [email protected] Yes No Tom Locks
John Smith [email protected] Yes No Ellie May
Smith Xmen Yes No Tom Locks
inactive Smith [email protected] No No Ellie May
Deleted Smith [email protected] Yes Yes Tom Locks
Scenarios
Searching for employees
Given
I am on the feedback for others dialog
When
I type "Smith" in the "For:" field
Then
I should only see the following list of names in this order: Day, Smith(Manager: Tom Locks); Smith, John(Manager: Ellie May); Xmen, Smith(Manager: Tom Locks)
And
the submit button should be disabled
Entering Feedback
Given
I am on the feedback for others dialog
When
I type "Smith" in the "For:" field
And
I select Day, Smith from the employee lookup field
And
I type "Great job" in the feedback field
Then
the submit button should be enabled
When
I click on "Button"
Then
I should be on the home page
And
I Should/Should Not see the success message
Examples:
Button Should/Should Not
Submit should
Cancel should not
the browser Back button should not
Checking to see if feedback is posted
Given
I am on the feedback for others dialog
And
I have a direct report named Steven Nash
When
I type "Nash" in the "For:" field
And
I select Nash, Steven from the employee lookup field
And
I type "Great job" in the feedback field
And
the submit button should be enabled
And
I click on "Submit"
And
I should be on the home page
When
I am on the page for entering general feedback for Steven Nash
Then
I should see the text "Great job"

Last published about 5 years ago by Trevor Little.