From 530c335c5a6168a585fde15ec796680d2a3584d6 Mon Sep 17 00:00:00 2001 From: Muhammad Anas Date: Wed, 29 Jan 2025 19:03:31 +0500 Subject: [PATCH] fix: replaced confusing exam messages with some more suitable ones --- src/instructions/Instructions.test.jsx | 2 +- .../proctored_exam/ProctoredExamInstructions.test.jsx | 2 +- .../proctored_exam/SubmittedProctoredExamInstructions.jsx | 2 +- .../proctored_exam/VerifiedProctoredExamInstructions.jsx | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/instructions/Instructions.test.jsx b/src/instructions/Instructions.test.jsx index 5f7b73a3..2aae2e43 100644 --- a/src/instructions/Instructions.test.jsx +++ b/src/instructions/Instructions.test.jsx @@ -524,7 +524,7 @@ describe('SequenceExamWrapper', () => { { store }, ); - expect(screen.getByText('Your proctoring session was reviewed successfully. A final grade will be available soon.')).toBeInTheDocument(); + expect(screen.getByText('Exams are being reviewed and a final grade will be published soon.')).toBeInTheDocument(); expect(screen.getByTestId('proctored-exam-instructions-title')).toBeInTheDocument(); }); diff --git a/src/instructions/proctored_exam/ProctoredExamInstructions.test.jsx b/src/instructions/proctored_exam/ProctoredExamInstructions.test.jsx index 4729a4ca..6eae4666 100644 --- a/src/instructions/proctored_exam/ProctoredExamInstructions.test.jsx +++ b/src/instructions/proctored_exam/ProctoredExamInstructions.test.jsx @@ -245,7 +245,7 @@ describe('SequenceExamWrapper', () => { , { store }, ); - expect(getByTestId('proctored-exam-instructions-title')).toHaveTextContent('Your proctoring session was reviewed successfully.'); + expect(getByTestId('proctored-exam-instructions-title')).toHaveTextContent('Exams are being reviewed and a final grade will be published soon.'); }); it('Instructions are shown when attempt status is rejected', () => { diff --git a/src/instructions/proctored_exam/SubmittedProctoredExamInstructions.jsx b/src/instructions/proctored_exam/SubmittedProctoredExamInstructions.jsx index b75b3693..d6e0b6d5 100644 --- a/src/instructions/proctored_exam/SubmittedProctoredExamInstructions.jsx +++ b/src/instructions/proctored_exam/SubmittedProctoredExamInstructions.jsx @@ -29,7 +29,7 @@ const SubmittedProctoredExamInstructions = () => ( diff --git a/src/instructions/proctored_exam/VerifiedProctoredExamInstructions.jsx b/src/instructions/proctored_exam/VerifiedProctoredExamInstructions.jsx index d3d2c6ef..4ba0bc7c 100644 --- a/src/instructions/proctored_exam/VerifiedProctoredExamInstructions.jsx +++ b/src/instructions/proctored_exam/VerifiedProctoredExamInstructions.jsx @@ -6,8 +6,8 @@ const VerifiedProctoredExamInstructions = () => (