# Admin or teacher can add module and text blocks

## Description:

Admin or teacher can add module and text blocks. Blocks can be reordered and hidden, indented,
unindented, edited, deleted.

## 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 "Edit" button.
11. Click on the "Add block" button.
12. Click on the "Module" button.
13. Leave the title blank and click on Save
14. User gets error the module block title is mandatory
15. Enter the title for Module block.
16. Enter description.
17. Click on "Done" to save the description.
18. Click on "Done" to save the module block.
19. Click on the "Add block" button. 
20. Click on the "Text" button. 
21. Leave the title blank and click on Save
22. User gets error the text block title is mandatory
23. Enter the title for Text block. 
24. Click on "Description" field. 
25. Enter description. 
26. Click on "Done" to save the description. 
27. Enter text inside text editor field 
28. Click on "Done" to save the text block. 
29. Verify the module block and Text blocks are visible.
30. Click on "More options" icon next to the module block.
31. Click on "Hide" button.
32. Click on "Save" to save the course.
33. Verify that the module block is not visible.
34. Click on "Edit" button to edit course
35. Click on "More options" icon next to the module block. 
36. Click on "Unhide" button. 
37. Click on "Save" to save the course. 
38. Verify that the module block is visible. 
39. Click on "Edit" button to edit course 
40. Click on "More options" icon next to the text block. 
41. Click on "Indent" button. 
42. Click on "Save" to save the course.
43. Click on "Edit" button to edit course 
44. Click on "More options" icon next to the text block. 
45. Click on "Unindent" button. 
46. Click on "Save" to save the course.
47. Click on "Edit" button to edit course 
48. Click on "More options" icon next to the text block. 
49. Click on "Delete" button. 
50. Click on "Save" to save the course.
51. Verify that the text block is not visible.