Skip to content

Conversation

santhosh-apphelix-2u
Copy link

@santhosh-apphelix-2u santhosh-apphelix-2u commented Oct 7, 2025

This PR removes the deprecated “Create Zendesk Tickets for suspicious attempts” setting from the Proctored Exam Settings modal in the frontend-app-authoring MFE.
This option was previously used with PSI and Zendesk to generate support tickets for suspicious exam attempts. Since both systems are retired, the setting no longer serves a purpose and has been fully removed.


Technical Changes Made

1. plugins/course-apps/proctoring/Settings.jsx
  • Removed createZendeskTickets from initialFormValues
  • Updated handleChange to drop references to createZendeskTickets
  • Removed logic that automatically enabled Zendesk ticket creation for software_secure provider
  • Removed create_zendesk_tickets from the API payload (studioDataToPostBack)
  • Deleted the full UI element (fieldset, Form.Group, Form.RadioSet) that rendered the Yes/No radio buttons
2. plugins/course-apps/proctoring/Settings.test.jsx
  • Deleted all test cases covering Zendesk ticket behavior
  • Updated test expectations to remove references to createZendeskTickets UI elements and payloads
  • Adjusted permission tests to validate only the allowOptingOut behavior
  • Cleaned up mock data and API call assertions accordingly
  • Removed the skipped test related to non-admin Zendesk posting
3. plugins/course-apps/proctoring/messages.js
  • Removed the i18n string definition for authoring.proctoring.createzendesk.label

Ref - https://2u-internal.atlassian.net/browse/COSMO2-27

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.
Removed tests related to Proctortrack due to its deprecation.
@santhosh-apphelix-2u santhosh-apphelix-2u changed the title Cosmo2 110 zendesk removal feat: remove "Create Zendesk Tickets for suspicious attempts" setting from Proctored Exam Settings Oct 7, 2025
Removed 'create_zendesk_tickets' from proctored exam settings in tests.
Copy link

codecov bot commented Oct 7, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.71%. Comparing base (c4a439d) to head (af03a5f).
⚠️ Report is 6 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2517   +/-   ##
=======================================
  Coverage   94.70%   94.71%           
=======================================
  Files        1202     1202           
  Lines       26842    26845    +3     
  Branches     6041     6023   -18     
=======================================
+ Hits        25422    25425    +3     
  Misses       1350     1350           
  Partials       70       70           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Contributor

@michaelroytman michaelroytman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left one comment. After we've discussed and addressed that, I think this will be good to go.

Removed createZendeskTickets from form values.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants