Skip to content

test: Playwright E2E suite for connect-core, connect-react, connect-elements against gateway sandbox #42

Description

@aguilar1x

Context

The sandbox / test-mode escrow simulator (#19) exists, but there's no automated end-to-end suite exercising the full checkout flow across packages. Regressions today are only caught manually or in production.

Scope

  • Playwright test suite covering: handshake → quote → checkout → escrow event → webhook, run against the sandbox simulator from feat: sandbox / test mode with escrow lifecycle simulator #19.
  • Coverage across all three consumer surfaces: connect-core (headless), connect-react (mounted component), connect-elements (web component in a plain HTML page).
  • Wired into CI (npm run check-equivalent) so PRs fail on a broken checkout flow.

Acceptance criteria

  • The suite runs in CI on every PR and fails the build on a broken checkout flow in any of the three packages.
  • At least one test per package exercises the full happy-path checkout end-to-end against the sandbox.
  • A regression in escrow-event handling (e.g. missed SSE reconnect) is caught by the suite, not just manual QA.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions