feat: enable TOP for mobile app (#55200)
parent
32fbef544c
commit
12280fa02c
|
@ -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
|
||||
|
|
|
@ -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
|
||||
}) => {
|
||||
|
|
|
@ -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 },
|
||||
|
|
Loading…
Reference in New Issue