diff --git a/.env b/.env index 831aeb2a2..1ace48c15 100644 --- a/.env +++ b/.env @@ -44,4 +44,4 @@ INVITE_STUDENTS_EMAIL_TO='' ENABLE_HOME_PAGE_COURSE_API_V2=true ENABLE_CHECKLIST_QUALITY='' ENABLE_GRADING_METHOD_IN_PROBLEMS=false -LIBRARY_SUPPORTED_BLOCKS="problem,video,html" +LIBRARY_SUPPORTED_BLOCKS="problem,video,html,drag-and-drop-v2" diff --git a/.env.development b/.env.development index 23b726e5e..f3e247e7c 100644 --- a/.env.development +++ b/.env.development @@ -47,4 +47,4 @@ INVITE_STUDENTS_EMAIL_TO="someone@domain.com" ENABLE_HOME_PAGE_COURSE_API_V2=true ENABLE_CHECKLIST_QUALITY=true ENABLE_GRADING_METHOD_IN_PROBLEMS=false -LIBRARY_SUPPORTED_BLOCKS="problem,video,html" +LIBRARY_SUPPORTED_BLOCKS="problem,video,html,drag-and-drop-v2" diff --git a/.env.test b/.env.test index b9e352ebc..7ee23dd9f 100644 --- a/.env.test +++ b/.env.test @@ -39,4 +39,4 @@ INVITE_STUDENTS_EMAIL_TO="someone@domain.com" ENABLE_HOME_PAGE_COURSE_API_V2=true ENABLE_CHECKLIST_QUALITY=true ENABLE_GRADING_METHOD_IN_PROBLEMS=false -LIBRARY_SUPPORTED_BLOCKS="problem,video,html" +LIBRARY_SUPPORTED_BLOCKS="problem,video,html,drag-and-drop-v2" diff --git a/src/library-authoring/add-content/AddContentContainer.test.tsx b/src/library-authoring/add-content/AddContentContainer.test.tsx index 229948c39..1f8a785f7 100644 --- a/src/library-authoring/add-content/AddContentContainer.test.tsx +++ b/src/library-authoring/add-content/AddContentContainer.test.tsx @@ -59,7 +59,7 @@ describe('', () => { expect(screen.queryByRole('button', { name: /text/i })).toBeInTheDocument(); expect(screen.queryByRole('button', { name: /problem/i })).toBeInTheDocument(); expect(screen.queryByRole('button', { name: /open reponse/i })).not.toBeInTheDocument(); // Excluded from MVP - expect(screen.queryByRole('button', { name: /drag drop/i })).not.toBeInTheDocument(); // Excluded from MVP + expect(screen.queryByRole('button', { name: /drag drop/i })).toBeInTheDocument(); expect(screen.queryByRole('button', { name: /video/i })).toBeInTheDocument(); expect(screen.queryByRole('button', { name: /advanced \/ other/i })).not.toBeInTheDocument(); // Excluded from MVP expect(screen.queryByRole('button', { name: /copy from clipboard/i })).not.toBeInTheDocument();