Skip to content

test: Add a safe hosted commerce smoke test - #30

Merged
codejagaban merged 2 commits into
mainfrom
codex/stabilize-integration-tests
Sep 27, 2026
Merged

codejagaban merged 2 commits into
mainfrom
codex/stabilize-integration-tests

Conversation

@codejagaban

Copy link
Copy Markdown
Owner

Summary

  • add an opt-in hosted storefront smoke test using synthetic customer and product records
  • verify sign-up, saved address, Stripe test-mode settlement, webhook order creation, order access, email acceptance, password reset, R2 delivery, and image optimization
  • refuse live Stripe keys and non-HTTPS targets, then clean up only returned synthetic record IDs
  • document the required dedicated admin and plus-address mailbox setup

Verification

  • integration suite passed four consecutive local runs (20 tests each)
  • GitHub release checks passed on PR perf: Scale dashboard analytics queries #29, including integration and browser tests
  • unit tests, lint, typecheck, and production build pass
  • smoke configuration rejects missing variables, HTTP production targets, and live Stripe keys
  • smoke test discovery succeeds with safe placeholder settings

Hosted run

The full hosted payment run needs dedicated smoke-test admin credentials and a test-mode Stripe secret supplied at invocation time; it is intentionally excluded from ordinary PR CI.

@vercel

vercel Bot commented Sep 27, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
nextjs-ecomstore Ready Ready Preview Sep 27, 2026 11:17am UTC

@codejagaban
codejagaban merged commit 5df962a into main Sep 27, 2026
3 checks passed
@codejagaban
codejagaban deleted the codex/stabilize-integration-tests branch September 27, 2026 11:19

This branch was successfully deployed

2 active deployments
Production — 5df962a1 Deployed Sep 27, 2026 by vercel[bot]
Preview — 5df962a1 Deployed Sep 27, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant