Stuff
', additional_metadata: { diff --git a/src/components/EditCoursePage/__snapshots__/CollapsibleCourseRun.test.jsx.snap b/src/components/EditCoursePage/__snapshots__/CollapsibleCourseRun.test.jsx.snap index 70556203d..c62671e19 100644 --- a/src/components/EditCoursePage/__snapshots__/CollapsibleCourseRun.test.jsx.snap +++ b/src/components/EditCoursePage/__snapshots__/CollapsibleCourseRun.test.jsx.snap @@ -1,5 +1,1389 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP +exports[`Collapsible Course Run renders correctly restriction type field for external course's course run 1`] = ` ++ The identifier for a product variant. This is used to link a course run to a product variant for external LOBs (i.e; ExecEd & Bootcamps). +
+ + } + id="test-course.variant_id.label" + optional={false} + text="Variant Id" + /> + } + name="test-course.variant_id" + optional={true} + /> ++ The restriction type for custom runs. These runs are only exposed in APIs if the associated restriction type is passed in as a query param +
+ + } + id={null} + optional={false} + text="Restriction Type" + /> + } + name="test-course.restriction_type" + options={ + Array [ + Object { + "label": "--------", + "value": "", + }, + Object { + "label": "Custom Enterprise", + "value": "custom-b2b-enterprise", + }, + Object { + "label": "Custom B2C", + "value": "custom-b2c", + }, + ] + } + props={ + Object { + "name": "test-course.restriction_type", + } + } + /> ++ Required Format: yyyy/mm/dd +
++ The scheduled date for when the course run will be live and published. +
++ To publish as soon as possible, set the publish date to today. Please note that changes may take 48 hours to go live. +
++ If you don’t have a publish date yet, set to 1 year in the future. +
++ Course run dates are editable in Studio. +
++ Please note that changes in Studio may take up to a business day to be reflected here. For questions, contact your project coordinator. +
++ + Edit dates. + + . +
+ + } + name="test-course.start" + timeLabel="Start time (GMT)" + type="text" + /> ++ Course run dates are editable in Studio. +
++ Please note that changes in Studio may take up to a business day to be reflected here. For questions, contact your project coordinator. +
++ + Edit dates. + + . +
+ + } + name="test-course.end" + timeLabel="End time (GMT)" + type="text" + /> ++ Course run dates are editable in Studio. +
++ Please note that changes in Studio may take up to a business day to be reflected here. For questions, contact your project coordinator. +
++ + Edit dates. + + . +
+ + } + name="test-course.upgrade_deadline_override" + timeLabel="Upgrade deadline override time (UTC)" + type="date" + utcTimeZone={true} + /> + ++ The enrollment track determines whether a course run offers a paid certificate and what sort of verification is required. +
++ + Learn more. + +
+ + } + id="test-course.run_type.label" + optional={false} + text="Course run enrollment track" + /> + } + name="test-course.run_type" + options={ + Array [ + Object { + "label": "Select enrollment track", + "value": "", + }, + Object { + "label": "Verified and Audit", + "value": "4e260c57-24ef-46c1-9a0d-5ec3a30f6b0c", + }, + Object { + "label": "Audit Only", + "value": "cfacfc62-54bd-4e1b-939a-5a94f12fbd8d", + }, + Object { + "label": "Masters, Verified, and Audit", + "value": "00000000-0000-4000-0000-000000000000", + }, + ] + } + required={true} + /> ++ Course pacing is editable in Studio. +
++ Please note that changes in Studio may take up to a business day to be reflected here. For questions, contact your project coordinator. +
++ + Edit course pacing. + + . +
+ + } + id="test-course.pacing_type.label" + optional={false} + text="Course pacing" + /> + } + name="test-course.pacing_type" + options={ + Array [ + Object { + "label": "Self-paced", + "value": "self_paced", + }, + ] + } + type="text" + /> ++ The primary instructor or instructors for the course. +
++ The order that instructors are listed here is the same order they will be displayed on course pages. You can drag and drop to reorder instructors. +
+ + } + id="test-course.staff.label" + optional={true} + text="Staff" + /> ++ The minimum number of hours per week the learner should expect to spend on the course. +
++ The maximum number of hours per week the learner should expect to spend on the course. +
++ The estimated number of weeks the learner should expect to spend on the course, rounded to the nearest whole number. +
+ + } + id="test-course.weeks_to_complete.label" + optional={false} + text="Length" + /> + } + name="test-course.weeks_to_complete" + required={false} + type="number" + /> ++ If this Course Run will potentially be part of a Program, please set the expected program type here. +
+ + } + id="test-course.expected_program_type.label" + optional={true} + text="Expected Program Type" + /> + } + name="test-course.expected_program_type" + type="text" + /> ++ If this Course Run will potentially be part of a Program, please set the expected program name here. +
+ + } + id="test-course.expected_program_name.label" + optional={true} + text="Expected Program Name" + /> + } + name="test-course.expected_program_name" + type="text" + /> ++ Course embargo status for OFAC is managed internally, please contact support with questions. +
++ The identifier for a product variant. This is used to link a course run to a product variant for external LOBs (i.e; ExecEd & Bootcamps). +
+ + } + id="test-course.variant_id.label" + optional={false} + text="Variant Id" + /> + } + name="test-course.variant_id" + optional={true} + /> ++ The restriction type for custom runs. These runs are only exposed in APIs if the associated restriction type is passed in as a query param +
+ + } + id={null} + optional={false} + text="Restriction Type" + /> + } + name="test-course.restriction_type" + options={ + Array [ + Object { + "label": "--------", + "value": "", + }, + Object { + "label": "Custom Enterprise", + "value": "custom-b2b-enterprise", + }, + Object { + "label": "Custom B2C", + "value": "custom-b2c", + }, + ] + } + props={ + Object { + "name": "test-course.restriction_type", + } + } + /> ++ Required Format: yyyy/mm/dd +
++ The scheduled date for when the course run will be live and published. +
++ To publish as soon as possible, set the publish date to today. Please note that changes may take 48 hours to go live. +
++ If you don’t have a publish date yet, set to 1 year in the future. +
++ Course run dates are editable in Studio. +
++ Please note that changes in Studio may take up to a business day to be reflected here. For questions, contact your project coordinator. +
++ + Edit dates. + + . +
+ + } + name="test-course.start" + timeLabel="Start time (GMT)" + type="text" + /> ++ Course run dates are editable in Studio. +
++ Please note that changes in Studio may take up to a business day to be reflected here. For questions, contact your project coordinator. +
++ + Edit dates. + + . +
+ + } + name="test-course.end" + timeLabel="End time (GMT)" + type="text" + /> ++ Course run dates are editable in Studio. +
++ Please note that changes in Studio may take up to a business day to be reflected here. For questions, contact your project coordinator. +
++ + Edit dates. + + . +
+ + } + name="test-course.upgrade_deadline_override" + timeLabel="Upgrade deadline override time (UTC)" + type="date" + utcTimeZone={true} + /> + ++ The enrollment track determines whether a course run offers a paid certificate and what sort of verification is required. +
++ + Learn more. + +
+ + } + id="test-course.run_type.label" + optional={false} + text="Course run enrollment track" + /> + } + name="test-course.run_type" + options={ + Array [ + Object { + "label": "Select enrollment track", + "value": "", + }, + Object { + "label": "Verified and Audit", + "value": "4e260c57-24ef-46c1-9a0d-5ec3a30f6b0c", + }, + Object { + "label": "Audit Only", + "value": "cfacfc62-54bd-4e1b-939a-5a94f12fbd8d", + }, + Object { + "label": "Masters, Verified, and Audit", + "value": "00000000-0000-4000-0000-000000000000", + }, + ] + } + required={true} + /> ++ Course pacing is editable in Studio. +
++ Please note that changes in Studio may take up to a business day to be reflected here. For questions, contact your project coordinator. +
++ + Edit course pacing. + + . +
+ + } + id="test-course.pacing_type.label" + optional={false} + text="Course pacing" + /> + } + name="test-course.pacing_type" + options={ + Array [ + Object { + "label": "Self-paced", + "value": "self_paced", + }, + ] + } + type="text" + /> ++ The primary instructor or instructors for the course. +
++ The order that instructors are listed here is the same order they will be displayed on course pages. You can drag and drop to reorder instructors. +
+ + } + id="test-course.staff.label" + optional={true} + text="Staff" + /> ++ The minimum number of hours per week the learner should expect to spend on the course. +
++ The maximum number of hours per week the learner should expect to spend on the course. +
++ The estimated number of weeks the learner should expect to spend on the course, rounded to the nearest whole number. +
+ + } + id="test-course.weeks_to_complete.label" + optional={false} + text="Length" + /> + } + name="test-course.weeks_to_complete" + required={false} + type="number" + /> ++ If this Course Run will potentially be part of a Program, please set the expected program type here. +
+ + } + id="test-course.expected_program_type.label" + optional={true} + text="Expected Program Type" + /> + } + name="test-course.expected_program_type" + type="text" + /> ++ If this Course Run will potentially be part of a Program, please set the expected program name here. +
+ + } + id="test-course.expected_program_name.label" + optional={true} + text="Expected Program Name" + /> + } + name="test-course.expected_program_name" + type="text" + /> ++ Course embargo status for OFAC is managed internally, please contact support with questions. +
++ The restriction type for custom runs. These runs are only exposed in APIs if the associated restriction type is passed in as a query param +
+ + } + id={null} + optional={false} + text="Restriction Type" + /> + } + name="test-course.restriction_type" + options={ + Array [ + Object { + "label": "--------", + "value": "", + }, + Object { + "label": "Custom Enterprise", + "value": "custom-b2b-enterprise", + }, + Object { + "label": "Custom B2C", + "value": "custom-b2c", + }, + ] + } + props={ + Object { + "name": "test-course.restriction_type", + } + } + />+ The restriction type for custom runs. These runs are only exposed in APIs if + the associated restriction type is passed in as a query param +
+