Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @javascript
- Scenario: View Final Summary - Notify Client of Changes by coach
- Given I am logged in as coach@example.com
- And I have not Coaching Administrator role
- And I have "Coach" role
- And I am a "coach" of one engagement
- And coaching sessions step was finished
- And there are "1" goals with my client
- And goal № "1" with score "No Progress"
- And coach completed the final summary
- When I go to the engagement details page
- Then I should see "Client Reviewing Final Summary"
- And I should see "The client is reviewing the final summary provided by the coach."
- And I should see "If you need to make changes please do so below."
- And I should see goal № "1" with "No Progress""(0)" progress and goal description "description_1"
- When I click "edit" link for goal
- Then I fill in "goal_assessment" with "goal was finished successful"
- And I select "2 - Strong Progress" from "goal_score"
- When I press "Save"
- Then I should be on the engagement details page
- And I should see goal № "1" with "Strong Progress""(2)" progress and goal description "description_1"
- And I should see "Notify Client of Changes"
- When I press "Notify Client of Changes"
- Then I should see "Send notification"
- And I should see "The client will notified of the changes."
- And I should see "Add an optional message to the notification"
- And I fill in "body_notification" with "please, review to changes"
- When I press "Send"
- Then I should be on the engagement details page
- When I go to the sent page
- Then I should see "Review Final Summary"
- @javascript
- Scenario: View Final Summary - edit Overall Assessment by coach
- Given I am logged in as coach@example.com
- And I have not Coaching Administrator role
- And I have "Coach" role
- And I am a "coach" of one engagement
- And coaching sessions step was finished
- And there are "1" goals with my client
- And goal № "1" with score "No Progress"
- And coach completed the final summary
- When I go to the engagement details page
- Then I should see "If you need to make changes please do so below."
- And I should see goal № "1" with "No Progress""(0)" progress and goal description "description_1"
- And I should see "Overall Assessment"
- And I should see "edit"
- When I click "edit" link for overall assessment
- Then I should see "Update your overall assessment:"
- When I fill in "overall_assessment" with "everything is ok"
- And I press "Save"
- Then I should be on the engagement details page
- And I should see "everything is ok"
- @javascript
- Scenario: View Final Summary - completing the milestone by client
- Given I am logged in as client@example.com
- And I have not Coaching Administrator role
- And I have "Client" role
- And I am a "client" of one engagement
- And coaching sessions step was finished
- And there are "1" goals with my client
- And goal № "1" with score "Strong Progress"
- And coach completed the final summary
- When I go to the engagement details page
- Then I should see goal № "1" with "Strong Progress""(2)" progress and goal description "description_1"
- And I should see "Accept"
- When I press "Accept"
- Then I should see "Confirmation"
- And I should see "Congratulations on completing your coaching engagement."
- When I press "OK"
- Then I should be on the engagement details page
- And I should see "Engagement Completed !"
- And I should see "Congratulations your coaching engagement was completed on"
- And I should see "The final assessment for the engagement is shown below."
- Scenario: View Final Summary - completing the milestone for coach
- Given I am logged in as coach@example.com
- And I have not Coaching Administrator role
- And I have "Coach" role
- And I am a "coach" of one engagement
- And coaching sessions step was finished
- And there are "1" goals with my client
- And goal № "1" with score "Strong Progress"
- And coach completed the final summary
- And client finished the final summary
- When I go to the engagements page
- Then I should see "Completed (1)"
- Scenario: View Final Summary - completing the milestone for engagement manager
- Given I am logged in as eng_man@example.com
- And I have not Coaching Administrator role
- And I have "Engagement Manager" role
- And I am the "engagement manager" of one engagement
- And coaching sessions step was finished
- And there are "1" goals with my client
- And goal № "1" with score "Strong Progress"
- And coach completed the final summary
- And client finished the final summary
- When I go to the engagements page
- Then I should see "Completed (1)"
- Scenario: View Final Summary - completing the milestone for client manager
- Given I am logged in as cl_man@example.com
- And I have not Coaching Administrator role
- And I have "Client's Manager" role
- And I am the "client's manager" of one engagement
- And coaching sessions step was finished
- And there are "1" goals with my client
- And goal № "1" with score "Strong Progress"
- And coach completed the final summary
- And client finished the final summary
- When I go to the engagements page
- Then I should see "Completed (1)"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement