test(e2e): add Paddle Web Purchase Link smoke test (WST-716)#924
Closed
rogersole wants to merge 1 commit into
Closed
test(e2e): add Paddle Web Purchase Link smoke test (WST-716)#924rogersole wants to merge 1 commit into
rogersole wants to merge 1 commit into
Conversation
c7bbb92 to
240ae3c
Compare
8a330b0 to
6c8050c
Compare
vicfergar
reviewed
Jun 12, 2026
Contributor
There was a problem hiding this comment.
I don't think we should have this test in this repo.
Also, what value does this test add? I think this case is already covered in the WPL repo.
Contributor
Author
There was a problem hiding this comment.
agreed, closing this PR
Contributor
Author
There was a problem hiding this comment.
Agreed — closing this one. The mechanics are already covered in rc-billing-checkout's paddle.spec.ts, and since this exercises the deployed app + released SDK it can't gate changes in this repo anyway. If we want this specific project's link/offering/entitlement config smoked, the right home is rc-billing-checkout's suite, which already parameterizes WPL link IDs via env vars.
685cb24 to
4a44191
Compare
c6a7d10 to
11b80a9
Compare
73b75ad to
287cbb1
Compare
Smoke-tests the Paddle E2E project's hosted Web Purchase Link (pay.rev.cat): open the link with a generated app user id, select a package, complete the Paddle checkout with the suite's shared helpers, and assert Payment complete. Unlike the rest of the suite this exercises the deployed rc-billing-checkout app and released SDK, not the local build — a cross-repo production smoke of the link/offering/Paddle/entitlement configuration. Link overridable via VITE_RC_PADDLE_E2E_WPL_URL. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
11b80a9 to
0692fb3
Compare
Contributor
Author
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 #925 — last PR of the WST-564 series.
Smoke-tests the Paddle E2E project's hosted Web Purchase Link: open the link with a generated app user id → select a package → complete the Paddle checkout (reusing the suite's shared
completePaddleCheckoutForm+ overlay frame helpers, which transferred to the hosted page unchanged) → assert Payment complete. Also documents the link and its override in the README.Scope caveat (by design): unlike the rest of the suite, this exercises the deployed rc-billing-checkout app and released SDK at pay.rev.cat — not the local build. It's a cross-repo production smoke of the link → offering → Paddle → entitlement configuration, not a regression gate for local changes. If a pay.rev.cat deploy breaks it, disable via
VITE_SKIP_PADDLE_TESTS(it shares the suite's guards) or pointVITE_RC_PADDLE_E2E_WPL_URLat a new link.Part of WST-564 (subtask WST-716).
Test plan
tsc --noEmit, eslint, prettier clean🤖 Generated with Claude Code
Note
Low Risk
Test and documentation only; no production SDK or checkout code changes, though CI may hit live pay.rev.cat and Paddle sandbox.
Overview
Adds a Playwright smoke test for Paddle’s hosted Web Purchase Link (
pay.rev.cat): open the link with a generated app user id, pick the “weekly no free trial” package, finish checkout via the existing Paddle overlay helpers, and assert Payment complete.Unlike the rest of the Paddle E2E suite, this run targets the deployed checkout app and released SDK (production smoke of link → offering → Paddle → entitlements), not the local demo build. The README now calls that out and documents optional
VITE_RC_PADDLE_E2E_WPL_URLwhen the default link rotates; the test still honorsVITE_SKIP_PADDLE_TESTSand the suite’s Chromium-on-CI skip.Reviewed by Cursor Bugbot for commit 0692fb3. Bugbot is set up for automated code reviews on this repo. Configure here.