Research Feasibility of Automating VS Code UI with vscode-test
for End-to-End Integration testing
#554
Labels
vscode-test
for End-to-End Integration testing
#554
Summary
We want to investigate how to automate Visual Studio Code for end-to-end testing scenarios. Specifically, we need to confirm it’s possible to simulate user interactions such as using Chat / Composer boxes, F-I-M etc, with perhaps something like VS Code’s official Extension Testing framework. This will help us ensure our core functionality works.
This is course needs to work in a headless environment as it will be run in CI as an integration test(s)
Background and Motivation
vscode-test
, perhaps can launch a headless (or GUI) instance of VS Code, install extension, and drive UI interactions via commands and the built-in"type"
command via CodeGateReferences
vscode-test
RepositoryGoals for This Research
"type"
command correctly routes keystrokes to the relevant input area (or if a custom solution is needed).Proposed Tasks
workbench.action.showCommands
,github.copilot.chat.open
, etc.) that will be needed for our scenarios.vscode-test
to open the Command Palette, type a query, and confirm the expected behavior."type"
commands work.Importance
Other points
We may need to write some mock APIs that replicate the various providers (copilot, antropic etc) as I doubt we want to hit the real services.
The text was updated successfully, but these errors were encountered: