Skip to content

A spy satellite simulator in your browser, except the data is real. Live open source spatial intelligence on a photorealistic 3D globe.

test(radio): fixture unavailable optional Google tokens

Mazeyar Moeini Feizabadi365b2e7913ae
diff --git a/scripts/qa-radio.mjs b/scripts/qa-radio.mjs
index adbbfdf81..648075bd2 100644
--- a/scripts/qa-radio.mjs
+++ b/scripts/qa-radio.mjs
@@ -167,6 +167,13 @@ async function main() {
page.on('request', (request) => {
const url = new URL(request.url());
+ // Radio QA uses keyless maps; an optional Google token is not offered.
+ if (request.method() === 'GET' && url.origin === APP_ORIGIN
+ && url.pathname === '/api/google/tiles-token') {
+ request.respond({ status: 200, contentType: 'application/json', body: '{}' });
+ return;
+ }
+
// These scenarios exercise Context lifecycle and keyboard ownership, not
// live orbit accuracy. Reuse the tracking suite's fixed element sets so
// CelesTrak outages cannot invalidate an otherwise clean UI run.