Files
Alaister YoungandCursor Agent 6827b821df test(studio): re-enable TanStack redirect E2E tests (#51970)
<!-- CURSOR_AGENT_PR_BODY_BEGIN -->
The hang behind the #51141 skips was fixed by the leaf-route
subscription in #51067, so this re-enables those tests and extends the
existing shim regression test. Supersedes #51157.

**Added:**
- Re-enabled the four E2E tests skipped in #51141 (API access edit,
grant preservation, trigger actions, trigger CRUD)

**Changed:**
- `router-navigation.test.tsx` now also asserts the router changes on
navigation

**Removed:**
- `STUDIO_FRAMEWORK` from `e2e/studio/env.config.ts`, which those skips
were the only consumer of

## To test
- [x] `pnpm --filter studio exec vitest run
compat/next/router-navigation.test.tsx compat/next/router.test.ts
--coverage.enabled=false` – 18 pass; the loader-refresh test fails if
`useMatches()` is subscribed without `select`
- [x] TanStack, three sequential runs of the four specs (`--workers=1`,
no retries) – all pass
- [x] Next, one run of the same four specs – all pass

Validation: Prettier, Studio typecheck, lint ratchet, and knip all
passed.
<!-- CURSOR_AGENT_PR_BODY_END -->

<div><a
href="https://cursor.com/agents/bc-266677df-fd82-5155-8395-c2eeb609cc73?cursor_ref=pr_footer&cursor_cta=open_in_web"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/assets/images/open-in-web-dark.png"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/assets/images/open-in-web-light.png"><img
alt="Open in Web" width="114" height="28"
src="https://cursor.com/assets/images/open-in-web-dark.png"></picture></a>&nbsp;<a
href="https://cursor.com/background-agent?bcId=bc-266677df-fd82-5155-8395-c2eeb609cc73&cursor_ref=pr_footer&cursor_cta=open_in_cursor"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/assets/images/open-in-cursor-dark.png"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/assets/images/open-in-cursor-light.png"><img
alt="Open in Cursor" width="131" height="28"
src="https://cursor.com/assets/images/open-in-cursor-dark.png"></picture></a>&nbsp;</div>

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2026-10-22 09:03:33 +02:00
..