Skip to content

WEB-3862: Add Paddle E2E parity tests in webbilling demo#820

Closed
nicfix wants to merge 7 commits into
mainfrom
WEB-3862
Closed

WEB-3862: Add Paddle E2E parity tests in webbilling demo#820
nicfix wants to merge 7 commits into
mainfrom
WEB-3862

Conversation

@nicfix

@nicfix nicfix commented Mar 25, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add a new Paddle Playwright suite in examples/webbilling-demo that mirrors Stripe Checkout coverage with the same test types (purchase flow, email query flow, malformed checkout/start response, and RC Paywall flow).
  • Add Paddle test helpers and config wiring, including a hardcoded Paddle offering ID (Paddle E2E Test Offering) and skip flags for stable CI behavior.
  • Update docs and CI env wiring to support Paddle E2E execution (VITE_RC_PADDLE_E2E_API_KEY, VITE_SKIP_PADDLE_TESTS).

rogersole added a commit that referenced this pull request Jun 10, 2026
…(WST-712)

- navigateToPaddleLandingUrl + forcePaddleCheckoutMode: forces inline or
  overlay presentation by rewriting inline_checkout_enabled in the real
  /checkout/start response, so one E2E project covers both modes
  deterministically regardless of the backend per-project flag.
- Mode-aware frame locators (inline container scoped; overlay via
  paddle.com iframe src) and completePaddleCheckoutForm parameterized by
  FrameLocator so it serves both modes (field locators from #820,
  credit: @nicfix).
- config-guard test: fails loudly on CI if VITE_RC_PADDLE_E2E_API_KEY is
  missing instead of letting the suite silently skip.
- First test: error screen when checkout/start returns missing paddle
  billing params (mode-agnostic, CI-safe).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
rogersole added a commit that referenced this pull request Jun 11, 2026
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>
rogersole added a commit that referenced this pull request Jun 11, 2026
…(WST-712)

- navigateToPaddleLandingUrl + forcePaddleCheckoutMode: forces inline or
  overlay presentation by rewriting inline_checkout_enabled in the real
  /checkout/start response, so one E2E project covers both modes
  deterministically regardless of the backend per-project flag.
- Mode-aware frame locators (inline container scoped; overlay via
  paddle.com iframe src) and completePaddleCheckoutForm parameterized by
  FrameLocator so it serves both modes (field locators from #820,
  credit: @nicfix).
- config-guard test: fails loudly on CI if VITE_RC_PADDLE_E2E_API_KEY is
  missing instead of letting the suite silently skip.
- First test: error screen when checkout/start returns missing paddle
  billing params (mode-agnostic, CI-safe).

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

Copy link
Copy Markdown
Contributor

Closing in favor of:
#916
#917
#918
#919
#920
#925
#924

@rogersole rogersole closed this Jun 11, 2026
@rogersole rogersole deleted the WEB-3862 branch June 11, 2026 09:36
rogersole added a commit that referenced this pull request Jun 12, 2026
…(WST-712)

- navigateToPaddleLandingUrl + forcePaddleCheckoutMode: forces inline or
  overlay presentation by rewriting inline_checkout_enabled in the real
  /checkout/start response, so one E2E project covers both modes
  deterministically regardless of the backend per-project flag.
- Mode-aware frame locators (inline container scoped; overlay via
  paddle.com iframe src) and completePaddleCheckoutForm parameterized by
  FrameLocator so it serves both modes (field locators from #820,
  credit: @nicfix).
- config-guard test: fails loudly on CI if VITE_RC_PADDLE_E2E_API_KEY is
  missing instead of letting the suite silently skip.
- First test: error screen when checkout/start returns missing paddle
  billing params (mode-agnostic, CI-safe).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants