Skip to content

test(smoke): fix stale paywall radiogroup assertion (unblocks prod smoke) - #340

Merged
thomasluizon merged 1 commit into
mainfrom
fix/paywall-smoke-test
Jun 27, 2026
Merged

test(smoke): fix stale paywall radiogroup assertion (unblocks prod smoke)#340
thomasluizon merged 1 commit into
mainfrom
fix/paywall-smoke-test

Conversation

@thomasluizon

Copy link
Copy Markdown
Owner

Unblock the prod smoke — stale paywall assertion

The post-deploy Prod Smoke failed on 1 of 7 tests: paywall.spec.ts asserted getByRole('radiogroup'), but #327 redesigned the upgrade page from a radiogroup plan-selector into the 3-column PricingSection (a PlanCard grid). The paywall-checkout testid is still present (the yearly hero card's CTA), so the only stale line is the radiogroup assertion — dropped.

Prod is healthy — the 4 critical flows (auth, create-habit, log-habit, Astra-creates-habit) and the plans API all passed; only the stale selector failed. No rollback needed.

🤖 Generated with Claude Code

#327 redesigned the upgrade paywall from a radiogroup plan-selector into the 3-column PricingSection (a PlanCard grid). The post-deploy prod smoke failed on the now-absent getByRole('radiogroup'). The 'paywall-checkout' testid still exists (the yearly hero card CTA), so drop only the obsolete radiogroup line. Prod is healthy — the other 6 smoke tests (auth, create/log habit, Astra) pass.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 27, 2026

Copy link
Copy Markdown

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

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
orbit-ui-mobile-web Ignored Ignored Jun 27, 2026 10:12pm

Request Review

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review PR 340 - APPROVE. Single-line deletion removing a stale getByRole radiogroup assertion from the paywall smoke test. PR 327 redesigned the upgrade page from a radiogroup plan-selector to a PricingSection grid, making the old assertion permanently false. The remaining getByTestId paywall-checkout assertion is confirmed valid - the testid is present in apps/web/components/upgrade/plan-selection.tsx. All subagents N/A (test-only file, no production code changed). No findings. Merge.

@thomasluizon
thomasluizon merged commit e0a84c7 into main Jun 27, 2026
9 checks passed
@thomasluizon
thomasluizon deleted the fix/paywall-smoke-test branch June 27, 2026 22:17
@sonarqubecloud

Copy link
Copy Markdown

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