Files
cable-latency-survey/tests/run.sh
T
Toby ad8b889437 Add fe-map and iss sources, The Shape of Distance as published, contribution guide
- femap/: planar best-effort solver, build, result and page (fe-map.aethercosmology.com)
- satellites/: The Sync Test build, ISS elements, SatNOGS timings and page (iss.aethercosmology.com)
- src/handoff/The_Shape_of_Distance_PRESENTATION.html: inputs for both
- CONTRIBUTING.md; README and LICENSE-DATA cover all four sites; GitHub mirror for issues and pull requests

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-30 18:42:34 -04:00

23 lines
1.7 KiB
Bash
Executable File

#!/usr/bin/env bash
# Browser checks for src/web/index.html and src/site/index.html.
# Needs: npm install (playwright-core) and a Chromium binary in $CH.
set -u
cd "$(dirname "$0")" && mkdir -p out
: "${CH:?set CH to a Chromium executable, e.g. ~/.cache/ms-playwright/chromium-*/chrome-linux64/chrome}"
export CH
node match.mjs # page counts = hand-off data file
node src.mjs | grep FAILS # each data source shows only its own data
node audit.mjs 2>&1 | grep -v '^INFO' # 8 viewports: clickability, overlap, overflow
node fit.mjs | grep -v ' 0px$' || true # route panel fits the hero
node card_sel.mjs # every route x map x size: no card overflow
node trunc.mjs | tail -1 # no truncated text in the route card
node view_btns.mjs | tail -2 # zoom / reset buttons
node offline.mjs | tail -3 # site/index.html with the network blocked
node newsec.mjs | tail -2 # networks and code sections: layout, no flat-fit section
node overlap.mjs | tail -1 # a click where routes overlap selects the top-drawn route
node hero.mjs | tail -1 # hero renders at desktop and phone width
node mode.mjs | cut -c1-60 # cable / straight toggle changes the counts
node sync.mjs | tail -1 # The Sync Test (satellites/): 8 viewports, readouts, controls
[ "${LIVE:-0}" = 1 ] && node live.mjs # LIVE=1: the public site
node femap.mjs | tail -1 # The Best Flat Map (femap/): 8 viewports, live solve, 3D release