Skip to content

fix: use xvfb-run directly and add headless launch args#235

Open
jimisola wants to merge 4 commits intomainfrom
fix/headless-test-improvements
Open

fix: use xvfb-run directly and add headless launch args#235
jimisola wants to merge 4 commits intomainfrom
fix/headless-test-improvements

Conversation

@jimisola
Copy link
Member

@jimisola jimisola commented Mar 9, 2026

Summary

  • Remove GabrielBB/xvfb-action wrapper for "Run headless test" and "Run UI tests" steps
  • Replace with direct run: commands using xvfb-run --auto-servernum for UI tests
  • Add launchArgs: ['--headless', '--disable-gpu'] to defineConfig in .vscode-test.mjs

Test plan

  • CI: "Run headless test" step passes with direct npm run test-with-report
  • CI: "Run UI tests" step passes with xvfb-run --auto-servernum npm run test:ui

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant