Files
geointel/scripts/run_rc9_ux_audit.sh
T
Codex 9b0239747d
GeoIntel release gates / Compile, test, contracts and builds (push) Canceled after 0s
GeoIntel release gates / Python and npm vulnerability policy (push) Canceled after 0s
GeoIntel release gates / GIS image, SBOM and container scan (push) Canceled after 0s
Harden RC9 UX and performance states
2026-07-18 06:37:54 +02:00

18 lines
430 B
Bash

#!/usr/bin/env bash
set -euo pipefail
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
cd "$ROOT"
BASE_URL="${1:-${GE_INTEL_BASE_URL:-http://127.0.0.1:1202}}"
OUTPUT_DIR="${2:-artifacts/rc9-ux-audit}"
if ! command -v npm >/dev/null 2>&1; then
echo "Node.js/npm is required to execute the RC9 UX audit." >&2
exit 2
fi
npm --prefix frontend run test:e2e:ux -- \
--base-url "$BASE_URL" \
--output "../$OUTPUT_DIR"