diff --git a/cypress/e2e/mobile-learn/test-challenges.js b/cypress/e2e/mobile-learn/test-challenges.js index 84386be01d3..2077d0223ff 100644 --- a/cypress/e2e/mobile-learn/test-challenges.js +++ b/cypress/e2e/mobile-learn/test-challenges.js @@ -1,8 +1,14 @@ import currData from '../../../config/curriculum.json'; import { orderedSuperBlockInfo } from '../../../tools/scripts/build/build-external-curricula-data'; +const nonEditorSB = [ + 'scientific-computing-with-python', + 'data-analysis-with-python', + 'machine-learning-with-python' +]; + const publicSB = orderedSuperBlockInfo - .filter(sb => sb.public === true) + .filter(sb => sb.public === true && !nonEditorSB.includes(sb.dashedName)) .map(sb => sb.dashedName); describe('Test challenges in mobile', () => { diff --git a/tools/scripts/build/build-external-curricula-data.ts b/tools/scripts/build/build-external-curricula-data.ts index 9a74bb699c0..4d8e939c026 100644 --- a/tools/scripts/build/build-external-curricula-data.ts +++ b/tools/scripts/build/build-external-curricula-data.ts @@ -35,19 +35,19 @@ interface Block { export const orderedSuperBlockInfo = [ { dashedName: SuperBlocks.RespWebDesignNew, public: true }, - { dashedName: SuperBlocks.RespWebDesign, public: true }, + { dashedName: SuperBlocks.SciCompPy, public: true }, + { dashedName: SuperBlocks.DataAnalysisPy, public: true }, + { dashedName: SuperBlocks.MachineLearningPy, public: true }, { dashedName: SuperBlocks.JsAlgoDataStruct, public: false }, { dashedName: SuperBlocks.FrontEndDevLibs, public: false }, { dashedName: SuperBlocks.DataVis, public: false }, { dashedName: SuperBlocks.BackEndDevApis, public: false }, { dashedName: SuperBlocks.QualityAssurance, public: false }, - { dashedName: SuperBlocks.SciCompPy, public: false }, - { dashedName: SuperBlocks.DataAnalysisPy, public: false }, { dashedName: SuperBlocks.InfoSec, public: false }, - { dashedName: SuperBlocks.MachineLearningPy, public: false }, { dashedName: SuperBlocks.CodingInterviewPrep, public: false }, { dashedName: SuperBlocks.ProjectEuler, public: false }, - { dashedName: SuperBlocks.RelationalDb, public: false } + { dashedName: SuperBlocks.RelationalDb, public: false }, + { dashedName: SuperBlocks.RespWebDesign, public: true } ]; const dashedNames = orderedSuperBlockInfo.map(({ dashedName }) => dashedName);