diff --git a/.github/workflows/e2e-mobile.yml b/.github/workflows/e2e-mobile.yml index eaaeb68ea34..05ee18f1c77 100644 --- a/.github/workflows/e2e-mobile.yml +++ b/.github/workflows/e2e-mobile.yml @@ -31,13 +31,13 @@ jobs: node-version: ${{ matrix.node-version }} cache: pnpm - - name: Setup Flutter 3.19.x + - name: Setup Flutter 3.22.x uses: subosito/flutter-action@2783a3f08e1baf891508463f8c6653c258246225 # v2 with: - flutter-version: '3.19.x' + flutter-version: '3.22.x' channel: 'stable' cache: true - cache-key: flutter-3.19.x + cache-key: flutter-3.22.x cache-path: ${{ runner.tool_cache }}/flutter - name: Set freeCodeCamp Environment Variables diff --git a/e2e/mobile/mobile-learn.spec.ts b/e2e/mobile/mobile-learn.spec.ts index b0bdef6a94c..9066b62a8a1 100644 --- a/e2e/mobile/mobile-learn.spec.ts +++ b/e2e/mobile/mobile-learn.spec.ts @@ -11,6 +11,7 @@ interface Curriculum { id: string; title: string; block: string; + challengeType: number; }[]; meta: { name: string; @@ -39,6 +40,11 @@ test.describe('Test challenges in mobile', () => { )) { test.describe(`SuperBlock: ${superBlock} - Block: ${currBlock['meta']['name']}`, () => { for (const currChallenge of currBlock['challenges']) { + // Skip non-editor challenges + if (![0, 1, 5, 6, 14].includes(currChallenge['challengeType'])) { + continue; + } + test(`Challenge: ${currChallenge['title']}(${currChallenge['id']})`, async ({ page }) => { diff --git a/tools/scripts/build/build-external-curricula-data.ts b/tools/scripts/build/build-external-curricula-data.ts index 370aa128943..3bbe53f0195 100644 --- a/tools/scripts/build/build-external-curricula-data.ts +++ b/tools/scripts/build/build-external-curricula-data.ts @@ -39,7 +39,7 @@ export const orderedSuperBlockInfo = [ { dashedName: SuperBlocks.MachineLearningPy, public: true }, { dashedName: SuperBlocks.RespWebDesign, public: true }, { dashedName: SuperBlocks.PythonForEverybody, public: true }, - { dashedName: SuperBlocks.TheOdinProject, public: false }, + { dashedName: SuperBlocks.TheOdinProject, public: true }, { dashedName: SuperBlocks.JsAlgoDataStructNew, public: false }, { dashedName: SuperBlocks.FrontEndDevLibs, public: false }, { dashedName: SuperBlocks.DataVis, public: false },