Benjamin Pasero
c8f1c4eca9
Revert "smoke - use workbench.action.clearEditorHistoryWithoutConfirm consistently" ( #265471 )
...
Revert "smoke - use `workbench.action.clearEditorHistoryWithoutConfirm` consi…"
This reverts commit e910fd5e1d .
2025-09-06 13:28:15 +02:00
Benjamin Pasero
e910fd5e1d
smoke - use workbench.action.clearEditorHistoryWithoutConfirm consistently ( #265146 )
2025-09-05 13:15:02 +02:00
Tyler James Leonhardt
3c90d276e0
Have the lifecycle dependent on the Page since we only support 1 window for now ( #264099 )
...
This makes sure that closing the window actually closes everything to workaround the macOS behavior of having all windows closed but it's still running.
2025-08-29 16:07:36 -07:00
Tyler James Leonhardt
f1a5fb082b
Go all in on stdio and gate all the tools behind the launch tool ( #264088 )
...
* Removes HTTP logic
* enable/disables automation tools based on if app is opened
* kill and re-create the playwright server based on if app is opened
2025-08-29 21:41:01 +00:00
Tyler James Leonhardt
443daf8d60
Allow configuring userDataDir, ExtensionDir, & usage of in-memory Secret Storage ( #263451 )
...
* Allow configuring userDataDir, ExtensionDir, & usage of in-memory Secret Storage
ref https://github.com/microsoft/vscode/issues/262164
* fix a couple references of getRandomUserDataDir
2025-08-27 15:31:27 -04:00
Tyler James Leonhardt
7a46ac4d80
First pass at disabling tools that aren't useful for this MCP flow ( #263298 )
...
* First pass at disabling tools that aren't useful for this MCP flow
And enable the multiplexer server
* revert that
* revert that
* revert that
* disable a couple more
* add a start to improve model behavior & rewrite prompt file
2025-08-25 11:46:20 -07:00
Tyler James Leonhardt
a7cdeedd57
Add another server built on top of our own automation framework ( #262984 )
...
* Add another server built on top of our own automation framework
It's a big PR but a lot of this is boiler plate. It's just essentially wrapping our Automation framework in a bunch of tools.
* Lay the foundation for multiplexing
2025-08-22 17:20:22 -07:00
Tyler James Leonhardt
d436b22dca
Allow modals in automation ( #262808 )
2025-08-22 15:54:31 +02:00
Tyler James Leonhardt
6e36a27f3c
Revert "Allow modals in automation" ( #262806 )
...
Revert "Allow modals in automation (#262510 )"
This reverts commit 038c39cd5c .
2025-08-21 23:23:25 +00:00
Tyler James Leonhardt
038c39cd5c
Allow modals in automation ( #262510 )
...
* Allow modals in automation
This allows for the opt-in behavior of allowing dialogs while using automation.
When opted in, we also switch over to using custom dialogs & the simple file picker so that the automation can control it.
This was added so that we can do auth flows, which uses dialogs. Now we will be able to complete an auth flow (with the help of the user in the browser) and automate interacting with chat via the development MCP server.
* Instead use custom for smoke tests
* Go back to command but have a context key for automation
* Workaround terminal smoke tests
2025-08-21 18:07:11 -04:00
Tyler James Leonhardt
63a08f4e04
Mention debugging of the server ( #262586 )
2025-08-20 21:59:27 +00:00
Tyler James Leonhardt
14077dbc5b
Inject alpha playwright in to our automation in MCP case ( #262564 )
...
This fixes things for MCP... with a hack. But Playwright is not interested in having interop between Playwright & Playwright MCP atm... so this is the best we can do for now.
2025-08-20 21:02:18 +00:00
dependabot[bot]
8dac0058fb
Bump tmp from 0.0.33 to 0.2.4 in /test/integration/browser ( #262506 )
...
Bumps [tmp](https://github.com/raszi/node-tmp ) from 0.0.33 to 0.2.4.
- [Changelog](https://github.com/raszi/node-tmp/blob/master/CHANGELOG.md )
- [Commits](https://github.com/raszi/node-tmp/compare/v0.0.33...v0.2.4 )
---
updated-dependencies:
- dependency-name: tmp
dependency-version: 0.2.4
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-20 16:19:47 +00:00
Benjamin Pasero
d2edee2476
Revert "Allow dialogs in automation" ( #262444 )
...
Revert "Allow dialogs in automation (#262417 )"
This reverts commit 53c9922948 .
2025-08-20 06:24:03 +00:00
Tyler James Leonhardt
53c9922948
Allow dialogs in automation ( #262417 )
...
So that mcp can use dialogs and let the user answer the dialogs. This is critical for auth.
This also switches to using the custom dialog in electron so that the driver can interact with it.
2025-08-19 18:56:19 -07:00
Tyler James Leonhardt
84d98ca969
Allow running in serverless web ( #262390 )
2025-08-19 13:42:25 -07:00
Copilot
3f44d80059
Implement workspace-aware default window sizing with unified API (1440x900 for workspaces, 1200x800 for empty windows) ( #262266 )
2025-08-19 10:58:58 +00:00
Copilot
a496091135
Fix smoke test directory conflicts by adding unique workspace path suffixes ( #262268 )
2025-08-19 12:57:48 +02:00
Tyler James Leonhardt
c81631ed89
Use stdio for the vscode playwright mcp ( #262260 )
...
* Use stdio for the vscode playwright mcp
makes for easier management... since it can be compiled when launched.
* add to readme
2025-08-19 08:27:10 +02:00
Tyler James Leonhardt
4a653ec816
Add initial MCP server ( #261898 )
2025-08-15 23:25:13 -07:00
dependabot[bot]
fd7fa54674
Bump tmp from 0.2.1 to 0.2.4 in /test/automation ( #260179 )
...
Bumps [tmp](https://github.com/raszi/node-tmp ) from 0.2.1 to 0.2.4.
- [Changelog](https://github.com/raszi/node-tmp/blob/master/CHANGELOG.md )
- [Commits](https://github.com/raszi/node-tmp/compare/v0.2.1...v0.2.4 )
---
updated-dependencies:
- dependency-name: tmp
dependency-version: 0.2.4
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-08 21:08:26 +00:00
dependabot[bot]
f84d8accc1
Bump brace-expansion from 1.1.11 to 1.1.12 in /test/automation ( #256538 )
...
Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion ) from 1.1.11 to 1.1.12.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases )
- [Commits](https://github.com/juliangruber/brace-expansion/compare/1.1.11...v1.1.12 )
---
updated-dependencies:
- dependency-name: brace-expansion
dependency-version: 1.1.12
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-08 13:46:29 -07:00
Benjamin Pasero
55377133de
Smoke-test failure: directory not empty ( fix #260110 ) ( #260121 )
2025-08-06 16:00:13 +00:00
Benjamin Pasero
27c10fba46
[chore] bump @types/mocha to match mocha ( #260034 )
2025-08-06 11:54:24 +00:00
Aman Karmani
934593aeb1
fix some typos ( #259747 )
2025-08-06 11:49:35 +00:00
Matt Bierner
e51d57aa5c
Update target for build and test scripts
2025-08-04 17:28:08 -07:00
Alex Ross
363abcb2f5
Disable notebook "check object leaks" test ( #258417 )
2025-07-29 06:23:47 -07:00
Alex Ross
6d8f0ed1c5
Disable flaky task tests ( #256249 )
...
See https://github.com/microsoft/vscode/issues/227367
2025-07-16 07:18:29 -07:00
Megan Rogge
dff97cf6a9
add editor a11y playwright tests ( #255899 )
2025-07-15 05:38:21 +02:00
Daniel Imms
e979afe960
Merge branch 'main' into tyriar/246731
2025-07-14 05:18:02 -07:00
Martin Aeschlimann
6dd2b84fa2
Merge pull request #254690 from madskristensen/schemastore-subdomain-fix
...
Updated references to schemastore.org
2025-07-11 12:10:29 +02:00
Matt Bierner
a0e680dc71
Make sure inline chat math wrapped in parens is rendered
...
Syntax like `a ($x$) b` is generated fairly often
2025-07-11 00:03:47 -07:00
Martin Aeschlimann
30cfae0d78
use www.schemastore
2025-07-10 18:16:09 +02:00
Daniel Imms
a3c8ce1482
Force accept function in dispatchKeybinding
...
One common source of flakiness is just dispatching a keybinding and
not verifying it did its thing. This change adds a few accept functions
and also forces callers to provide an async function so that the caller
considers adding one as it's the norm, not the edge case.
Fixes #246731
2025-07-10 06:49:16 -07:00
Daniel Imms
ac3d4703b2
Eliminate some flakiness when not verifying files save
...
This test was flaking because before the suite runs a bunch of settings
are added which are critical to making the test reliable. Inside the
settings part it opens the editor, edits it and saves the file via
ctrl/cmd+s. This is all fine, but it doesn't verify anything so the
editor may end up closing before ctrl/cmd+s actually gets handled. We
disable the modal in smoke tests since it needs to run headlessly, so
it's difficult to see that the file never actually saves and a dirty
file is closed and discarded.
The fix is to verify settings.json actually does save by changing the
shared Editors.saveOpenedFile mechanism to ensure the dirty indicator
isn't present on the active tab.
Fixes #254893
Part of #246731
2025-07-10 05:06:22 -07:00
Raymond Zhao
430f91e41b
chore: bump get-func-name ( #254989 )
...
Resolves an npm audit issue
2025-07-09 22:42:03 +00:00
Daniel Imms
a281c05b7e
Make before each step run with retries
...
Fixes #253590
2025-07-08 12:27:43 -07:00
Aman Karmani
7deabf42e7
[engineering] add testSplit option to unit-test runner ( #253049 )
...
helpful to run tests in parallel
2025-07-07 20:34:30 +00:00
Benjamin Pasero
55b9191fe3
ci - improve log message on failure ( #254460 )
2025-07-07 15:40:56 +00:00
Benjamin Pasero
c315e865bf
up @playwright/test to 1.53.2 ( #254280 )
...
* up `@playwright/test` to `1.53.2`
* enable tracing on CI always
2025-07-06 08:46:36 +02:00
Benjamin Pasero
367fc5f243
exp - introduce and use flag to disable experiments ( #254057 )
...
* exp - introduce and use flag to disable experiments
* fix
2025-07-04 09:17:56 +00:00
Ladislau Szomoru
4d7c56ee82
Engineering - Add GitHub action for pull requests ( #254056 )
...
* Test - handle running tests as part of a GitHub action
* Add GitHub action files
2025-07-04 08:21:56 +00:00
Benjamin Pasero
2ed2eb30c7
skip flaky tests ( #253586 )
2025-07-02 10:44:47 +02:00
dependabot[bot]
0d17d0c5d0
Bump brace-expansion from 1.1.11 to 1.1.12 in /test/smoke ( #251659 )
...
Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion ) from 1.1.11 to 1.1.12.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases )
- [Commits](https://github.com/juliangruber/brace-expansion/compare/1.1.11...v1.1.12 )
---
updated-dependencies:
- dependency-name: brace-expansion
dependency-version: 1.1.12
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-30 17:22:53 +02:00
Robo
0f5ce4a087
chore: reland windows 2022 agent for product builds ( #251560 )
...
* chore: bump gulp-electron@1.37 .0
* chore: update package-lock.json
* Reland "Fix extraction of tab title name" (#251379 )"
This reverts commit 5d1bd8f13d .
Reason for revert:
Icon issue was side affect of the windows agent change that affected
the rcedit binary which has now been addressed.
* chore: bump gulp-electron@1.37 .1
2025-06-18 12:00:44 +02:00
Benjamin Pasero
5d1bd8f13d
Revert "Fix extraction of tab title name" ( #251379 )
...
* Revert "Fix extraction of tab title name (#250621 )"
This reverts commit ab6d98e599 .
* skip test
2025-06-13 15:38:51 +02:00
Robo
7e4d8e92bc
(Reland) fix: smoke tests for stable with editcontext enabled ( #251074 )
2025-06-10 00:44:09 -07:00
Robo
94a9756f46
Revert "fix: smoke tests for stable with editcontext enabled ( #251055 )" ( #251075 )
...
This reverts commit 433220e98a .
2025-06-10 08:47:30 +02:00
Robo
433220e98a
fix: smoke tests for stable with editcontext enabled ( #251055 )
2025-06-09 20:36:07 -07:00
Benjamin Pasero
cdf404ff47
debt - restore old layer name ( #250928 )
2025-06-09 07:08:43 +00:00