mirror of
https://github.com/logseq/logseq.git
synced 2026-05-01 09:26:28 +00:00
e2e test fix
This commit is contained in:
7
.github/workflows/e2e.yml
vendored
7
.github/workflows/e2e.yml
vendored
@@ -140,13 +140,16 @@ jobs:
|
||||
- name: Install Fluxbox
|
||||
run: sudo apt-get update && sudo apt-get install -y fluxbox
|
||||
|
||||
- name: Run Xvfb
|
||||
- name: Run XVFB
|
||||
run: |
|
||||
Xvfb :1 -screen 0 1024x768x24 >/dev/null 2>&1 &
|
||||
export DISPLAY=:1.0
|
||||
|
||||
- name: Start Fluxbox
|
||||
run: fluxbox >/dev/null 2>&1 &
|
||||
|
||||
- name: Run Playwright test
|
||||
run: DISPLAY=:1.0 fluxbox >/dev/null 2>&1 && npx playwright test --reporter github --shard=${{ matrix.shard }}/3
|
||||
run: npx playwright test --reporter github --shard=${{ matrix.shard }}/3
|
||||
env:
|
||||
LOGSEQ_CI: true
|
||||
DEBUG: "pw:api"
|
||||
|
||||
Reference in New Issue
Block a user