diff --git a/src/pages-and-resources/proctoring/Settings.jsx b/src/pages-and-resources/proctoring/Settings.jsx index 34136c64fa..0abfb1dc85 100644 --- a/src/pages-and-resources/proctoring/Settings.jsx +++ b/src/pages-and-resources/proctoring/Settings.jsx @@ -350,7 +350,7 @@ const ProctoringSettings = ({ intl, onClose }) => { )} {/* ALLOW OPTING OUT OF PROCTORED EXAMS */} - { isEdxStaff && formValues.enableProctoredExams && ( + { isEdxStaff && formValues.enableProctoredExams && !isLtiProvider(formValues.proctoringProvider) && (
@@ -358,6 +358,7 @@ const ProctoringSettings = ({ intl, onClose }) => { diff --git a/src/pages-and-resources/proctoring/Settings.test.jsx b/src/pages-and-resources/proctoring/Settings.test.jsx index 9e5e6e8cab..eacf840a61 100644 --- a/src/pages-and-resources/proctoring/Settings.test.jsx +++ b/src/pages-and-resources/proctoring/Settings.test.jsx @@ -197,6 +197,7 @@ describe('ProctoredExamSettings', () => { fireEvent.change(selectElement, { target: { value: 'test_lti' } }); }); expect(screen.queryByTestId('escalationEmail')).toBeNull(); + expect(screen.queryByTestId('allowOptingOutRadio')).toBeNull(); expect(screen.queryByTestId('createZendeskTicketsYes')).toBeNull(); expect(screen.queryByTestId('createZendeskTicketsNo')).toBeNull(); });