diff --git a/.github/workflows/all_os.yml b/.github/workflows/all_os.yml index 97c83417c..670ce46f5 100644 --- a/.github/workflows/all_os.yml +++ b/.github/workflows/all_os.yml @@ -136,7 +136,7 @@ jobs: USER_AGENT_PREFIX: ${{ vars.USER_AGENT_PREFIX }} CURSEFORGE_API_KEY: "${{ vars.CURSEFORGE_API_KEY }}" CURSEFORGE_API_BASE: ${{ vars.CURSEFORGE_API_BASE }} - run: xvfb-run --auto-servernum --server-args='-screen 0 1280x960x24' -- pnpm test + run: pnpm test - name: Upload Playwright report if: always() uses: actions/upload-artifact@v4 diff --git a/apps/desktop/package.json b/apps/desktop/package.json index 976c82c71..d7cce05f1 100644 --- a/apps/desktop/package.json +++ b/apps/desktop/package.json @@ -11,7 +11,7 @@ "main": "dist/main/index.cjs", "scripts": { "dev": "node scripts/watch.mjs", - "test": "cross-env-shell DEBUG=pw:browser* playwright test", + "test": "cross-env-shell DEBUG=pw:browser* xvfb-run playwright test", "build-vite": "node scripts/build.mjs", "patch-version": "node scripts/monkeypatchVersion.mjs", "build-electron": "cross-env-shell DEBUG=electron-builder ow-electron-builder --config .electron-builder.config.cjs",