Skip to content

[Improve] Keep settings regression coverage in webview-ui tests#95

Merged
edelauna merged 2 commits into
mainfrom
fix/unskip-settings-tests-3a14nppya0vlf
May 14, 2026
Merged

[Improve] Keep settings regression coverage in webview-ui tests#95
edelauna merged 2 commits into
mainfrom
fix/unskip-settings-tests-3a14nppya0vlf

Conversation

@roomote

@roomote roomote Bot commented May 14, 2026

Copy link
Copy Markdown
Contributor

Opened on behalf of Elliott de Launay. View the task or mention @roomote for follow-up asks.

What problem this solves

Fixes an issue where skipped settings regression tests left important webview-ui behavior uncovered, especially around SettingsView unsaved-change detection and the OpenAI-compatible reasoning-effort controls. It also fills the gap where future agents had no local guidance about when a regression belongs in webview-ui tests instead of apps/vscode-e2e.

Why this change was made

The existing skipped tests were already targeting the right layer, but two local harness issues were keeping them out of the active suite: the ApiOptions test double did not render a reasoning-effort control, and the SettingsView.unsaved-changes dialog mock behaved as though the dialog were always mounted. This change fixes those blockers, unskips the regression cases, and adds a webview-ui/AGENTS.md file that steers future work toward the component-test layer unless the real VS Code extension harness is genuinely required.

User impact

No user-facing product behavior changes. Contributors and agents now get stronger, faster regression coverage in the webview-ui suite, and the local guidance makes it clearer when a settings regression should stay in Vitest instead of being pushed into the slower VS Code e2e layer.

@roomote roomote Bot added the roomote:auto-resolve-conflicts Allow Roomote to auto-resolve merge conflicts for this PR label May 14, 2026
@roomote

roomote Bot commented May 14, 2026

Copy link
Copy Markdown
Contributor Author

1 issue outstanding. Action required. See task

  • platform-unit-test (windows-latest) is still pending after the 10-minute wait cap.

@codecov

codecov Bot commented May 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@edelauna edelauna marked this pull request as ready for review May 14, 2026 01:54
@edelauna edelauna requested a review from hannesrudolph as a code owner May 14, 2026 01:54
@edelauna edelauna force-pushed the fix/unskip-settings-tests-3a14nppya0vlf branch from 3b8e47b to 5278810 Compare May 14, 2026 03:31

@edelauna edelauna left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Unskipping, skipped integration tests.

@edelauna edelauna merged commit 350e172 into main May 14, 2026
11 checks passed
@edelauna edelauna deleted the fix/unskip-settings-tests-3a14nppya0vlf branch May 27, 2026 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

roomote:auto-resolve-conflicts Allow Roomote to auto-resolve merge conflicts for this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants