Commit aa04c786 by Andy Armstrong

Improve the error message when proctoring fails

TNL-5082
parent e7599a59
...@@ -1587,6 +1587,7 @@ def _get_proctored_exam_context(exam, attempt, course_id, is_practice_exam=False ...@@ -1587,6 +1587,7 @@ def _get_proctored_exam_context(exam, attempt, course_id, is_practice_exam=False
args=[attempt['id']] args=[attempt['id']]
) if attempt else '', ) if attempt else '',
'link_urls': settings.PROCTORING_SETTINGS.get('LINK_URLS', {}), 'link_urls': settings.PROCTORING_SETTINGS.get('LINK_URLS', {}),
'tech_support_email': settings.TECH_SUPPORT_EMAIL,
} }
......
...@@ -2,20 +2,16 @@ ...@@ -2,20 +2,16 @@
<div class="failure sequence proctored-exam" data-exam-id="{{exam_id}}"> <div class="failure sequence proctored-exam" data-exam-id="{{exam_id}}">
<h3> <h3>
{% blocktrans %} {% blocktrans %}
There was a problem with your proctoring session Error with proctored exam
{% endblocktrans %} {% endblocktrans %}
</h3> </h3>
<h4>
{% blocktrans %}
Your proctoring session results: <b class="failure"> Unsatisfactory </b>
{% endblocktrans %}
</h4>
<p> <p>
{% blocktrans %} {% blocktrans %}
Your proctoring session ended before you completed this exam, so your proctoring results are incomplete. A technical error has occurred with your proctored exam. To resolve this problem, contact
You will not be eligible to use this course for academic credit, even if you achieve a passing grade. <a href="mailto:{{tech_support_email}}">technical support</a>. All exam data, including answers
for completed problems, has been lost. When the problem is resolved you will need to restart
the exam and complete all problems again.
{% endblocktrans %} {% endblocktrans %}
</p> </p>
<hr> <hr>
......
...@@ -126,7 +126,7 @@ class ProctoredExamApiTests(LoggedInTestCase): ...@@ -126,7 +126,7 @@ class ProctoredExamApiTests(LoggedInTestCase):
self.timed_exam_expired = 'The time allotted for this exam has expired.' self.timed_exam_expired = 'The time allotted for this exam has expired.'
self.submitted_timed_exam_msg_with_due_date = 'After the due date has passed,' self.submitted_timed_exam_msg_with_due_date = 'After the due date has passed,'
self.exam_time_expired_msg = 'You did not complete the exam in the allotted time' self.exam_time_expired_msg = 'You did not complete the exam in the allotted time'
self.exam_time_error_msg = 'There was a problem with your proctoring session' self.exam_time_error_msg = 'A technical error has occurred with your proctored exam'
self.chose_proctored_exam_msg = 'Follow these steps to set up and start your proctored exam' self.chose_proctored_exam_msg = 'Follow these steps to set up and start your proctored exam'
self.proctored_exam_optout_msg = 'Take this exam as an open exam instead' self.proctored_exam_optout_msg = 'Take this exam as an open exam instead'
self.proctored_exam_completed_msg = 'Are you sure you want to end your proctored exam' self.proctored_exam_completed_msg = 'Are you sure you want to end your proctored exam'
......
...@@ -93,3 +93,4 @@ PROCTORING_SETTINGS = { ...@@ -93,3 +93,4 @@ PROCTORING_SETTINGS = {
DEFAULT_FROM_EMAIL = 'no-reply@example.com' DEFAULT_FROM_EMAIL = 'no-reply@example.com'
CONTACT_EMAIL = 'info@edx.org' CONTACT_EMAIL = 'info@edx.org'
TECH_SUPPORT_EMAIL = 'technical@example.com'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment