Konstantinos Kaloutas 2 years ago
parent
commit
3a9c448d92
2 changed files with 5 additions and 5 deletions
  1. 3 3
      .github/workflows/build.yml
  2. 2 2
      .github/workflows/e2e.yml

+ 3 - 3
.github/workflows/build.yml

@@ -186,13 +186,13 @@ jobs:
         run: export DISPLAY=:1
 
       - name: Start XVFB
-        run: Xvfb $DISPLAY -screen 0 1024x768x16
+        run: Xvfb :1 -screen 0 1024x768x16 &&
 
       - name: Install and start fluxbox
-        run: sudo apt-get update && sudo apt-get install -y fluxbox && fluxbox
+        run: sudo apt-get update && sudo apt-get install -y fluxbox && fluxbox &&
 
       - name: Run Playwright test - 1/2
-        run: xvfb-run -- npx playwright test --reporter github --shard=1/2
+        run: npx playwright test --reporter github --shard=1/2
         env:
           LOGSEQ_CI: true
           DEBUG: "pw:api"

+ 2 - 2
.github/workflows/e2e.yml

@@ -141,10 +141,10 @@ jobs:
         run: export DISPLAY=:1
 
       - name: Start XVFB
-        run: Xvfb $DISPLAY -screen 0 1024x768x16
+        run: Xvfb $DISPLAY -screen 0 1024x768x16 &&
 
       - name: Install and start fluxbox
-        run: sudo apt-get update && sudo apt-get install -y fluxbox && fluxbox
+        run: sudo apt-get update && sudo apt-get install -y fluxbox && fluxbox &&
 
       - name: Run Playwright test
         run: xvfb-run -- npx playwright test --reporter github --shard=${{ matrix.shard }}/3