Artemis icon indicating copy to clipboard operation
Artemis copied to clipboard

`Exam mode`: Fix test run summary

Open ge65cer opened this issue 2 years ago • 0 comments

Checklist

General

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
  1. Log in to Artemis
  2. Navigate to the Exam
  3. Create a Test Run
  4. Participate in the Test Run
  5. Ensure you are forwarded to /course-management/x/exams/x/test-runs/x/summary when the exam is over/you submit the exam
  6. Check that the "Review is open" alert no longer appears on the summary page
  7. 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

Screenshots

ge65cer avatar Sep 21 '22 12:09 ge65cer