test(e2e): verify GitLab #266 — legacy TimeCurve redirect specs #412

Merged
PlasticDigits merged 1 commit from cursor/verify-issue-266-e2e-9d3c into main 2026-06-03 13:49:40 +00:00
PlasticDigits commented 2026-06-03 13:30:10 +00:00 (Migrated from gitlab.com)

Summary

Verification of GitLab #266 found stale Playwright specs in referral-path.spec.ts that still expected canonical URLs under /timecurve/:code after the #266 retirement (redirects now land on /arena/:code). This MR updates those tests and adds explicit coverage for /timecurve/arena and /timecurve/protocol redirects.

Issue #266 remains open for product sign-off; this MR only fixes E2E drift discovered during agent verification.

Verification checklist (acceptance → command → result)

Acceptance item Command / check Result
No production route requires VITE_TIMECURVE_ADDRESS rg VITE_TIMECURVE_ADDRESS frontend/src scripts/check-frontend-vite-env.sh PASS (docs/scripts migration shim only)
/timecurve → /arena Playwright arena.spec.ts legacy redirect PASS
/timecurve/arena → /arena Playwright (added in this MR) PASS
/timecurve/protocol → /arena/protocol Playwright (added in this MR) PASS
Arena-only env check bash scripts/check-frontend-vite-env.sh with stack .env.local PASS
Anvil stack writes Arena vars only Inspected scripts/start-local-anvil-stack.sh + live .env.local PASS (no VITE_TIMECURVE)
Indexer GET /v1/arena/timers + /buys curl on Anvil stack :3101 PASS (200); /v1/timecurve/* → 404
Frontend unit tests cd frontend && npm test PASS (535 tests)
Frontend typecheck/lint/build npm run typecheck, npm run lint, npm run build PASS
contracts/src no TimeCurve/FeeRouter rg TimeCurve FeeRouter contracts/src PASS
Forbidden v1 frontend strings rg redeemCharms|endSale|buyFeeRoutingEnabled frontend/src PASS (empty)
E2E arena/redirect specs npx playwright test e2e/navigation.spec.ts e2e/referral-path.spec.ts e2e/arena.spec.ts -g legacy PASS (after this MR)
Indexer smoke bash scripts/verify-podium-live-anvil.sh PASS
/vesting removed rg vesting frontend/src/app PASS (no route)
README TimeArena quick-ref README § legacy v1 table labeled until #259 mainnet redeploy PASS (intentional historical snapshot)
Referral legacy path E2E e2e/referral-path.spec.ts FAIL → fixed in this MR

Follow-ups

  • Staging/mainnet sign-off per issue comment (@brouie).
  • Optional: refresh frontend/public/art/README.md links that still mention removed TimeCurvePage.tsx.
  • Full ANVIL_E2E=1 bash scripts/e2e-anvil.sh on CI (not re-run in this verification pass).

Closes #266

## Summary Verification of [GitLab #266](https://gitlab.com/PlasticDigits/yieldomega/-/issues/266) found stale Playwright specs in `referral-path.spec.ts` that still expected canonical URLs under `/timecurve/:code` after the #266 retirement (redirects now land on `/arena/:code`). This MR updates those tests and adds explicit coverage for `/timecurve/arena` and `/timecurve/protocol` redirects. **Issue #266 remains open** for product sign-off; this MR only fixes E2E drift discovered during agent verification. ## Verification checklist (acceptance → command → result) | Acceptance item | Command / check | Result | |-----------------|-----------------|--------| | No production route requires `VITE_TIMECURVE_ADDRESS` | `rg VITE_TIMECURVE_ADDRESS frontend/src scripts/check-frontend-vite-env.sh` | **PASS** (docs/scripts migration shim only) | | `/timecurve` → `/arena` | Playwright `arena.spec.ts` legacy redirect | **PASS** | | `/timecurve/arena` → `/arena` | Playwright (added in this MR) | **PASS** | | `/timecurve/protocol` → `/arena/protocol` | Playwright (added in this MR) | **PASS** | | Arena-only env check | `bash scripts/check-frontend-vite-env.sh` with stack `.env.local` | **PASS** | | Anvil stack writes Arena vars only | Inspected `scripts/start-local-anvil-stack.sh` + live `.env.local` | **PASS** (no `VITE_TIMECURVE`) | | Indexer `GET /v1/arena/timers` + `/buys` | `curl` on Anvil stack :3101 | **PASS** (200); `/v1/timecurve/*` → **404** | | Frontend unit tests | `cd frontend && npm test` | **PASS** (535 tests) | | Frontend typecheck/lint/build | `npm run typecheck`, `npm run lint`, `npm run build` | **PASS** | | `contracts/src` no TimeCurve/FeeRouter | `rg TimeCurve FeeRouter contracts/src` | **PASS** | | Forbidden v1 frontend strings | `rg redeemCharms\|endSale\|buyFeeRoutingEnabled frontend/src` | **PASS** (empty) | | E2E arena/redirect specs | `npx playwright test e2e/navigation.spec.ts e2e/referral-path.spec.ts e2e/arena.spec.ts -g legacy` | **PASS** (after this MR) | | Indexer smoke | `bash scripts/verify-podium-live-anvil.sh` | **PASS** | | `/vesting` removed | `rg vesting frontend/src/app` | **PASS** (no route) | | README TimeArena quick-ref | README § legacy v1 table labeled until #259 mainnet redeploy | **PASS** (intentional historical snapshot) | | Referral legacy path E2E | `e2e/referral-path.spec.ts` | **FAIL → fixed in this MR** | ## Follow-ups - Staging/mainnet sign-off per issue comment (@brouie). - Optional: refresh `frontend/public/art/README.md` links that still mention removed `TimeCurvePage.tsx`. - Full `ANVIL_E2E=1 bash scripts/e2e-anvil.sh` on CI (not re-run in this verification pass). Closes #266
PlasticDigits commented 2026-06-03 13:30:25 +00:00 (Migrated from gitlab.com)

mentioned in issue #266

mentioned in issue #266
PlasticDigits commented 2026-06-03 13:41:14 +00:00 (Migrated from gitlab.com)

mentioned in issue #286

mentioned in issue #286
PlasticDigits commented 2026-06-03 13:42:48 +00:00 (Migrated from gitlab.com)

marked this merge request as ready

marked this merge request as **ready**
PlasticDigits (Migrated from gitlab.com) merged commit d07870d33e into main 2026-06-03 13:49:41 +00:00
PlasticDigits commented 2026-06-03 13:49:42 +00:00 (Migrated from gitlab.com)

mentioned in commit d07870d33e

mentioned in commit d07870d33e8c2f5bf4185b3948c22eb1c96d5940
PlasticDigits commented 2026-06-08 08:45:13 +00:00 (Migrated from gitlab.com)

mentioned in commit e2419f7dec

mentioned in commit e2419f7dec6ecb2957e745de1035016cdd6fe577
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
code/yieldomega!412
No description provided.