harb/scripts/harb-evaluator
openhands 2ddd8e9ed2 fix: Holdout evaluator: Playwright browser-based scenario scripts (#381)
Replace shell-script scenario runner with Playwright. The evaluator now
runs `npx playwright test --config scripts/harb-evaluator/holdout.config.ts`
after booting the stack, using the existing tests/setup/ wallet-provider
and navigation infrastructure.

Changes:
- scripts/harb-evaluator/holdout.config.ts — new Playwright config pointing
  to scenarios/, headless chromium, 5-min timeout per test
- scripts/harb-evaluator/scenarios/sovereign-exit/always-leave.spec.ts —
  Playwright spec that buys KRK through the LocalSwapWidget then sells it
  back via the injected wallet provider, asserting sovereign exit works
- scripts/harb-evaluator/evaluate.sh — adds root npm install step (needed
  for npx playwright), exports STACK_* env aliases for getStackConfig(),
  replaces shell-script loop with a single playwright test invocation

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-01 11:24:15 +00:00
..
scenarios/sovereign-exit fix: Holdout evaluator: Playwright browser-based scenario scripts (#381) 2026-03-01 11:24:15 +00:00
evaluate.sh fix: Holdout evaluator: Playwright browser-based scenario scripts (#381) 2026-03-01 11:24:15 +00:00
holdout.config.ts fix: Holdout evaluator: Playwright browser-based scenario scripts (#381) 2026-03-01 11:24:15 +00:00