test(qa): headless by default

qa-directions, qa-transit, qa-transit-recovery and qa-wind-canvas
launched a visible Chrome window. They now run headless unless
QA_HEADFUL=1 (`headless: process.env.QA_HEADFUL === '1' ? false : true`,
the same change as on the phase-4 branch).
This commit is contained in:
German Khokhlov committed 2026-10-16 18:59:37 +04:00
1 parent 8812117013
commit 3c2e924363
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -260,7 +260,7 @@ historyProbe.clear();
await mkdir(SHOTS, { recursive: true });
const browser = await puppeteer.launch({
headless: false,
headless: process.env.QA_HEADFUL === '1' ? false : true,
protocolTimeout: 150000,
executablePath:
'/Applications/Google Chrome.app/Contents/MacOS/Google Chrome',