test(e2e): add Paddle E2E env plumbing and docs (WST-711)#917
Closed
rogersole wants to merge 3 commits into
Closed
test(e2e): add Paddle E2E env plumbing and docs (WST-711)#917rogersole wants to merge 3 commits into
rogersole wants to merge 3 commits into
Conversation
3 tasks
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>
ee270ee to
04f1e89
Compare
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Stacked on #916. Infra lifted near-verbatim from #820 — credit @nicfix.
fixtures.ts:PADDLE_TEST_API_KEYfromVITE_RC_PADDLE_E2E_API_KEYintegration-test.ts:SKIP_PADDLE_TESTS;test-helpers.ts:skipPaddleTestsIfDisabled.env.example+ README: Paddle E2E setup docs —VITE_RC_PADDLE_E2E_API_KEYplaceholder, theVITE_SKIP_PADDLE_TESTSflag, and a link to the Paddle E2E project noting the key lives behind the devservices@ login in 1Password.circleci/config.yml: exportVITE_RC_PADDLE_E2E_API_KEY=${E2E_RC_PADDLE_E2E_API_KEY}andVITE_SKIP_PADDLE_TESTSin thetest-e2ejobNo 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🤖 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.tsexportsPADDLE_TEST_API_KEYfromVITE_RC_PADDLE_E2E_API_KEY;integration-test.tsaddsSKIP_PADDLE_TESTS;test-helpers.tsaddsskipPaddleTestsIfDisabledfor future specs.Docs & local config:
.env.exampledocuments the Paddle API key placeholder andVITE_SKIP_PADDLE_TESTS; the README covers the same env vars and optional skip flag for local/CI runs.CI: The
test-e2ejob exportsVITE_RC_PADDLE_E2E_API_KEY(fromE2E_RC_PADDLE_E2E_API_KEY) andVITE_SKIP_PADDLE_TESTS(defaultfalse) 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.