Skip to content

test(e2e): add Paddle E2E env plumbing and docs (WST-711)#917

Closed
rogersole wants to merge 3 commits into
roger/wst-710-e2e-harness-refactorfrom
roger/wst-711-paddle-e2e-env-plumbing
Closed

test(e2e): add Paddle E2E env plumbing and docs (WST-711)#917
rogersole wants to merge 3 commits into
roger/wst-710-e2e-harness-refactorfrom
roger/wst-711-paddle-e2e-env-plumbing

Conversation

@rogersole

@rogersole rogersole commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Summary

Stacked on #916. Infra lifted near-verbatim from #820 — credit @nicfix.

  • fixtures.ts: PADDLE_TEST_API_KEY from VITE_RC_PADDLE_E2E_API_KEY
  • integration-test.ts: SKIP_PADDLE_TESTS; test-helpers.ts: skipPaddleTestsIfDisabled
  • .env.example + README: Paddle E2E setup docs — VITE_RC_PADDLE_E2E_API_KEY placeholder, the VITE_SKIP_PADDLE_TESTS flag, and a link to the Paddle E2E project noting the key lives behind the devservices@ login in 1Password
  • .circleci/config.yml: export VITE_RC_PADDLE_E2E_API_KEY=${E2E_RC_PADDLE_E2E_API_KEY} and VITE_SKIP_PADDLE_TESTS in the test-e2e job

No behavior change — no tests reference the key yet. The config guard lands with the Paddle suite (next PR) so CI cannot fail before the CircleCI secret exists.

Part of WST-564 (subtask WST-711).

Test plan

  • tsc --noEmit, eslint, prettier clean
  • CI green (no behavior change)

🤖 Generated with Claude Code


Note

Low Risk
Documentation and test-only env wiring with no runtime or production behavior changes; no tests reference the new constants yet.

Overview
Adds Paddle E2E environment plumbing for the webbilling-demo Playwright suite, mirroring the existing Stripe pattern. No tests consume these hooks yet.

Test helpers: fixtures.ts exports PADDLE_TEST_API_KEY from VITE_RC_PADDLE_E2E_API_KEY; integration-test.ts adds SKIP_PADDLE_TESTS; test-helpers.ts adds skipPaddleTestsIfDisabled for future specs.

Docs & local config: .env.example documents the Paddle API key placeholder and VITE_SKIP_PADDLE_TESTS; the README covers the same env vars and optional skip flag for local/CI runs.

CI: The test-e2e job exports VITE_RC_PADDLE_E2E_API_KEY (from E2E_RC_PADDLE_E2E_API_KEY) and VITE_SKIP_PADDLE_TESTS (default false) alongside the other E2E Vite vars.

Reviewed by Cursor Bugbot for commit d2cb8df. Bugbot is set up for automated code reviews on this repo. Configure here.

rogersole and others added 2 commits June 11, 2026 08:04
Adds VITE_RC_PADDLE_E2E_API_KEY / VITE_SKIP_PADDLE_TESTS wiring
(fixtures, skip helper, .env.example, README, CircleCI exports).
No tests reference the key yet; the config guard lands with the
Paddle suite so CI cannot fail before the CircleCI secret exists.

Infra lifted from #820 (credit: @nicfix).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@rogersole rogersole deleted the branch roger/wst-710-e2e-harness-refactor June 12, 2026 13:23
@rogersole rogersole closed this Jun 12, 2026
@rogersole rogersole deleted the roger/wst-711-paddle-e2e-env-plumbing 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