test(18.1): duplicates 2 and 3 settled by tests 6 and 7

This commit is contained in:
Jakub Zych
2026-10-16 20:17:28 +02:00
parent 6878be4e6a
commit 90b2d4e23b

View File

@@ -19,13 +19,13 @@ note: CR-01 fixed in plan 18.1-07 (fresh-state retrieval, deletion retry), CR-02
### 2. Live Stripe test-mode checkout end to end: test-mode keys and the subscription webhook secret in pgstripe settings, `stripe listen --forward-to <host>/webhook/stripe/subscriptions`, run checkout from the layer playground (PgPlans -> PgSubscribeButton) with the user subscriber
expected: Stripe Checkout opens on the plan's price in the shown currency; after payment the webhook answers 200 'Webhook received', the job stores the subscription as active, golem15.pgsub.subscription.activated fires once, GET /subscription answers has_access true; observe whether customer.subscription.created arrives as incomplete followed by updated active (the CR-01 race window)
result: skipped
reason: duplicate of test 6 (re-seeded after gap closure)
result: pass
reason: duplicate of test 6; the same check passed live as test 6
### 3. Billing-portal cancellation (D-21 cancel_at question): open the portal through PgManageSubscriptionButton, cancel the subscription, inspect the delivered customer.subscription.updated
expected: If Stripe sends cancel_at_period_end: true, the row gets cancel_at_period_end true and PgMySubscription shows the will-cancel notice. If it sends only cancel_at (newer API versions), the row keeps cancel_at_period_end false and the cancellation is invisible; that would need a follow-up mapping
result: skipped
reason: duplicate of test 7 (re-seeded after gap closure)
result: pass
reason: duplicate of test 7; the same check passed live as test 7
### 4. Browser pass through the admin screens and the layer components
expected: Taglist chips (Enter, comma, remove, suggestions, read-only) on the plan form; flat drag reorder of plans writes sort_order; bulk sync_to_stripe and toolbar sync_all_to_stripe toasts with per-plan failures; Subscriptions list filters and the preview subscriber partial; the layer's plans table, subscribe redirect, my-subscription cancel through PgConfirm, portal redirect; press Back from Stripe Checkout and check whether the subscribe button is stuck on 'Subscribing...' (review WR-07, unfixed in app/utils/subscribe.ts)
@@ -65,10 +65,10 @@ severity: blocker
## Summary
total: 8
passed: 6
passed: 8
issues: 0
pending: 0
skipped: 2
skipped: 0
blocked: 0
## Gaps