Commit Graph

1115 Commits

Author SHA1 Message Date
Benjamin Pasero
e2144d22df refactor - improve workspace path handling in smoke tests (#287706) 2026-01-14 06:53:34 +00:00
Peng Lyu
e64d58389d vscode mcp: support custom workspace path; enable restart tool (#286297)
* vscode mcp: support specifying workspace path; enable restart tool

* fix: include workspace path in launch options for browser

* fix: ensure workspace path is set for tests requiring a workspace

* Address PR review comments: support optional workspace path

* fix: standardize workspace path variable naming in tests

* fix: fallback to rootPath for workspacePath in CI environments
2026-01-13 16:38:31 -08:00
meganrogge
29068277e3 fixes #286855 2026-01-09 18:37:00 -06:00
Megan Rogge
9b90136ce3 skip smoke test for web on mac (#286808)
skip for web on mac
2026-01-09 19:42:03 +00:00
Megan Rogge
4e9a8da2de fix flaky smoke test 🤞🏼 (#286806)
fixes #286804
2026-01-09 19:30:31 +00:00
Megan Rogge
bf90c47890 Bring back a11y smoke tests, add exclusion for flake case (#286773)
fixes #286704
2026-01-09 17:03:15 +00:00
Benjamin Pasero
8edf92d2af debt - update esbuild@0.27.2 (#286687) 2026-01-09 10:53:03 +00:00
Megan Rogge
9986468dd2 add accessibility tests for more of the workbench (#286446) 2026-01-08 21:33:47 +01:00
Ladislau Szomoru
dd65f0c5ef Engineering - switch from npm-run-all to npm-run-all2 (#284087)
* Introduce compilation error

* Engineering - limit the tasks that we run

* Limit available memory to simulate an OOM

* Try to update the task

* Remove the use of npm-run-all

* Fix script

* Another try

* Try npm-run-all2

* Restore tasks, keep npm-run-all2

* Switch from npm-run-all to npm-run-all2

* Revert changes that were used for testing
2026-01-05 15:49:42 +01:00
Aaron Munger
4290065b29 notebook tests still failing too often (#283882)
still failing too often
2025-12-16 19:29:08 +00:00
Benjamin Pasero
3cd24f525e Screencheese issue in empty chat welcome view (fix #273827) (#283819) (#283825)
docs - update log file retrieval instructions
2025-12-16 15:13:27 +00:00
Raymond Zhao
41997d514d chore: npm audit fix (#279437)
* chore: npm audit fix

* chore: npm audit fix in extensions

* chore: npm audit fix in tests

* Catch last few
2025-11-25 20:29:09 +00:00
Daniel Imms
e65fbaa63e Also clear scrollback in smoke tests 2025-11-14 11:23:37 -08:00
Aaron Munger
8e0a21f36d enable a few notebook smoke tests (#276793)
* more strenuous add/delete cell check

* unskip some tests
2025-11-11 17:12:27 -08:00
Matt Bierner
19606fb407 Fix in smoke tests 2025-11-10 10:31:47 -08:00
Benjamin Pasero
cb11538020 MCP related actions need to hide when AI features are disabled (fix #275478) (#275840) 2025-11-06 15:53:29 +00:00
Aaron Munger
ebd995adee disable flaky test (#275414) 2025-11-05 00:02:59 +00:00
Benjamin Pasero
08d06ad8c1 smoke - more checks for AI test (#274002)
* smoke - more checks for AI test

* change to set
2025-10-30 08:24:49 +01:00
Benjamin Pasero
6808f75d53 chat - add a smoke test to check for AI disabling support (#273940) 2025-10-29 13:16:26 +00:00
Matt Bierner
2f5b1d0cc4 Enforce single quote strings in tests too
Fixes #271473

Final pass of fixes and removes the exception for test files
2025-10-15 11:33:45 -07:00
Aaron Munger
32fbf1d72e skip all but the simplest (#270790) 2025-10-10 10:52:12 -07:00
Aaron Munger
57409952f0 re-enable tests to look for failure (#270299)
* re-enable tests to look for failure

* edit to focus back in the cell

* make command available for smoke test
2025-10-10 10:01:16 -07:00
João Moreno
abb3be88db isolate smoke test runs between type (#269021)
also, move some fs calls to sync
also, increase retryDelay for rmSync
fixes #268437
2025-09-30 08:20:08 +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
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
Copilot
a496091135 Fix smoke test directory conflicts by adding unique workspace path suffixes (#262268) 2025-08-19 12:57:48 +02: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
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
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
a281c05b7e Make before each step run with retries
Fixes #253590
2025-07-08 12:27:43 -07: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
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
7e4d8e92bc (Reland) fix: smoke tests for stable with editcontext enabled (#251074) 2025-06-10 00:44:09 -07:00
Daniel Imms
95c9166d0b Revert "Merge pull request #250670 from microsoft/copilot/fix-250669"
This reverts commit aa095f877e, reversing
changes made to 13ff4544a7.
2025-06-06 09:49:55 -07:00
copilot-swe-agent[bot]
670d678f26 Update test files to use SendSequence instead of WriteDataToTerminal
Co-authored-by: Tyriar <2193314+Tyriar@users.noreply.github.com>
2025-06-05 10:52:26 +00:00
Robo
12326f9906 chore: update to Electron 35 (#245423)
* chore: bump electron@35.0.1

* chore: update types/node@22.x

* chore: update web types for node v22.x

* chore: bump electron@35.1.2

* chore: update node.js build

* chore: update app.dock usage

Refs 71f3ff6bf2

* chore: bump electron@35.1.4

* chore: bump electron@35.1.5

* ci: bump sysroot to glibc 2.28 and gcc 10.5.0

* ci: enable timeout for smoketests

* chore: bump min glibcxx to 3.4.26 for server

* Revert "ci: enable timeout for smoketests"

This reverts commit afb637e85d.

* chore: update debian dependencies

* fix: workaround npm.ps1 argument parsing with powershell

* chore: update rpm dependencies

* test: partially revert changes from 242535

* test: remove redudant keybinding dispatch for selectTab

* test: fix test failure from running configured tasks

* test: focus settings editor for preferences.test.ts

* node - adopt compile cache (#246835)

* node - adopt compile cache

* adopt for utility process

* tweaks

* log state of compilation cache

* Revert "log state of compilation cache"

This reverts commit f3840387a583013834762e2c44f6e8424929297f.

* Revert "node - adopt compile cache (#246835)"

This reverts commit 673a00cab66c9bac87f3cd27b80efa41c80150f1.

* chore: update builds

* chore: bump electron@35.2.0

* chore: bump electron@35.2.1

* chore: bump electron@35.2.2

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2025-05-09 19:03:36 +09:00
Benjamin Pasero
10fc28b3b8 tests - enable verbose arg for extension installation tests (#245320) 2025-04-02 13:33:19 +02:00
João Moreno
6151dca574 remove watch module (#243208) 2025-03-11 16:21:23 +00:00
Daniel Imms
d750544dc3 Fix shell integration smoke test flake
The problem was caused by zsh being out of date causing the shell
initialized check to not work properly as the prompt was delayed after
that.

Fixes #242739
2025-03-10 06:02:42 -07:00
Aiday Marlen Kyzy
fa548237be Adding acceptance condition to dispatchKeybinding in smoketests (#242570)
* adding code for smoke tests

* adding awaits

* changing wait code

* renaming dispatch to send

* moving comment

* update to send
2025-03-05 11:38:48 +01:00
Alex Ross
cf46a56bd4 Disable changes "workbench.action.toggleSidebarPosition" command key binding and verifies it (#239820) 2025-02-06 09:18:24 -08:00
Benjamin Pasero
5e667f741b smoke tests - run with snapshots: true for tests that install extensions (#238855) 2025-01-27 17:30:59 +01:00