Repository navigation
fix(deps): update @edx/frontend-lib-special-exams to v5.0.2 - #2240
Anas12091101 wants to merge 1 commit into
Conversation
|
Thanks for the pull request, @Anas12091101! This repository is currently maintained by Once you've gone through the following steps feel free to tag them in a comment and let them know that your changes are ready for engineering review. 🔘 Get product approvalIf you haven't already, check this list to see if your contribution needs to go through the product review process.
🔘 Provide contextTo help your reviewers and other members of the community understand the purpose and larger context of your changes, feel free to add as much of the following information to the PR description as you can:
🔘 Get a green buildIf one or more checks are failing, continue working on your changes until this is no longer the case and your build turns green. DetailsWhere can I find more information?If you'd like to get more details on all aspects of the review process for open source pull requests (OSPRs), check out the following resources: When can I expect my changes to be merged?Our goal is to get community contributions seen and reviewed as efficiently as possible. However, the amount of time that it takes to review and merge a PR can vary significantly based on factors such as:
💡 As a result it may take up to several weeks or months to complete a review and merge your PR. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## legacy-mfe #2240 +/- ##
===========================================
Coverage 96.16% 96.16%
===========================================
Files 368 368
Lines 6019 6019
Branches 1486 1441 -45
===========================================
Hits 5788 5788
Misses 222 222
Partials 9 9 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Hi @UsamaSadiq @feanil, since you reviewed and merged openedx/frontend-lib-special-exams#181 and openedx/edx-proctoring#1365 would you mind giving this a quick look, too? CC @openedx/committers-frontend-app-learning @brian-smith-tcril |
|
Generally speaking, if this PR introduces a new feature, it should be ported onto the new frontend-base app in the If it's a bug fix, please check if the bug still exists in Apologies for the churn! |
5.0.2 stops a page of another course from submitting an expired exam over and over (openedx/frontend-lib-special-exams#181). Raise the range to ^5.0.2 so the lockfile cannot resolve back to an affected version.
a71ae42 to
f124bf1
Compare
|
Checked: on |
|
@UsamaSadiq @feanil Friendly ping on this, would you be able to give it a quick look? |
What are the relevant tickets?
https://github.com/mitodl/hq/issues/14274
Description (What does it do?)
Updates
@edx/frontend-lib-special-examsto 5.0.2, which includes openedx/frontend-lib-special-exams#181.Since 5.0.0, when a learner's exam time runs out while they are on a page of another course, that page submits the exam again and again until the tab is closed. With edx-proctoring each submit sends the learner another "Proctoring attempt submitted" email.
^5.0.0to^5.0.2, so the lockfile can't resolve back to an affected version.Targets
legacy-mfe:master(the frontend-base app since #2267) already resolves 5.0.2 in its lockfile.How can this be tested?
Automated:
npm test -- src/courseware/course/sequence/Sequence.specialExams.test.tsx src/courseware/course/Course.test.jsx src/courseware/course/sequence/Unit/hooks/useExamAccess.test.ts src/plugin-slots/SubmittedTimedExamInstructionsSlot/index.test.tsx(107 tests pass).Manual: follow the steps in openedx/frontend-lib-special-exams#181 (a timed exam whose time runs out on a unit of another course). With this change the page sends one
submitand the timer goes away, instead of repeating the submit several times a second.