feat: CEF mode for Electrobun E2E — CDP automation, WebGL unlocked
- electrobun.config.ts: AGOR_CEF=1 enables bundleCEF + chromiumFlags (remote-debugging-port=9222). Production stays on WebKitGTK. - wdio.electrobun.conf.js: rewritten for CDP via devtools protocol. Spawns app, waits for CDP port, kills on complete. - helpers/actions.ts: waitForPort() polls CDP /json endpoint - docs/testing.md: CEF mode docs, CI setup, troubleshooting - npm script: test:e2e:electrobun prepends AGOR_CEF=1 CEF also enables: WebGL xterm.js addon (unlimited terminals), WebGPU, full Chrome DevTools — all for dev/test only.
This commit is contained in:
parent
fea6e267b0
commit
c79d489e1a
5 changed files with 189 additions and 27 deletions
|
|
@ -19,7 +19,7 @@
|
|||
"test:cargo": "cd src-tauri && cargo test",
|
||||
"test:e2e": "wdio run tests/e2e/wdio.conf.js",
|
||||
"test:e2e:tauri": "wdio run tests/e2e/wdio.tauri.conf.js",
|
||||
"test:e2e:electrobun": "wdio run tests/e2e/wdio.electrobun.conf.js",
|
||||
"test:e2e:electrobun": "AGOR_CEF=1 wdio run tests/e2e/wdio.electrobun.conf.js",
|
||||
"test:e2e:both": "npm run test:e2e:tauri && npm run test:e2e:electrobun",
|
||||
"test:all": "bash scripts/test-all.sh",
|
||||
"test:all:e2e": "bash scripts/test-all.sh --e2e",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue