diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 32c9cb8..75f6ca7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -70,7 +70,7 @@ jobs: strategy: fail-fast: false matrix: - api-level: [26, 28, 30, 33, 35] + api-level: [26, 28, 30, 33, 35, 36] steps: - uses: actions/checkout@v7 diff --git a/test/android/test.ts b/test/android/test.ts index 37b18ed..a993c53 100644 --- a/test/android/test.ts +++ b/test/android/test.ts @@ -157,6 +157,12 @@ describe('Test Android unpinning', function () { const failure = await waitForApp(session, () => fridaOutput); if (!failure) { + // Fail if any scripts print major warnings: + const scriptErrors = fridaOutput.split('\n').filter((line) => line.includes('!!!')); + if (scriptErrors.length) { + throw new Error(`A script failed to set itself up:\n${scriptErrors.join('\n')}`); + } + console.log('App loaded'); return; }