Logo: Relish

  1. Sign in

Project: Mobile

Rating Capability for Goals

As a user or manager
When I click on the rating option in goals
I should have a way to select a rating

User,
I can rate my goals as long as they are in the current goal period
I can view targets when rating my goals
I can update the rating at anytime

Manager,
I can rate my direct reports goals as long as they are in the current goal period
I can view targets when rating direct reports goals
I can update the rating at anytime

Background
Given
I am logged in as a mobile manager
And
I have a direct report named John Doe
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 performance goal page
Given
I have a performance goal with goal targets
And
I go to the goals page
And
I click on the goal rating button
Then
I should see the goal rater dialog for that performance goal
And
the page should have the Submit, Cancel buttons
And
I should see the goal name
And
I should see the rating bar
And
I should not see a employee rating icon
And
I should not see a manager rating icon
And
I should see the rating scale buttons with targets
Clicking rating buttons for ajax loaded reseults
Given
I have 11 performance goals with goal targets
And
I go to the goals page
When
I scroll to the bottom of the page
And
I click on the 11th rating button
Then
I should see the goal rater dialog for that performance goal
Viewing a goal that self has rated
Given
I have the following performance goals
Goal Name Self Rating
Self Rated Goal 4
When
I go to the goals page
And
I click on the goal rating button
Then
I should see the goal rater dialog for that performance goal
And
I should see the employee rating icon
And
the rating icon set to 4 should be styled active
And
the rating scale button for 4 should be selected
Viewing the performance goal rating dialog for downline
Given
John Doe has the following performance goals
Goal Name Self Rating Manager Rating
Manager Rated Goal 4 3
When
I go to the goals page for John Doe
And
I click on the goal rating button
Then
I should see the goal rater dialog for that performance goal
And
the rating icon set to 4 should be styled inactive
And
the rating icon set to 3 should be styled active
And
the rating scale button for 3 should be selected
Clicking submit/cancel buttons as a user
Given
I have the following performance goals
Goal Name Self Rating
Self Rated Goal 2
When
I go to the goals page
And
I click on the goal rating button
Then
I should see the goal rater dialog for that performance goal
And
I click on the li with the text "4 - Above Expectations"
Then
the rating icon set to 4 should be styled active
When
I click on "button"
Then
the page should not contain a dialog
And
I should be on the goals page
And
the employee rating should be set to value
Examples: Buttons and new values
button value
Submit 4
Cancel 2
the browser Back button 2
Clicking submit/cancel buttons as a manager
Given
John Doe has the following performance goals
Goal Name Manager Rating
Manager Rated Goal 2
When
I go to the goals page for John Doe
And
I click on the goal rating button
Then
I should see the goal rater dialog for that performance goal
And
I click on the li with the text "4 - Above Expectations"
Then
the rating icon set to 4 should be styled active
When
I click on "button"
Then
the page should not contain a dialog
And
I should be on the goals page for John Doe
And
the manager rating should be set to value
Examples: Buttons and new values
button value
Submit 4
Cancel 2
the browser Back button 2
Rating an unrated goal as a user
Given
I have the following performance goals
Goal Name Self Rating
Self Rated Goal 0
When
I go to the goals page
And
I click on the goal rating button
Then
I should see the goal rater dialog for that performance goal
And
I click on the li with the text "4 - Above Expectations"
Then
the rating icon set to 4 should be styled active
When
I click on "Submit"
Then
the page should not contain a dialog
And
I should be on the goals page
And
the employee rating should be set to 4
Rating an unrated goal as a manager
Given
John Doe has the following performance goals
Goal Name Manager Rating
Manager Rated Goal 0
When
I go to the goals page for John Doe
And
I click on the goal rating button
Then
I should see the goal rater dialog for that performance goal
And
I click on the li with the text "4 - Above Expectations"
Then
the rating icon set to 4 should be styled active
When
I click on "Submit"
Then
the page should not contain a dialog
And
I should be on the goals page for John Doe
And
the manager rating should be set to 4

Last published about 5 years ago by Trevor Little.