# Teachers and students can add course comments and private comments to the assignment.

## Description:

Teachers and students can add course comments which are visible for all who can view the assignment.

## Step-by-Step Procedure:

1. Using http api endpoint created a class with students and teachers already enrolled and setup.
2. Login to the app using the teacher username and password.
3. Click on "Courses" tab.
4. Click on the course name.
5. Click on "Edit" button.
6. Click on "Add block" button
7. Click on "Assignment".
8. Enter the assignment title in the "Title" field.
9. Enter the assignment description in the "Description" field.
10. Set the submission policy to "Must submit all at once".
11. Click on the "Done" button.
12. Click on the "Save" button.
13. Click on assignment name.
14. Enter a comment on "Add a class comment" field.
15. Click on "Send" icon. 
16. Click on assignment name.
17. Click on the "Submission" tab
18. Click on a specific student name.
19. Enter a comment on "Add a private comment" field.
20. Click on "Send" icon.
21. Clear the app storage
22. Login to the app using the student username and password.
23. Click on "Courses" tab.
24. Click on the course name.
25. Click on the assignment added by teacher.
26. Enter a comment on "Add a class comment" field.
27. Click on "Send" icon.
28. Verify that student's and teacher's class comment is visible for the student.
29. Enter a comment on "Add a private comment" field.
30. Click on "Send" icon. 
31. Verify that student's and teacher's private comment is visible for the student.