Artemis
Artemis copied to clipboard
`Exam mode`: Fix test run summary
Checklist
General
- [x] This is a small issue that I tested locally and was confirmed by another developer on a test server.
- [x] Language: I followed the guidelines for inclusive, diversity-sensitive, and appreciative language.
- [x] I chose a title conforming to the naming conventions for pull requests.
Client
- [x] I followed the coding and design guidelines and ensured that the layout is responsive.
- [x] Following the theming guidelines, I specified colors only in the theming variable files and checked that the changes look consistent in both the light and the dark theme.
- [ ] I added multiple integration tests (Jest) related to the features (with a high test coverage), while following the test guidelines.
- [x] I documented the TypeScript code using JSDoc style.
Motivation and Context
Issue #5675
Description
When the exam is submitted during a test run, the user is forwarded to the exam summary page. Furthermore, the "Review is open" alert is hidden for test runs.
Steps for Testing
Prerequisites:
- 1 Instructor, 1 Student
- 1 Exam with multiple exercises of all kind
- Log in to Artemis
- Navigate to the Exam
- Create a Test Run
- Participate in the Test Run
- Ensure you are forwarded to
/course-management/x/exams/x/test-runs/x/summary
when the exam is over/you submit the exam - Check that the "Review is open" alert no longer appears on the summary page
- Ensure that normal exam conduction is unaffected
Review Progress
Code Review
- [ ] Review 1
- [ ] Review 2
Manual Tests
- [ ] Test 1
- [ ] Test 2
Test Coverage
Class/File | Branch | Line |
---|