ci(ubicloud): add the wxWidgets e2e suite to the run

Host-side wxUniversal build + wx test apps (build-wxuniversal-wasm.sh /
build-wasm-test.sh, mirroring the dispatch-only ci.yml) followed by
`npm run test` before the KiCad e2e. The wx suite runs on bundled headless
Chromium; several specs use WebGL (gal-webgl.spec.ts), so the chromium
project gains a CI-gated --enable-unsafe-swiftshader launch arg — without
it newer headless Chromium refuses software WebGL on the GPU-less runner.
First time this suite runs on a working CI runner; treat as experimental.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Istvan Matejcsok 2026-06-11 17:43:13 +02:00
commit 282994e2f2
2 changed files with 28 additions and 2 deletions

View file

@ -84,7 +84,16 @@ export default defineConfig({
projects: [
{
name: 'chromium',
use: { ...devices['Desktop Chrome'] },
use: {
...devices['Desktop Chrome'],
// CI runners have no GPU and several wx specs use WebGL
// (gal-webgl.spec.ts etc.): newer headless Chromium refuses software
// WebGL without --enable-unsafe-swiftshader. CI-gated so local runs
// keep stock behavior (same pattern as playwright-kicad.config.ts).
...(process.env.CI ? {
launchOptions: { args: ['--enable-unsafe-swiftshader'] },
} : {}),
},
},
],