Logo: Relish

  1. Sign in

Project: Mobile

submitting requested feedback

Background
Given
I am logged in as a manager
And
there are the following employees not in my downline
First Name Last Name
Jane Doe
And
Jane Doe has requested feedback from me
Scenarios
When
I click on the request feedback link for Jane Doe
Then
I should be on the feedback for others page
And
I should see the text "Feedback for Jane Doe"
And
I should not see the "For:" field
Submitting/Canceling requested feedback
When
I click on the request feedback link for Jane Doe
And
I type "Great job" in the feedback field
And
I click on the "Button" button
Then
I should be on the home page
And
I should see flash messages: Message
Examples:
Button Message
Submit "Feedback Submitted"
Cancel "Feedback Not Submitted"
Submitting requested feedback for someone in my downline - Cancel
Given
I have Joe Bob in my downline
And
Joe Bob has requested feedback from me
When
I click on the request feedback link for Joe Bob
Then
I should be on the enter general feedback page for Joe Bob
When
I click on the dialog close button
Then
I should be on the feedback page for Joe Bob
Submitting requested feedback for someone in my downline - Submit
Given
I have Joe Bob in my downline
And
Joe Bob has requested feedback from me
When
I click on the request feedback link for Joe Bob
Then
I should be on the enter general feedback page for Joe Bob
When
I type "Great job" in the feedback field
And
I click on the "Submit" button
And
I click on the dialog close button
Then
I should be on the feedback page for Joe Bob
Submitting requested feedback for someone in my downline - Submit Multiple times
Given
I have Joe Bob in my downline
And
Joe Bob has requested feedback from me
When
I click on the request feedback link for Joe Bob
Then
I should be on the enter general feedback page for Joe Bob
When
I type "Great job" in the feedback field
And
I click on the "Submit" button
And
I type "I MEAN IT!!" in the feedback field
And
I click on the "Submit" button
And
I click on the dialog close button
Then
I should be on the feedback page for Joe Bob
Given
Jane Doe is Status
When
I click on the request feedback link for Jane Doe
Then
I should be on the home page
And
I should see the message "Employee Not Found"
Examples:
Status
an inactive employee
a deleted employee

Last published about 5 years ago by Trevor Little.