Skip to content

test(web): expand e2e coverage and isolate rate-limit state - #148

Merged
dillonstreator merged 1 commit into
mainfrom
test/e2e-isolation-and-product-paths
Aug 10, 2026
Merged

test(web): expand e2e coverage and isolate rate-limit state#148
dillonstreator merged 1 commit into
mainfrom
test/e2e-isolation-and-product-paths

Conversation

@dillonstreator

Copy link
Copy Markdown
Member

Summary

  • Isolate Playwright from shared Redis rate-limit state (RATE_LIMITER=memory), always spawn dedicated e2e servers on :4322/:4173, and rebuild preview so baked VITE_API_URL matches CSP connect-src
  • Use in-memory rate limiting in server unit tests so CI counters cannot poison e2e
  • Expand product + CSP coverage: default create→read→burn (including second-visit not found) and password unlock

Test plan

  • pnpm --filter @crypt.fyi/server test
  • pnpm test:e2e (with Redis running) — both specs pass under production CSP
  • Optionally leave pnpm dev on :4321 running and confirm e2e still uses :4322 without attaching to it

Keep Playwright from sharing Redis rate-limit counters or attaching to a local pnpm-dev API, and cover the default burn path plus password unlock under production CSP.
@cursor

cursor Bot commented Aug 10, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@dillonstreator
dillonstreator merged commit 9bb2f17 into main Aug 10, 2026
6 checks passed
@dillonstreator
dillonstreator deleted the test/e2e-isolation-and-product-paths branch August 10, 2026 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant