#!/usr/bin/env node /** * qa-weather-journey — drive the Weather layers the way a person would and * keep the evidence: numbered screenshots plus per-step layer diagnostics. * * Starts at the Earth view, opens Data Layers, switches Wind on from its real * row button, cycles the wind fields/models, switches radar, satellite clouds, * lightning and cyclones on, follows "View storm" and "View US radar", zooms * into a regional view, a city view and a street view, replays history, and * ends with real wheel/drag input. Every step records the enabled layers' * diagnostics (imagery tiles loaded, shown observation time, wind geometry) * and a 2 s `scene.postRender` count so a stalled renderer cannot pass as a * healthy screenshot. * * Usage: * node scripts/qa-weather-journey.mjs [--url http://localhost:4173] * [--label google] [--headless] [--out qa-shots/weather-journey] * * Requires a running dev server. Screenshots and steps.json land in * /