From 40e101399f20feedd86710a472442bb49ea87c98 Mon Sep 17 00:00:00 2001 From: Davide Date: Mon, 23 Dec 2024 18:15:34 +0100 Subject: [PATCH] test --- .github/workflows/all_os.yml | 5 ++++- apps/desktop/package.json | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/all_os.yml b/.github/workflows/all_os.yml index 01c929a59..60d0badb7 100644 --- a/.github/workflows/all_os.yml +++ b/.github/workflows/all_os.yml @@ -140,8 +140,11 @@ jobs: CURSEFORGE_API_BASE: ${{ vars.CURSEFORGE_API_BASE }} run: | sudo apt-get install -y xvfb - xvfb :1 -screen 0 1280x960x24 & + /usr/bin/Xvfb :1 -screen 0 1280x960x24 & + export DISPLAY=:1 sleep 2 + ps aux | grep Xvfb + ls -l /tmp/.X11-unix/ pnpm test cargo test - name: Upload Playwright report diff --git a/apps/desktop/package.json b/apps/desktop/package.json index 976c82c71..2cca5645a 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": "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",