mirror of https://github.com/garrytan/gstack.git
ci(free-tests): run the suite under xvfb-run
Headed-browser tests (handoff, extension sidepanel DOM) need a real DISPLAY; the first Linux run died on Playwright's 'headed browser without an XServer' banner. xvfb-run -a provides the display; x11-utils ships xdpyinfo for display probing.
This commit is contained in:
parent
7508c92e3a
commit
aca5061274
|
|
@ -79,6 +79,13 @@ jobs:
|
|||
- name: Install Playwright Chromium
|
||||
run: npx playwright install --with-deps chromium
|
||||
|
||||
# Headed-browser tests (handoff, extension sidepanel DOM) need a real
|
||||
# DISPLAY — first Linux run failed with Playwright's "launched a headed
|
||||
# browser without an XServer" banner. xvfb-run below provides it;
|
||||
# x11-utils ships xdpyinfo for display probing.
|
||||
- name: Install Xvfb + X11 utilities
|
||||
run: sudo apt-get install -y --no-install-recommends xvfb x11-utils
|
||||
|
||||
- name: Configure git identity (tests init temp repos)
|
||||
run: |
|
||||
git config --global user.email "free-tests-ci@gstack.test"
|
||||
|
|
@ -96,7 +103,7 @@ jobs:
|
|||
run: bash browse/scripts/build-node-server.sh
|
||||
|
||||
- name: Run free suite
|
||||
run: bun run test:free
|
||||
run: xvfb-run -a bun run test:free
|
||||
|
||||
# The runner streams the full child output to per-run logs under the OS
|
||||
# tmpdir and prints only the quiet contract to the console. Without this
|
||||
|
|
|
|||
Loading…
Reference in New Issue