Skip to content

Add regression test for #226 (snapshot-ui CLI crash)#228

Merged
cameroncooke merged 2 commits intogetsentry:mainfrom
TomMcGrath7:test/snapshot-ui-regression-226
Feb 21, 2026
Merged

Add regression test for #226 (snapshot-ui CLI crash)#228
cameroncooke merged 2 commits intogetsentry:mainfrom
TomMcGrath7:test/snapshot-ui-regression-226

Conversation

@TomMcGrath7
Copy link
Copy Markdown
Contributor

Closes #226

The root cause (wrong tool names in snapshot_ui.ts + missing fallback in
next-steps-renderer.ts) is already fixed in main but was present in the
v2.0.7 npm release. This adds a regression test to prevent it from
reoccurring.

The test simulates the exact v2.0.7 scenario: tap_coordinate and
take_screenshot tool names with no cliTool mapping, and verifies
renderNextStepsSection handles it gracefully.

Found same bug while testing on simulators.

Copy link
Copy Markdown
Contributor

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

Comment thread src/utils/responses/__tests__/next-steps-renderer.test.ts Outdated
@cameroncooke cameroncooke merged commit 59a7e98 into getsentry:main Feb 21, 2026
3 checks passed
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.

CLI: snapshot-ui crashes in text output mode — missing cliTool for tap_coordinate next step

2 participants