test Xvfb

This commit is contained in:
Konstantinos Kaloutas
2023-05-22 14:10:08 +03:00
parent 03d83ac807
commit 2dff7336c9
4 changed files with 9 additions and 6 deletions

View File

@@ -140,8 +140,11 @@ jobs:
- name: Install fluxbox
run: sudo apt-get update && sudo apt-get install -y fluxbox
- name: Export display
run: export DISPLAY=:99
- name: Run Playwright test
run: Xvfb :1 -screen 0 "1280x720x24" >/dev/null 2>&1 & export DISPLAY=:1.0 fluxbox >/dev/null 2>&1 & npx playwright test --reporter github --shard=${{ matrix.shard }}/3
run: Xvfb :99 -screen 0 1024x768x16 & fluxbox & npx playwright test --reporter github --shard=${{ matrix.shard }}/3
env:
LOGSEQ_CI: true
DEBUG: "pw:api"