# Assignment is set to allow multiple submissions

## Description:

If assignment is set to allow multiple submissions, student can make another submission after the first submission. Teacher can see the revised submission and give a new grade. The student can see the updated grade.
  
  ## 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 "Can make multiple submissions".
11. Click on the "Done" button.
12. Click on the "Save" button.
13. Clear the app storage
14. Login to the app using the student username and password.
15. Click on "Courses" tab.
16. Click on the course name.
17. Click on the assignment added by teacher.
18. Enter the assignment text in the provided text field.
19. Click on "Add file" button.
20. Attach the required file.
21. Click on the "Submit" button.
22. Verify the submit status changed to "Submitted".
23. Clear the app storage
24. Login to the app using the teacher username and password.
25. Click on "Courses" tab.
26. Click on the course name.
27. Click on the assignment.
28. Click on the "Submissions" tab.
29. Click on the specific student's name..
30. Review the submitted text
31. Open the submitted file.
32. Click on "Mark" field.
33. Enter the mark
34. Click on the "Submit grade" button.
35. Clear the app storage.
36. Login to the app using the student username and password.
37. Click on "Courses" tab.
38. Click on the course name.
39. Click on the assignment.
40. The student should see their graded assignment and the marks. 
41. Click on "Text" field 
42. Enter the assignment text. 
43. CLick on "Done" button. 
44. Click on "Submit" button. 
45. Verify the 2 submissions are visible to the user.
46. Clear the app storage 
47. Login to the app using the teacher username and password.
48. Click on "Courses" tab. 
49. Click on the course name. 
50. Click on the assignment. 
51. Click on the "Submissions" tab. 
52. Click on the specific student's name.. 
53. Review the submitted text 
54. Click on "Mark" field. 
55. Enter the new mark 
56. Click on the "Update grade" button. 
57. Clear the app storage. 
58. Login to the app using the student username and password.
59. Click on "Courses" tab. 
60. Click on the course name. 
61. Click on the assignment. 
62. Verify the student able see their updated mark.
