# Course Modules can be expand/collapse.

## Description:

All users on course should be able to view the course blocks as they were added. Modules can expand/collapse.

## Step-by-Step Procedure:

1. Login as admin.
2. Click on "Courses."
3. Click on the "+ Course" button.
4. Click on the "Add a new course" button.
5. Enter a course name.
6. Click on the "Description" field.
7. Enter the description.
8. Click on the "Done" button.
9. Click the "Save" button to save the course.
10. Click on the "Courses"
11. Click on the course name.
12. Click on the "Members" tab.
13. Click on the "Add a student" button
14. Click on "Add a new person" button
15. Enter the student's first name, last name and Gender.
16. Click on the "Save" button and save the person details.
17. Click on the "Save" button to save the enrollment details.
18. Click on the student name.
19. Click on the "View profile" button.
20. Click on the "Create account" button.
21. Enter the username.
22. Enter the password.
23. Click on "Courses"
24. Click on Course name. 
25. Click on the "Edit" button. 
26. Click on the "Add block" button. 
27. Click on the "Module" button. 
28. Enter the title for Module block. 
29. Enter description. 
30. Click on "Done" to save the description. 
31. Click on "Done" to save the module block. 
32. Click on the "Add block" button. 
33. Click on the "Text" button. 
34. Enter the title for Text block. 
35. Click on "Description" field. 
36. Enter description. 
37. Click on "Done" to save the description. 
38. Enter text inside text editor field 
39. Click on "Done" to save the text block. 
40. Verify the module block and Text blocks are visible.
41. Click on "More options" icon next to the text block. 
42. Click on "Indent" button. 
43. Click on "Save" to save the course.
44. Clear app storage
45. Login to the app using the student username and password.
46. Click on "Courses"
47. Click on course name.
48. Click on "Collapse" icon next to module block
49. Verify the text block is not visible.
50.  Click on "Expand" icon next to module block 
51. Verify the text block is visible.