Logo: Relish

  1. Sign in

Project: Mobile

Overall Rating Page

Background
Given
I am logged in as a mobile manager
And
I have Doe, John in my downline
And
there is the following goal rating scale for the current goal period
value name description
1 At Risk description 1
2 Below Expectations description 2
3 Meets Expectations description 3
4 Above Expectations description 4
5 Mentor description 5
Scenarios
Default view for overall rating page
Given
user has given themselves an overall rating of 3
And
their manager has not given them an overall rating
When
I go to the overall rating page for user
Then
I should see the rating button
And
the employee rating should be set to 3
And
the manager rating should be 'Not Rated'
And
I should see a feedback button
Examples:
user
John Doe
self
Clicking rating button
Given
I am on the overall rating page
When
I click on the overall rating button
Then
I should be on the overall rating dialog
Viewing the overall rating dialog for self
Given
I have given myself an overall rating of 4
When
I go to the overall rating dialog for self
Then
I should see the active employee rating icon on the rating bar for value 4
And
I should not see the manager rating icon on the rating bar
And
the rating scale button for 4 should be selected
Viewing the overall rating dialog for downline
Given
John Doe have given himself an overall rating of 4
And
I have given John Doe an overall rating of 3
When
I go to the overall rating dialog for John Doe
Then
I should see the inactive employee rating icon on the rating bar for value 4
And
I should see the active manager rating icon on the rating bar for value 3
And
the rating scale button for 3 should be selected
Clicking submit/cancel buttons as a user
Given
I have given myself an overall rating of 2
When
I go to the overall rating dialog for self
And
I click rating scale button for "4 - Above Expectations"
Then
I should see the active employee rating icon on the rating bar for value 4
When
I click on "button"
Then
the overall rating dialog should close
And
I should be on the overall rating page
And
the employee rating should be set to value
Examples:
button value
Submit 4
Cancel 2
the browser Back button 2
Clicking submit/cancel buttons as a manager
Given
I have given John Doe an overall rating of 2
When
I go to the overall rating dialog for John Doe
And
I click rating scale button for "4 - Above Expectations"
Then
I should see the active manager rating icon on the rating bar for value 4
When
I click on "button"
Then
the overall rating dialog should close
And
I should be on the overall rating page for John Doe
And
the manager rating should be set to value
Examples:
button value
Submit 4
Cancel 2
the browser Back button 2

Last published about 5 years ago by Trevor Little.