Skip to content

Commit

Permalink
fix: replaced confusing exam messages with some more suitable ones
Browse files Browse the repository at this point in the history
  • Loading branch information
Anas12091101 committed Jan 29, 2025
1 parent 0de890c commit 530c335
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/instructions/Instructions.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ describe('SequenceExamWrapper', () => {
</Instructions>,
{ 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', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const SubmittedProctoredExamInstructions = () => (
<FormattedMessage
id="exam.SubmittedProctoredExamInstructions.list3"
defaultMessage={'Proctoring results are usually available within 5 business days '
+ 'after you submit your exam.'}
+ 'after you submit your exam. Final grades may take longer.'}
/>

</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ const VerifiedProctoredExamInstructions = () => (
<h3 className="h3" data-testid="proctored-exam-instructions-title">
<FormattedMessage
id="exam.VerifiedProctoredExamInstructions.title"
defaultMessage={'Your proctoring session was reviewed successfully. '
+ 'A final grade will be available soon.'}
defaultMessage={'Exams are being reviewed and '
+ 'a final grade will be published soon.'}
/>
</h3>
</div>
Expand Down

0 comments on commit 530c335

Please sign in to comment.