Description:
The features enable users to edit an existing assessment and then save the edited assessment to the database. The data will be updated regardless of if a change took place. The editing feature will have the same details as adding assessment such as name (still mandatory), description, status, weight, and due date. After committing the change, the user will be redirected back to the assessment dashboard.
Acceptance Criteria:
After clicking on the "Edit Assessment" button, the modal window will pop up with the mentioned details name (mandatory), description, status, weight, and due date.
Implement an input validation.
The changed assessment information is stored properly.
The editing assessment is accessible only if a user is logged in.
Testing criteria:
Modal Display and Interaction Testing (ensure it works properly across different browsers, adding assessment work as intended, a modal window pops up properly)
Verify that edited assessment information is saved to the database properly (even if there are no changes).
Input validation testing (the name is mandatory, show a valid error message, ...)
Verify that the user is redirected after editing the assessment
Description: The features enable users to edit an existing assessment and then save the edited assessment to the database. The data will be updated regardless of if a change took place. The editing feature will have the same details as adding assessment such as name (still mandatory), description, status, weight, and due date. After committing the change, the user will be redirected back to the assessment dashboard.
Acceptance Criteria:
Testing criteria: