Harden RC9 UX and performance states
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
#!/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"
|
||||
Reference in New Issue
Block a user