test(workflow-agent): test background diff tab support
Description
As part of the changes in !2808, in src/common/language_server/diff_middleware.ts we open a diff tab in the background. This is achieved via an undocumented VS Code executeCommand option, added here: https://github.com/microsoft/vscode/pull/96966.
This test is added to guard against the possibility of the VS Code API no longer supporting this option, and verifies that the usage of this undocumented functionality does not break the extension.
If this test starts failing, we should remove the open-in-background option. If this functionality is no longer needed, the test may be removed.
Opened a separate MR to have this reviewed independently.
Related Issues
Relates to [VS Code] Make file edit notifications non-disr... (#2035)
How has this been tested?
-
If src/browserorsrc/commonhas been modified, please consider interoperability with the Web IDE. See Running the Extension in WebIDE. -
Consider an end-to-end test for significant new features that aren't covered by integration tests.
Screenshots (if appropriate)
What CHANGELOG entry will this MR create?
-
fix:Bug fix fixes - a user-facing issue in production - included in changelog -
feature:New feature - a user-facing change which adds functionality - included in changelog -
BREAKING CHANGE:(fix or feature that would cause existing functionality to change) - should bump major version, mentioned in the changelog -
None - other non-user-facing changes
Edited by Tristan Read