Guest User

Untitled

a guest
Aug 2nd, 2017
433
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.28 KB | None | 0 0
  1. @javascript
  2. Scenario: View Final Summary - Notify Client of Changes by coach
  3. Given I am logged in as [email protected]
  4. And I have not Coaching Administrator role
  5. And I have "Coach" role
  6. And I am a "coach" of one engagement
  7. And coaching sessions step was finished
  8. And there are "1" goals with my client
  9. And goal № "1" with score "No Progress"
  10. And coach completed the final summary
  11. When I go to the engagement details page
  12. Then I should see "Client Reviewing Final Summary"
  13. And I should see "The client is reviewing the final summary provided by the coach."
  14. And I should see "If you need to make changes please do so below."
  15. And I should see goal № "1" with "No Progress""(0)" progress and goal description "description_1"
  16. When I click "edit" link for goal
  17. Then I fill in "goal_assessment" with "goal was finished successful"
  18. And I select "2 - Strong Progress" from "goal_score"
  19. When I press "Save"
  20. Then I should be on the engagement details page
  21. And I should see goal № "1" with "Strong Progress""(2)" progress and goal description "description_1"
  22. And I should see "Notify Client of Changes"
  23. When I press "Notify Client of Changes"
  24. Then I should see "Send notification"
  25. And I should see "The client will notified of the changes."
  26. And I should see "Add an optional message to the notification"
  27. And I fill in "body_notification" with "please, review to changes"
  28. When I press "Send"
  29. Then I should be on the engagement details page
  30. When I go to the sent page
  31. Then I should see "Review Final Summary"
  32.  
  33. @javascript
  34. Scenario: View Final Summary - edit Overall Assessment by coach
  35. Given I am logged in as [email protected]
  36. And I have not Coaching Administrator role
  37. And I have "Coach" role
  38. And I am a "coach" of one engagement
  39. And coaching sessions step was finished
  40. And there are "1" goals with my client
  41. And goal № "1" with score "No Progress"
  42. And coach completed the final summary
  43. When I go to the engagement details page
  44. Then I should see "If you need to make changes please do so below."
  45. And I should see goal № "1" with "No Progress""(0)" progress and goal description "description_1"
  46. And I should see "Overall Assessment"
  47. And I should see "edit"
  48. When I click "edit" link for overall assessment
  49. Then I should see "Update your overall assessment:"
  50. When I fill in "overall_assessment" with "everything is ok"
  51. And I press "Save"
  52. Then I should be on the engagement details page
  53. And I should see "everything is ok"
  54.  
  55. @javascript
  56. Scenario: View Final Summary - completing the milestone by client
  57. Given I am logged in as [email protected]
  58. And I have not Coaching Administrator role
  59. And I have "Client" role
  60. And I am a "client" of one engagement
  61. And coaching sessions step was finished
  62. And there are "1" goals with my client
  63. And goal № "1" with score "Strong Progress"
  64. And coach completed the final summary
  65. When I go to the engagement details page
  66. Then I should see goal № "1" with "Strong Progress""(2)" progress and goal description "description_1"
  67. And I should see "Accept"
  68. When I press "Accept"
  69. Then I should see "Confirmation"
  70. And I should see "Congratulations on completing your coaching engagement."
  71. When I press "OK"
  72. Then I should be on the engagement details page
  73. And I should see "Engagement Completed !"
  74. And I should see "Congratulations your coaching engagement was completed on"
  75. And I should see "The final assessment for the engagement is shown below."
  76.  
  77. Scenario: View Final Summary - completing the milestone for coach
  78. Given I am logged in as [email protected]
  79. And I have not Coaching Administrator role
  80. And I have "Coach" role
  81. And I am a "coach" of one engagement
  82. And coaching sessions step was finished
  83. And there are "1" goals with my client
  84. And goal № "1" with score "Strong Progress"
  85. And coach completed the final summary
  86. And client finished the final summary
  87. When I go to the engagements page
  88. Then I should see "Completed (1)"
  89.  
  90. Scenario: View Final Summary - completing the milestone for engagement manager
  91. Given I am logged in as [email protected]
  92. And I have not Coaching Administrator role
  93. And I have "Engagement Manager" role
  94. And I am the "engagement manager" of one engagement
  95. And coaching sessions step was finished
  96. And there are "1" goals with my client
  97. And goal № "1" with score "Strong Progress"
  98. And coach completed the final summary
  99. And client finished the final summary
  100. When I go to the engagements page
  101. Then I should see "Completed (1)"
  102.  
  103. Scenario: View Final Summary - completing the milestone for client manager
  104. Given I am logged in as [email protected]
  105. And I have not Coaching Administrator role
  106. And I have "Client's Manager" role
  107. And I am the "client's manager" of one engagement
  108. And coaching sessions step was finished
  109. And there are "1" goals with my client
  110. And goal № "1" with score "Strong Progress"
  111. And coach completed the final summary
  112. And client finished the final summary
  113. When I go to the engagements page
  114. Then I should see "Completed (1)"
Advertisement
Add Comment
Please, Sign In to add comment