fix(e2e): switch Electrobun to ChromeDriver + debuggerAddress attach

- devtools protocol kills Electrobun's CEF browser on attach (navigates)
- ChromeDriver with debuggerAddress connects WITHOUT navigating
- Added Vite dev server auto-start (Electrobun dev mode requires it)
- Fixed this.skip() → test.pending for cross-protocol compat
- chromedriver@145 matches CEF Chrome 145
This commit is contained in:
Hibryda 2026-03-22 07:19:57 +01:00
parent 954d202c04
commit 75bb96cfed
4 changed files with 547 additions and 10 deletions

View file

@ -74,8 +74,7 @@ export const sharedConfig = {
if (db.shouldSkip(specFile, test.title)) {
const stats = db.getCacheStats();
console.log(`Skipping (3+ consecutive passes): ${test.title} [${stats.skippable}/${stats.total} skippable]`);
// this.skip() works in Mocha non-arrow context — safe for both protocols
this.skip();
test.pending = true;
}
},