Skip to content

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

Open
TomMcGrath7 wants to merge 2 commits intogetsentry:mainfrom
TomMcGrath7:test/snapshot-ui-regression-226
Open

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

Conversation

@TomMcGrath7
Copy link

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
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.

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.

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

1 participant

Comments