Commit 2c82246
committed
fix(e2e): run Qt headlessly via offscreen platform; drop xvfb
The e2e harness only needs mediasrv's HTTP stack — Playwright's own
Chromium connects to it directly. The Anki Qt window never needs to
be visible. Setting QT_QPA_PLATFORM=offscreen lets Qt initialise
without a display server, eliminating the exit-250 crash that happened
when Qt couldn't connect to the (virtual) framebuffer.
Also add PYTHONUNBUFFERED=1 so subprocess output reaches Playwright's
[WebServer] log immediately, and drop xvfb-run from the CI step since
it is no longer required.1 parent 70a51e9 commit 2c82246
2 files changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
| 118 | + | |
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
102 | 108 | | |
103 | 109 | | |
104 | 110 | | |
| |||
0 commit comments