Skip to content

test(e2e): add Paddle Web Purchase Link smoke test (WST-716)#924

Closed
rogersole wants to merge 1 commit into
roger/wst-715-paddle-e2e-variantsfrom
roger/wst-716-paddle-e2e-wpl-smoke
Closed

test(e2e): add Paddle Web Purchase Link smoke test (WST-716)#924
rogersole wants to merge 1 commit into
roger/wst-715-paddle-e2e-variantsfrom
roger/wst-716-paddle-e2e-wpl-smoke

Conversation

@rogersole

@rogersole rogersole commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

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 point VITE_RC_PADDLE_E2E_WPL_URL at a new link.

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

Test plan

  • tsc --noEmit, eslint, prettier clean
  • 3/3 green runs against the live link locally (~16-19s each, real sandbox purchases)
  • CI green (in flight after the latest rebase)

🤖 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_URL when the default link rotates; the test still honors VITE_SKIP_PADDLE_TESTS and 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.

@rogersole rogersole force-pushed the roger/wst-716-paddle-e2e-wpl-smoke branch from c7bbb92 to 240ae3c Compare June 11, 2026 09:01
@rogersole rogersole changed the base branch from roger/wst-714-paddle-e2e-happy-paths to roger/wst-715-paddle-e2e-variants June 11, 2026 09:01
@rogersole rogersole force-pushed the roger/wst-716-paddle-e2e-wpl-smoke branch 2 times, most recently from 8a330b0 to 6c8050c Compare June 11, 2026 09:23

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agreed, closing this PR

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@rogersole rogersole force-pushed the roger/wst-715-paddle-e2e-variants branch from 685cb24 to 4a44191 Compare June 12, 2026 12:54
@rogersole rogersole force-pushed the roger/wst-716-paddle-e2e-wpl-smoke branch 2 times, most recently from c6a7d10 to 11b80a9 Compare June 12, 2026 12:57
@rogersole rogersole force-pushed the roger/wst-715-paddle-e2e-variants branch 2 times, most recently from 73b75ad to 287cbb1 Compare June 12, 2026 13:03
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>
@rogersole rogersole force-pushed the roger/wst-716-paddle-e2e-wpl-smoke branch from 11b80a9 to 0692fb3 Compare June 12, 2026 13:04
@rogersole

Copy link
Copy Markdown
Contributor Author

Closing per review consensus — WPL coverage belongs in rc-billing-checkout (see thread). The rest of the WST-564 stack (#916#920, #925) is unaffected; this PR was the last in the chain and fully self-contained (test + README note).

@rogersole rogersole closed this Jun 12, 2026
@rogersole rogersole deleted the roger/wst-716-paddle-e2e-wpl-smoke branch June 12, 2026 13:08
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.

2 participants