Skip to content

test(e2e): scope events stub to RevenueCat and make user fixtures test-scoped (WST-710)#916

Closed
rogersole wants to merge 4 commits into
mainfrom
roger/wst-710-e2e-harness-refactor
Closed

test(e2e): scope events stub to RevenueCat and make user fixtures test-scoped (WST-710)#916
rogersole wants to merge 4 commits into
mainfrom
roger/wst-710-e2e-harness-refactor

Conversation

@rogersole

@rogersole rogersole commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Scope the /v1/events Playwright stub in webbilling-demo so it only fulfills RevenueCat's events endpoint (revenuecat.com/v1/events) and lets all other requests through — Paddle exposes its own /v1/events-like endpoints that must not be swallowed.
  • Make the userId/email fixtures explicitly test-scoped ({ scope: "test" }).

First PR of the stacked series for WST-564 (subtask WST-710). Extracted from #820 — credit @nicfix.

Test plan

  • tsc --noEmit, eslint, prettier clean in examples/webbilling-demo
  • CI test-e2e green (full existing suite — this is the only PR in the series that touches shared harness code)

🤖 Generated with Claude Code

…t-scoped (WST-710)

Extracted from #820 (credit: @nicfix). The /v1/events stub previously
fulfilled any provider's /v1/events endpoint; Paddle exposes its own
events-like endpoints that must go through. Also makes the userId/email
fixtures explicitly test-scoped ahead of the Paddle E2E suite.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@rogersole

Copy link
Copy Markdown
Contributor Author

Superseded by #925, which now targets main and contains the full WST-564 stack (this PR's commits included) — all CI checks green there. Closing to keep a single merge point.

@rogersole rogersole closed this Jun 12, 2026
@rogersole rogersole deleted the roger/wst-710-e2e-harness-refactor branch June 12, 2026 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant