fix(qa): keep routine map checks keyless

Record keyless launch instructions without changing app defaults.
Block Google tile and token fallback requests in routine CCTV checks;
add a guarded startup check for both engines.
This commit is contained in:
German Khokhlov committed 2026-10-28 23:33:15 +04:00
1 parent 311e178d0c
commit f72bf6a774
4 files changed
+49 -1

No files matched your search

+3
View File
@@ -74,6 +74,7 @@
import puppeteer from 'puppeteer';
import { watchW1Page, redact } from './qa-browserEvidence.mjs';
import { blockPaidQaMaps } from './qa-map-policy.mjs';
import { installCctvFixture } from './fixtures/w2/cctv.mjs';
import fs from 'node:fs';
import path from 'node:path';
@@ -97,6 +98,7 @@ const explicitUrl = getOpt('--url', process.env.QA_BASE_URL);
const output = getOpt('--out');
if (!explicitUrl || !output)
throw new Error('Explicit --url and --out are required');
const mapPolicy = { allowPaidMaps: getFlag('--allow-paid-maps') };
const CCTV_URL = new URL(explicitUrl);
if (
['4173', '4185', '4186', '4187', '4188', '4189', '4194'].includes(
@@ -401,6 +403,7 @@ async function main() {
try {
const page = await browser.newPage();
await blockPaidQaMaps(page, mapPolicy);
await page.setViewport({ width: 1280, height: 800 });
watchW1Page(page, evidence, {
name: 'cctv-legacy',