- 
                Notifications
    You must be signed in to change notification settings 
- Fork 163
chore: Refactor proctoring provider handling in Settings #2494
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
base: master
Are you sure you want to change the base?
Conversation
Skipped tests related to Zendesk ticket functionality due to proctortrack provider deprecation.
Skip tests related to proctortrack provider updates.
Updated tests to skip those related to Proctortrack deprecation.
Updated test to skip due to Proctortrack deprecation and changed selector for escalation email input.
| Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@           Coverage Diff            @@
##           master    #2494    +/-   ##
========================================
  Coverage   94.68%   94.68%            
========================================
  Files        1203     1203            
  Lines       26865    26865            
  Branches     6026     5876   -150     
========================================
  Hits        25438    25438            
- Misses       1357     1368    +11     
+ Partials       70       59    -11     ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
 | 
Removed tests related to Proctortrack due to its deprecation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good to go for further approvals.
| }); | ||
|  | ||
| it(`Creates an alert when invalid proctoring escalation email is provided with ${provider} selected`, async () => { | ||
| // Test skipped due to Proctortrack deprecation | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are we disabling this test?
| }); | ||
|  | ||
| it('Makes API call successfully with proctoring_escalation_email if proctortrack', async () => { | ||
| await act(async () => render(intlWrapper(<IntlProctoredExamSettings {...defaultProps} />))); | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are we disabling this test now?
Removed the conditional block that handled
value === 'proctortrack', which explicitly setcreateZendeskTicketstofalseand enabled escalation email. As part of Proctortrackdeprecation, this clause is no longer needed. By default,
createZendeskTicketsis alreadyset to false, and Zendesk tickets are unrelated to Proctortrack.