Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exam mode: Do not display timer for unsubmitted exams #7539

Merged

Conversation

florian-glombik
Copy link
Contributor

@florian-glombik florian-glombik commented Nov 8, 2023

Checklist

General

Client

  • I followed the coding and design guidelines.
  • I added multiple integration tests (Jest) related to the features (with a high test coverage), while following the test guidelines.
  • I added multiple screenshots/screencasts of my UI changes.

Motivation and Context

The timer is unnecessary, and it seems a bit broken to display left time 0:0 when the exam and grace period is over.

Description

Does not display the timer anymore after the exam is over, which was the case before for unsubmitted exams.

Exam Mode Testing

  • 1 Instructor
  • 1 Student
  1. Instructor: Prepare an exam
  2. Student: Verify the timer is still displayed during the exam
  3. Student: Do not submit the exam
  4. Student: wait until the grace period is over
  5. Student: Try to open the exam summary
  6. Student: See that the timer is still displayed, which would not be necessary

Testserver States

Note

These badges show the state of the test servers.
Green = Currently available, Red = Currently locked







Review Progress

Code Review

  • Code Review 1
  • Code Review 2

Manual Tests

  • Test 1
  • Test 2

Test Coverage

Screenshots

New

image

Old

image

@florian-glombik florian-glombik requested a review from a team as a code owner November 8, 2023 04:00
@florian-glombik florian-glombik self-assigned this Nov 8, 2023
@github-actions github-actions bot added the client Pull requests that update TypeScript code. (Added Automatically!) label Nov 8, 2023
@florian-glombik florian-glombik added enhancement component:Exam Mode client Pull requests that update TypeScript code. (Added Automatically!) and removed client Pull requests that update TypeScript code. (Added Automatically!) labels Nov 8, 2023
@github-actions github-actions bot added the tests label Nov 8, 2023
@florian-glombik florian-glombik changed the title Exam mode: Do not display timer for unsubmitted exam Exam mode: Not displaying timer for unsubmitted exam Nov 8, 2023
@florian-glombik florian-glombik changed the title Exam mode: Not displaying timer for unsubmitted exam Exam mode: Not displaying timer for unsubmitted exams Nov 8, 2023
Copy link

@FiasKr FiasKr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested on TS1 several times in Chrome and Safari. In both browser the timer gets shown after the timer is over.

JanaNF
JanaNF previously approved these changes Nov 8, 2023
Copy link

@JanaNF JanaNF left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Manual tested on legacy ts2. Worked as expected. I used the student user4.

Copy link

github-actions bot commented Nov 8, 2023

⚠️ Unable to deploy to test servers ⚠️

Testserver "artemis-test2.artemis.cit.tum.de" is already in use by PR #7507.

@github-actions github-actions bot added deployment-error Added by deployment workflows if an error occured and removed deployment-error Added by deployment workflows if an error occured labels Nov 8, 2023
@LenaKahle LenaKahle temporarily deployed to artemis-test3.artemis.cit.tum.de November 8, 2023 12:21 — with GitHub Actions Inactive
Copy link

⚠️ Unable to deploy to test servers ⚠️

Testserver "artemis-test4.artemis.cit.tum.de" is already in use by PR #7556.

@github-actions github-actions bot added the deployment-error Added by deployment workflows if an error occured label Nov 15, 2023
@MaximilianJG MaximilianJG added deploy:artemis-test4 and removed deployment-error Added by deployment workflows if an error occured labels Nov 15, 2023
@MaximilianJG MaximilianJG temporarily deployed to artemis-test4.artemis.cit.tum.de November 15, 2023 13:55 — with GitHub Actions Inactive
Copy link

@Gusti2010 Gusti2010 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tested manually on ts2. works as expected

@Ceiridge
Copy link

Tested with @MaximilianJG on test2. Everything worked as expected. (See his comment for screenshots)

@MaximilianJG
Copy link
Contributor

Worked as expected. Tested in a exam testing session with @Ceiridge. Timer is displaying during exam and also after grace period.

Screenshot 2023-11-15 at 17 56 46 Screenshot 2023-11-15 at 18 00 34

Also, timer if grace period is over is not shown anymore:
Screenshot 2023-11-15 at 18 03 13

@krusche krusche changed the title Exam mode: Not displaying timer for unsubmitted exams Exam mode: Do not display timer for unsubmitted exams Nov 17, 2023
@krusche krusche added this to the 6.6.7 milestone Nov 17, 2023
@krusche krusche merged commit 5294e36 into develop Nov 17, 2023
34 of 44 checks passed
@krusche krusche deleted the enhancement/exam/do-not-display-time-for-unsubmitted-exam branch November 17, 2023 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
client Pull requests that update TypeScript code. (Added Automatically!) component:Exam Mode enhancement ready to merge small tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.