Commit graph

1253 commits

Author SHA1 Message Date
Benjamin Pasero 032662071c
openIntegration test failure: openTextDocument, untitled closes on save (#157897) (#158482) 2022-08-18 14:56:50 +02:00
Rob Lourens 8c2fd550a3
Notebook cell execute in Interactive Window Test Fails on MacOS (#157963)
* Notebook cell execute in Interactive Window Test Fails on MacOS
Fixes #157826

* Remove .only
2022-08-12 09:31:11 -07:00
Aaron Munger 74f8a781d0
Merge pull request #157923 from amunger/interactiveExecute
add parameter to Interactive Execute to specify resource
2022-08-11 11:20:12 -07:00
aamunger 694324e3ac
add parameter to Interactive Execute to specify resource 2022-08-11 10:45:24 -07:00
Benjamin Pasero c6bcc3fcbf
API command test fail on MacOS (for #157824) (#157885)
API command test fail on MacOS (fix #157824)
2022-08-11 09:57:19 -04:00
Benjamin Pasero a3067cbbc6
assert that closed is defined (for #157897) (#157901) 2022-08-11 06:46:19 -07:00
Rob Lourens 8671778f8d
Fix notebook execution test failures (#157290)
* Fix notebook execution test failures
An error thrown in an event handler did not cause the test to fail, using DeferredPromise. Adjusting the api event to account for Unconfirmed vs Pending states. And accounting for onDidChangeNotebookDocument being fired multiple times during a test, causing the test to complete early while execution was still happening.
Fixes #157067

* Remove log
2022-08-05 11:07:20 -07:00
Benjamin Pasero 73fd3f1103
fix build (#157217)
* fix build

* fix compile

* flaky

* .
2022-08-05 09:16:20 +02:00
Matt Bierner c5f857f0cf
Remove skipped webview tests (#157155)
Fixes #153066

It's unclear what is causing these to occasionally fail in CI but keeping around these skipped tests is not useful
2022-08-04 23:49:05 +02:00
rebornix 336373dfc5
bring back kernel execute test 2022-08-03 10:14:45 -07:00
rebornix 82314b9ed5
remove outdated test 2022-08-03 10:08:02 -07:00
Peng Lyu 7833aade5a
Separate notebook kernel and api test (#156946)
* Separate notebook kernel and api test.

* no need to test reopen dirty document
2022-08-03 07:03:10 +02:00
Peng Lyu 418b944396
debt: move insert command towards unit tests. (#156929) 2022-08-03 01:42:53 +02:00
Peng Lyu 4b551dab35
Turn on notebook document test. (#156932) 2022-08-02 23:20:00 +02:00
Peng Lyu fded572606
Re #155587. Move undo/redo to unit tests. (#156849) 2022-08-02 09:28:37 +02:00
Peng Lyu f31a88e161
Remove move cell integration test (#156825)
* Remove move cell integration test

* 💄

* test didn't really run locally
2022-08-01 16:54:49 -04:00
Peng Lyu f4433141c7
Move off asPromise (#155920)
* Troubleshoot asPromise

* Update batch edit api

* Update workspace edit

* fix #156663

* 💄
2022-08-01 21:09:41 +02:00
Benjamin Pasero 6cad4b9494
skip test & 💄 (#155826) 2022-07-21 12:47:23 +02:00
Benjamin Pasero 477af8c842
skip flaky test (#152145) (#155809) 2022-07-21 11:46:51 +02:00
Rich Chiodo 052d5b0027
Fix issue with kernel preselection being overridden by view state (#154968)
* Fix view state overriding selected kernel

* Add test to verify correct kernel is used
2022-07-12 18:03:49 -07:00
Johannes Rieken c46640d635
remove obsolete API proposal name from api-tests, fyi @Tyriar (#154902) 2022-07-12 11:35:56 +02:00
jeanp413 318bdcc4cc Fix tests 2022-07-08 00:16:11 -05:00
Johannes Rieken e5f5a16b74
joh/issue145374 (#154360)
* enroll more places into `snippetWorkspaceEdit` proposal,

https://github.com/microsoft/vscode/issues/145374

* tweak API proposal for snippet edits, make this `WorkspaceEdit` only, remove old proposal bit

https://github.com/microsoft/vscode/issues/145374
2022-07-07 12:55:51 +00:00
Johannes Rieken 71c221c532
joh/theoretical quokka (#154157)
* add `SnippetController#apply(ISnippetEdit[])`

This replaces the initial ugly trick with a more sound implementation of arbitrary snippet edits. A snippet edit can cover disconnected regions, each will be applied as separate text edit but everything will become a single `OneSnippet` instance

* add integration test for SnippetString-text edit inside workspace edit
2022-07-05 12:30:01 -07:00
Johannes fb97ffc160
be tolerant to other events happing but still enforce that the expected events are there
fixes https://github.com/microsoft/vscode/issues/153288
2022-07-01 15:39:51 +02:00
Rob Lourens 50e1886048
Fix slow integration test (#153735)
Fixes #152886
2022-06-29 18:22:29 +00:00
Benjamin Pasero 0dfbf42795
tests - skip all flaky webview tests (#153066) (#153067) 2022-06-23 22:51:58 -07:00
Alex Dima bae316c7ad
Merge remote-tracking branch 'origin/main' into alexd/worrying-bandicoot 2022-06-23 22:45:59 +02:00
Benjamin Pasero a9cacc5d9a
skip flaky webview test (#150682) (#153006) 2022-06-23 17:43:04 +00:00
Benjamin Pasero 886c112cbd
Merge branch 'main' into alexd/worrying-bandicoot 2022-06-22 06:48:39 +02:00
Rich Chiodo f361c5b71d
Halve the number of executions to speed up test (#152768) 2022-06-22 06:24:21 +02:00
Benjamin Pasero 0203aabaa5
fix integration tests 2022-06-18 07:44:05 +02:00
Benjamin Pasero 0662ad271a
tests - skip flake (#152145) (#152442) 2022-06-17 11:56:58 +02:00
Benjamin Pasero 68433fb7fd
tests - remote invalid proposed API (#152181) 2022-06-15 14:34:56 +02:00
Matt Bierner 8b0b3ee72e
Remove notebook editor decoration type (#151574)
* Remove the notebookEditorDecorationType API proposal

Fixes #146838

* Remove all the infastructure around the now removed notebookEditorDecorationType api
2022-06-13 13:51:10 -07:00
Johannes ed9ed45794
Merge branch 'main' into joh/voluminous-lobster 2022-06-10 09:07:30 +02:00
Rob Lourens d5e7687940
Fix updating outputs of another cell using a NotebookCellExecution (#151573)
Fixes #151468
2022-06-09 20:27:36 -07:00
Johannes 43c31079ee
manual fixing of prefer-const violations 2022-06-09 10:19:56 +02:00
Johannes 3622010b64
Merge branch 'main' into joh/voluminous-lobster 2022-06-09 09:08:20 +02:00
Rob Lourens c38afc571d
Switch deprecated editor.document -> editor.notebook (#151530) 2022-06-08 09:35:00 -07:00
Johannes 0656d21d11
auto-fixed prefer-const violation 2022-06-08 17:49:21 +02:00
Megan Rogge 7c22caad55
Use I prefix for task interfaces (#151350) 2022-06-07 09:27:44 -07:00
Rich Chiodo b658848c9b Fix test to work 2022-06-06 17:04:26 -07:00
Rich Chiodo 416ad2cbc6 Can't get tests to run with local bits, try submitting 2022-06-06 16:48:56 -07:00
Rich Chiodo 8f345dea8e Add unit test 2022-06-06 16:14:14 -07:00
Tyler James Leonhardt db60eaa2ee
Enable locale picker in web (#150496)
* Enable locale picker in web

* fix the test by getting the locale from the loader config
2022-06-06 10:34:00 -07:00
Rich Chiodo dae2490dbb Merge remote-tracking branch 'upstream/main' into rchiodo/iw_output_scrolling 2022-05-24 11:15:35 -07:00
Rich Chiodo b79d02db5c Add test for scrolling 2022-05-24 11:01:51 -07:00
Rich Chiodo 9322fd543d Fix test to pass 2022-05-24 10:13:04 -07:00
Rich Chiodo 5d8bd23756 Add a test 2022-05-23 17:25:00 -07:00
Matt Bierner 45304da73d
Finalize NotebookEditor api proposal (#149767)
* Finalize NotebookEditor api proposal

Fixes #149271

This finalizes most parts of the NotebookEditor api proposal. I haven't removed the proposal entirely as there are still a few parts being left behind:

- The deprecated properties/functions
- A few contribution points such as `notebook/cell/executePrimary`

* remove extra quote
2022-05-23 23:27:17 +00:00
Matt Bierner 67014adc30
Remove the textDocumentNotebook API proposal (#149277)
* Remove the textDocumentNotebook API proposal

All consumers have now been migrated off of this proposal, so it is safe to remove from our code

* Remove deprecated api usage from test
2022-05-12 08:59:11 +02:00
Ladislau Szomoru 2a9f19d36f
Engineering - create pull request pipeline (#149171) 2022-05-11 03:08:54 -07:00
Jason Williams e19f09713b
Enable globs on tasks otherwise fallback to default - fixes #88106 (#141230)
* use glob on tasks otherwise fallback to default

* add support for test commands also

* try to find one globbed task otherwise fallback to defaults

* - get relativePath (but fallback to absolute if outside of workspace)
- bring back json schema

* Refactor and reduce duplicate code

* remove glob, make isDefault a string or boolean

* update taskConfig

* - rebase
- type updates
- splitPerGroupType should check explicitly for true on isDefault
- hygiene check

* Remove task glob from API

* Task group DTO updates

* Make sure globs run ahead of default task if there's multiple globs matching

* Style and name changes

* More naming and code re-use

* Glob doesn't work when only 1 glob match

Co-authored-by: Alex Ross <alros@microsoft.com>
2022-05-03 09:56:24 +02:00
Benjamin Pasero c6bd448948
debt - bring @types/mocha up to date with version 9.x 2022-05-02 08:30:27 +02:00
Megan Rogge 280460e3cc
clean up after test (#147941) 2022-04-22 12:07:31 -07:00
Johannes 90a6367e2c
remove mentionings of tabs proposal, fyi@lramos15 2022-04-22 11:51:53 +02:00
Logan Ramos aa69f3d762
Fix #15178 Finalize tabs API 🎉 2022-04-21 11:08:12 -04:00
Johannes 2b3212ead0
enable proposal for integration API tests 2022-04-21 16:54:11 +02:00
Megan Rogge 7e2fccd89a
fix #147780 (#147798) 2022-04-20 15:32:36 -07:00
Johannes 9530dca29d
finalize notebookDocumentEvents-API, https://github.com/microsoft/vscode/issues/144662 2022-04-20 13:58:37 +02:00
Johannes 8783c56eb7
fix https://github.com/microsoft/vscode/issues/147711 2022-04-20 11:30:37 +02:00
Matt Bierner 50ea16198d
Remove the concat text document api proposal
Fixes #146781
2022-04-14 14:39:44 -07:00
Johannes 4ea02deebd
ignore text document version whenever that document is marked as being created, fixes https://github.com/microsoft/vscode/issues/146964 2022-04-14 11:04:35 +02:00
Benjamin Pasero 8e8b3026fc
tests - reduce spam and work 2022-04-06 19:34:41 +02:00
Logan Ramos 9d0c4574f2
Fix compile 2022-04-05 15:28:05 -04:00
Logan Ramos 29e28ccf01
Update window tests 2022-04-05 15:25:57 -04:00
rebornix 943186d56c
update nb tests. 2022-04-01 12:10:23 -07:00
Johannes d58ff261d4
add integration tests for LiveShare specific notebook commands, https://github.com/microsoft/vscode/issues/125757 2022-04-01 10:57:49 +02:00
Matt Adam a727329516
Implement badge API for webviews and treeviews (#144775)
* Implement badge API for webviews and treeviews

* Address PR feedback

* Set badge priority

Part of #62783
2022-03-30 14:34:11 +02:00
Johannes Rieken 43d0483dae
Merge pull request #146185 from microsoft/joh/notebookCleanup 2022-03-30 09:18:44 +02:00
rebornix b8f14d243b
fix #138683. 2022-03-29 17:18:13 -07:00
Johannes b1faab40de
adopt tests to new notebook change event 2022-03-29 11:58:54 +02:00
Benjamin Pasero 126e4744ec
blue print tests for #145846 2022-03-24 17:02:17 +01:00
Benjamin Pasero 5f57f8c001
Editor is improperly marked isPreview in tabs api (fix #145755) 2022-03-23 10:39:21 +01:00
Logan Ramos a2d8edb83d
Tabs API renaming 2022-03-21 13:35:34 -04:00
Logan Ramos 8d99738d84
Remove unnecessary return in tab close 2022-03-18 17:28:42 -04:00
Logan Ramos 9f0bdbc6c5
Add active tab test 2022-03-18 16:12:06 -04:00
Logan Ramos 00a4adef89
Enable active tab integration test 2022-03-18 15:32:28 -04:00
Logan Ramos 799eb643c4
Re-enable some integration tests 2022-03-18 15:25:45 -04:00
Logan Ramos b906904089
Fix compile errors 2022-03-18 14:26:51 -04:00
Johannes c385364f5d
tabs - move move into TabGroups 2022-03-18 14:35:46 +01:00
Logan Ramos 85c3df0dde
Tie in tab input, remove cleanup .d.ts 2022-03-17 16:54:44 -04:00
Logan Ramos 1e0f8c9ba1
Re-enable vscode.open tab est 2022-03-17 10:59:27 -04:00
Logan Ramos dfd1f28552
Skip test 2022-03-16 18:10:37 -04:00
Logan Ramos 53aaa205e6
Fix #144605 2022-03-14 13:26:45 -04:00
Robo 32d40cf44e
chore: update to electron 17 (#143223)
* chore: bump electron@17.0.0

* Revert "chore: revert to electron@13 (#143851)"

This reverts commit df645f1450.

* chore: bump electron@17.1.0

* Revert "ci: fix build with latest node-gyp"

This reverts commit c3e948aa30.

* chore: revert ci changes for node v16

* chore: update yarn.lock

* chore: bump electron@17.1.1
2022-03-11 00:51:37 +09:00
Rob Lourens 5a7db04b89 Fix #144043 2022-03-09 10:49:08 -08:00
Alex Ross c468903ff7
Finalize tree drag and drop API
Fixes #32592
2022-03-02 15:39:36 +01:00
Matt Bierner a068ebee8d
Finalize markdownstring.baseUri
Fixes #142051
2022-03-01 15:48:53 -08:00
Robo df645f1450
chore: revert to electron@13 (#143851)
* Revert "chore: update to electron 16 (#137241)"

This reverts commit 01df559c18.
This reverts commit 46301339b7

* ci: fix remote compiler for sdl-scan

* chore: fix remote/.yarnrc

* chore: fix build/npm/postinstall.js

* chore: rm crash reporter from shared process

* chore: rm crash reporter from ext host

* chore: fix build/lib/layersChecker.ts

* :chore: preserve some more changes

* fix tests

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2022-02-24 17:49:49 +01:00
Benjamin Pasero 6640f3c721
skip flaky test (#139960) 2022-02-24 13:27:04 +01:00
Benjamin Pasero 6dee30baa8
tests - restore test coverage for #139786 2022-02-23 13:17:21 +01:00
Logan Ramos 8437d74b8b
Fix #139786 2022-02-17 15:15:51 -05:00
Logan Ramos 0a9e7a5f49
Re-enable tab getter test 2022-02-16 15:09:08 -05:00
Matt Bierner 21da6eeafa
Delay getting workspace uri until tests are running
For #143226
2022-02-16 10:59:03 -08:00
Logan Ramos ec9df1d972
Update tabs model to utilize the new API shape (#142668)
* Change shape of the tabs API

* Disable tab tests for now

* Add an onDidChangeTabGroup event

* Optimize for group activate

* Update events to no longer be an array

* Further tab optimization
2022-02-10 15:09:11 -05:00
Johannes Rieken b7955eac38
finalize inlay hints provider API, https://github.com/microsoft/vscode/issues/16221 2022-02-09 15:32:46 +01:00
Daniel Imms 339cbb38e2 Skip environment variable collection tests only on Windows
Guessing conpty is causing problems
2022-02-09 05:26:19 -08:00
Alex Ross 5bdfec8311
Dispose of all terminals before running task test
Fixes #142565
2022-02-09 14:06:09 +01:00
Robo 01df559c18
chore: update to electron 16 (#137241)
* chore: bump electron@15.3.0

* chore: bump node@16.x

* chore: enable render process reuse

* Revert "watcher - use `type` property for crash reporter location"

This reverts commit bfa488dd8f.

* Revert "watcher - enable crash reports on linux (#136264)"

This reverts commit af261488f8.

* chore: enable crashpad on linux

* chore: bump electron@15.3.1

* chore: update api changes

* chore: bump @vscode/sqlite3@5.0.3

* spec: skip non-context aware module unittests

* chore: fix perf hook integration with node environment

* fix: adopt fs api changes

* chore: fix integration tests

* chore: bump electron@15.3.2

* chore: bump electron@16.0.0

* temp(macOS): kill test instances in OSS

* Revert "temp(macOS): kill test instances in OSS"

This reverts commit b0d796c8d64227a5ec012c060bbbee7d9da27568.

* chore: update chromium version for clang downloader

* some 💄 changes

* align with changes

* adopt more fs.rm

* 💄

* chore: bump @vscode/sqlite3@5.0.4

* fix layers check to account for duplicated types from node.js

* update todo for type casts

* smoke - fix compile issue

* chore: update module cache

* watcher - fix unhandled rejection (fix #137416)

* ci: update node version

* enable stack dumping

* update electron types to 16.x

* chore: bump @vscode/sqlite3@5.0.5

Refs https://github.com/microsoft/vscode/issues/137496

* fix layer issue

* add `AbortSignal` to core types

* chore: update linux compile flags

Refs 797723ec83

* ci: fix linux build

* ci: update github ci cache

* ci: fix remote build in github ci

* ci: better fix for remote build

* chore: bump azure cache

* chore: fix merge conflict

* :chore: update to electron@16.0.2

* chore: bump @vscode/sqlite3@5.0.7

* ci: update to gcc-4.9 for remote

Refs https://github.com/microsoft/vscode/issues/137659

* ci: switch to buster for linux arm

Refs https://github.com/microsoft/vscode/issues/137927

* ci: fix build on linux arm64

* ci: fix arm client compiler toolchain

Refs #137927

* chore: bump electron@16.0.3

* ci: fix compile flags for the c toolchain

* chore: bump electron@16.0.4

* Add experimental dark mode flag (#139109)

* Add experimental dark mode flag

* Apply PR feedback

* chore: bump electron@16.0.6

* chore: bump electron@16.0.7

Fixes https://github.com/microsoft/vscode/issues/138792
Fixes https://github.com/microsoft/vscode/issues/139300

* chore: experimental highlight API

* smoke - fix compile issue

* FIXME: custom ELECTRON_RUN_AS_NODE with node worker

* Revert "chore: bump electron@16.0.7"

This reverts commit 5fd01cf37c.

* Revert "Revert "chore: bump electron@16.0.7""

This reverts commit a7f1b73951.

* chore: fix github linux workflow

* chore: address review feedback

* chore: bump electron@16.0.8

* ci: revert to stretch distro for linux arm

Refs https://github.com/microsoft/vscode/issues/137927

* ci: force build

* chore: update yarn.lock

* address feedback

* Revert "FIXME: custom ELECTRON_RUN_AS_NODE with node worker"

This reverts commit 7b48fa3732.

* ci: fix remote folder build

* chore: fix github linux ci

* 🆙 `versionSpec`

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
Co-authored-by: Raymond Zhao <raymondzhao@microsoft.com>
2022-02-08 20:09:00 +01:00
Johannes Rieken 17ed7bf82c
finalize LanguageStatusItem API, https://github.com/microsoft/vscode/issues/129037 2022-02-08 18:50:46 +01:00
Rob Lourens 803c9fc3e0 re-skip notebook integration tests for web 2022-02-04 11:36:34 -08:00
Matt Bierner 69896100ed
Add MarkdownString.baseUri proposal (#142055)
For #142051
2022-02-03 08:51:49 -08:00
Alex Ross b170ef3444
Fix no-async-promise-executor in task tests
Fixes #141993
2022-02-02 16:27:26 +01:00
Johannes Rieken 4a130c40ed
enable @typescript-eslint/member-delimiter-style, https://github.com/microsoft/vscode/issues/140391 2022-02-02 14:35:33 +01:00
Johannes Rieken de1ae9e2cc
update todo-tag for https://github.com/microsoft/vscode/issues/141993 2022-02-02 12:39:06 +01:00
Johannes Rieken 7ccb868835
make sure to use .eslintignore when running yarn eslint, this will ensure that cli failure and editor squiggles are always equal 2022-02-02 12:37:29 +01:00
Rob Lourens bb79477f2e Enable ipynb serializer tests in web integration tests
and reenable NotebookSerializer test in non-web
2022-02-01 18:22:57 -08:00
Johannes Rieken 7d1f0fda8b
tweak vscode.open command and its test, https://github.com/microsoft/vscode/pull/141944 2022-02-01 18:35:12 +01:00
Caio Agiani 09c2e177ea
Fix typos (#141959)
* src: fix typo formated -> formatted

* src: fix typo recieve -> receive

* src: fix typo successfuly -> successfully

* src: fix typo neccessary -> necessary

* extensions: fix typo existance -> existence

* src: fix typo appearence -> appearance

* src: fix typo choosen -> chosen

* src: fix typo unkown -> unknown

* src: fix typo whenever -> whenever

* src: fix typo proccess -> process

* src: fix typo occured -> occurred

* src: fix typo occuring -> occurring

* src: fix typo defintion -> definition
2022-02-01 09:16:37 -08:00
Johannes Rieken b2eebdccad
test that vscode.open supports string in addition to URI 2022-02-01 15:52:15 +01:00
Daniel Imms 5c6672cd77 Remove terminalLocation from api proposal list
Fixes #141645
2022-01-27 06:52:20 -08:00
Rob Lourens b297fc96b4 Remove stale comment
#140878 is fixed
2022-01-26 21:14:14 -08:00
Martin Aeschlimann 683d2f19f1
reenable 'vscode API - languages - link detector' Fixes #140878 2022-01-24 11:43:22 +01:00
Logan Ramos fc7fb5d480
Enable proposed api in vscode api tests 2022-01-20 13:56:57 -05:00
Benjamin Pasero 71b164aac0
skip flaky test (#141001) 2022-01-19 18:30:44 +01:00
Rob Lourens 7ae7f9d40b Skip flaky 'link detector' test, see #140878 2022-01-17 17:22:58 -08:00
Rob Lourens fa2760f833 Skip more notebook tests in browser
Fix #140574
2022-01-14 16:33:42 -08:00
Rob Lourens 17997da4ab Unskip test, fix #140201
already skipped in browser
2022-01-14 13:51:16 -08:00
Rob Lourens dfcaa1fda3 Unskip test, fix #140200
already skipped in browser
2022-01-14 13:43:37 -08:00
Daniel Imms 8c6a8f7bc1 Skipped webview test
Part of #138612
2022-01-14 08:07:23 -08:00
Benjamin Pasero e3cf7e5e1b
API: Allow to use the file watcher for aribitrary folders (#3025) (#139881)
* API: Allow to use the file watcher for aribitrary folders (#3025)

* fix tests

* update `createFileSystemWatcher` docs

* refuse to watch resources that are watched in workspace already

* properly check proposed API

* make it work via `createFileSystemWacher` (first cut)

* more docs

* cleanup

* enable recursive watching based on pattern

* add tests

* drop out-of-workspace events when using simple patterns

* do not apply excludes when watchig files

* log extension watch requests

* also log unwatch

* improved exclude handling

* more docs

* drop proposed api needs

* remove `suite.only`

* cannot watch inside workspace more than once

* do not send extension decriptor over

* adopt latest changes

* add `baseUri` to relative pattern

* backwards compat
2022-01-13 13:32:03 +01:00
Rob Lourens f7cb722447 Disable all notebook integration tests in web
See #126371
2022-01-07 09:57:11 -08:00
Benjamin Pasero b1aa9661d0
tests - skip flaky notebook test 2022-01-07 17:18:56 +01:00
Alex Ross 4d0b81edfb
Fix task smoke test
Fixes #140110
2022-01-07 15:07:33 +01:00
Benjamin Pasero d622a8d39f
tests - skip flakes (#140200, #140201) 2022-01-06 07:45:19 +01:00
Daniel Imms 6ce37ef7a2 Skip flaky test
Part of #140111
2022-01-04 14:28:16 -08:00
Daniel Imms 79ed98edc9 Skip flaky tests
Part of #140110
2022-01-04 09:40:49 -08:00
Benjamin Pasero 0f265a3651
integration tests - skip flakes
https://github.com/microsoft/vscode/issues/139960
https://github.com/microsoft/vscode/issues/139958
2021-12-31 08:14:39 +01:00
Rob Lourens 2933672219 Fix notebook test 2021-12-30 15:51:44 -08:00
Rob Lourens a2655c2e5f prefer-const in notebooks 2021-12-30 14:25:09 -08:00
Rob Lourens cb91838779 Dispose kernels in test 2021-12-29 15:32:25 -08:00
Rob Lourens 962a6c85e8 Add test for new execution behavior 2021-12-28 13:44:23 -08:00
Benjamin Pasero 7e55d4b8fb
tests - coverage for #139713 fix 2021-12-27 08:25:58 +01:00
Benjamin Pasero 4712a1ae88
skip flaky test (#139572) 2021-12-21 13:11:07 +01:00
Ladislau Szomoru 85694fcf4d
Do not leak rpc proxies (#139498) 2021-12-20 11:50:49 +01:00
Benjamin Pasero bb39ae82cf
smoke - improve runCommand and disable more tests 2021-12-20 08:25:08 +01:00
Matt Bierner 3efb3d6be0
Skip test for now
For #138612
2021-12-17 15:26:43 -08:00
Benjamin Pasero f2f509ba61
skip flaky notebook test (#139324) 2021-12-17 17:20:00 +01:00
Benjamin Pasero ca17de5011
tests - skip failing notebook test (#139350) 2021-12-17 07:35:53 +01:00
Logan Ramos 9ce72d28b6
Have tab test retry 3 times 2021-12-16 15:27:41 -05:00
Daniel Imms 2584b60112
Merge branch 'main' into tyriar/120077 2021-12-16 11:34:16 -08:00
Johannes Rieken b00e5cdbd0
use randomBytes for rnd file name generation, https://github.com/microsoft/vscode/issues/139217 2021-12-16 16:25:56 +01:00
Daniel Imms b562ce7067 Use async/await in env var tests and improve polling
Fixes #120077
2021-12-15 12:28:36 -08:00
Benjamin Pasero b567ea7e8d
tests - do not add file to our workspace 2021-12-15 15:30:11 +01:00
Benjamin Pasero 8f7589750a
Support untitled with associated resource in vscode.open (#139194)
* wip

* 💄

* add test

* comments

* skip flaky test

* Revert "skip flaky test"

This reverts commit 94c712500e.
2021-12-15 14:38:07 +01:00
Rob Lourens ee19746d14 Skip some flaky notebook integration tests - #126371 2021-12-14 15:15:09 -08:00
Daniel Imms 548f18fcf3 Skip env var collection should respect clearing entries
Part of #120077
2021-12-14 14:23:26 -08:00
Matt Bierner 25ef7a83fc
Retry test
Adding simple retry while investigating why this sometimes times out
2021-12-14 12:31:51 -08:00
Rob Lourens 6897670596 Reenable notebook integration tests 2021-12-08 16:40:50 -08:00
Matt Bierner c2f4daf348
Update webview bits version for tests 2021-12-07 16:16:54 -08:00
Matt Bierner 9acd320eda
Also skip notebook test temporarily 2021-12-07 13:28:32 -08:00
Matt Bierner 2edff15481
Temporarily skip webview tests
We need to bump the version of the webview src pulled in, but this requires getting a good build first
2021-12-07 13:03:03 -08:00
Johannes Rieken 5c31535ea8
add more API rpc tests, https://github.com/microsoft/vscode/issues/115679 2021-12-07 09:22:48 +01:00
Johannes Rieken 257657fb23
fix https://github.com/microsoft/vscode/issues/137968 2021-11-30 15:21:56 +01:00
Tyler Leonhardt 26fe37ca3d
Revert "Have setting the value trigger the filter. Fixes #137279"
This reverts commit c1c103dee7.
2021-11-24 15:08:35 -08:00
Johannes Rieken c084b6ce2e
add contribViewsRemote-proposal to api-tests extension 2021-11-22 19:28:14 +01:00
Daniel Imms 96cc3b8fc0 Disable should respect dimension overrides again
Part of #137155
2021-11-19 06:01:49 -08:00
Tyler Leonhardt c1c103dee7
Have setting the value trigger the filter. Fixes #137279 2021-11-17 12:48:12 -08:00
Tyler Leonhardt 8133e1fc5e
Revert "have set value on the QuickPick/InputBox simply set the value on the input. Fixes #137279"
This reverts commit dfbaecd969.
2021-11-17 11:40:05 -08:00
Tyler Leonhardt dfbaecd969
have set value on the QuickPick/InputBox simply set the value on the input. Fixes #137279 2021-11-17 10:06:21 -08:00
Daniel Imms b66d2e7bbd Next attempt to fix should respect dimension overrides in remote
Fixes #137155
2021-11-17 05:29:13 -08:00
Daniel Imms da099cc71f Skip should respect dimensions overrides tests in remote only
Part of #137155
2021-11-17 04:45:30 -08:00
chrisdias f50ca77882 update png files 2021-11-15 17:26:14 -08:00
Daniel Imms f88820646b Tidy up 2021-11-15 00:14:06 -08:00
Daniel Imms b934d09346 Move other extension terminal tests to async await
Part of #137155
2021-11-14 23:53:12 -08:00
Daniel Imms 03a844a2e5 Use async await in pty terminal test
Part of #137155
2021-11-14 23:39:46 -08:00
Johannes Rieken 09c9d4c293
use enabledApiProposals instead of wildcard property, also update compilation units to only include d.ts-files that are needed, https://github.com/microsoft/vscode/issues/131165 2021-11-12 11:05:57 +01:00
Johannes Rieken a4d426a1c2
split vscode.proposed.d.ts into a file per proposal, https://github.com/microsoft/vscode/issues/131165 2021-11-12 09:48:17 +01:00
Johannes Rieken 68e819043c
use tsconfig.json#include for vscode.d.ts and vscode.proposed.d.ts, enables to remove most ref.d.ts-files 2021-11-09 15:53:35 +01:00
Johannes Rieken 9254a8cd27
move vscode.d.ts and vscode.proposed.d.ts into src/vscode-dts-folder, https://github.com/microsoft/vscode/issues/131165 2021-11-09 15:00:03 +01:00
Alex Ross 61cd6437a0
Fix timing bug for back-to-back CustomExecution tasks
Fixes #131926
2021-11-02 14:01:34 +01:00
Johannes Rieken 13f383439f
no test.only, fyi @bpasero 2021-11-01 15:14:36 +01:00
Benjamin Pasero 6ed67dd61e
editors - return undefined from openEditor when operation cancelled (fix #134786) 2021-10-28 09:23:08 +02:00
Tyler Leonhardt 5c0e664fd3
ensure show() hide() show() hide() emits two didHide events. Fixes #135747 2021-10-27 15:23:53 -07:00
Megan Rogge 5350eaa205
skip failing test 2021-10-15 09:41:50 -07:00
Benjamin Pasero 1afe238fed
comment out failing test (#135157) 2021-10-15 13:40:33 +02:00
Johannes Rieken 7283f5cb7c
fix https://github.com/microsoft/vscode/issues/130057 2021-10-12 13:12:11 +02:00
Matt Bierner 5fc835305a
Re-enable webview tests on web (#134300)
* Enable webview tests on web

These tests pass fine on Chrome and webkit. On Firefox, the two about loading resources currently fail

I spent a while trying to debug what is going on with these tests. It seems like the service workers is registered properly but `fetch` is never called on it. Skipping these for now

* Remove only

* Fix test
2021-10-01 12:32:29 -07:00
Logan Ramos 26ba13ff98
Fix + re-enable close tests 2021-09-27 10:52:47 -04:00
Logan Ramos d2c8185df9
Skip tab close test for now 2021-09-24 15:57:24 -04:00
Logan Ramos 7800296d17
Add close to tab model 2021-09-24 15:53:38 -04:00
Logan Ramos cbe175f438
Fix tests attempt number two 2021-09-24 10:12:52 -04:00
Logan Ramos ce7c00f4fb
Fix integration tests 2021-09-24 09:43:06 -04:00
Logan Ramos 620a61f5a3
Add more move tests 2021-09-24 09:09:35 -04:00
Logan Ramos 927a28da01
Add tab move tests 2021-09-23 15:35:34 -04:00
Johannes Rieken ba961427c3
fix https://github.com/microsoft/vscode/issues/132981 2021-09-23 14:55:54 +02:00
Logan Ramos c46e473ad8
Re-enable notebook in tabs test 2021-09-17 13:08:44 -04:00
Daniel Imms 4a7fddb0d2 Fix TerminalState tests 2021-09-17 06:31:43 -07:00
Matt Bierner 8b285b170e
Add log for failing test 2021-09-16 15:21:28 -07:00
Logan Ramos 76c3eb94c9
On the fly tab model construction (#133025)
* Enrich the change event

* Initial tab model building

* Work in progress model construction

* Add pauseable emitter

* Attempt using microtask

* Make tests pass

* Update active tab logic

* Fix layering issue

* event rename

* PR feedback

* Remove stray new line

* Add test for microtask emitter

* Add move event

* Add mmerge functionality to Microtask emitter

* Fix compilation errrors

* Fix tests

* Add tests to address feedback

* Change editor change event to an array

* Add array support to editorsChangeEvent

* Update src/vs/workbench/common/editor/editorGroupModel.ts

Co-authored-by: Benjamin Pasero <benjpas@microsoft.com>

* Switch to a less efficient array method

* Add console.log for debugging

* Test with different notebook

* Fix notebook URI

* For now split up file open for better debugging

* Don't use notebook in test for now

* Cleanup event

* Fix tests

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
Co-authored-by: Benjamin Pasero <benjpas@microsoft.com>
2021-09-16 14:34:54 -04:00
Martin Aeschlimann 57dde04b44
Can't read StatusBarItem.tooltip anymore. Fixes #133231 2021-09-16 11:57:26 +02:00
Benjamin Pasero 8de035e09d
tests - remove only usage 2021-09-15 16:40:21 +02:00
Benjamin Pasero 129e62c989
storage - do not fail state access for extensions (#132777) (#133071) 2021-09-15 07:34:54 +02:00
Matt Bierner 0db5f55854
Unskip two webview tests
These reliably pass locally for me
2021-09-14 14:29:55 -07:00
Logan Ramos 65a8d1234c
Remove diff resource 2021-09-08 14:20:08 -04:00
Raymond Zhao df115e761a
Revert "Re-enable tab tests"
This reverts commit e0cdd0974b.
Revert reason: browser integration tests failing
2021-09-08 10:31:46 -07:00
Logan Ramos e0cdd0974b
Re-enable tab tests 2021-09-08 10:35:58 -04:00
Logan Ramos b699fab482
Skip tests 2021-09-07 18:34:16 -04:00