fix: update vulnerable dependencies and adapt browser QA to Puppeteer 25

This commit is contained in:
Sameh Khamis committed 2026-09-10 23:08:26 -07:00
1 parent a458d27067
commit f94bdb1d77
33 files changed
+403 -1315

No files matched your search

+1 -1
View File
@@ -38,7 +38,7 @@ const SHOT_DIR = path.join(ROOT, 'qa-shots', 'firstrun');
const CHROME_CANDIDATES = [
process.env.PUPPETEER_EXECUTABLE_PATH,
// Version-pinned Chrome-for-Testing over the auto-updating system Chrome.
(() => { try { return puppeteer.executablePath(); } catch { return null; } })(),
await puppeteer.executablePath().catch(() => null),
'/Applications/Google Chrome.app/Contents/MacOS/Google Chrome',
].filter(Boolean);