Commit Graph

1423 Commits

Author SHA1 Message Date
Rob Lourens 0e333cd799 Convert NotebookCellStatusBarItem test from integration test to unit test (#161274)
Fix #157828
2022-09-20 09:55:58 +02:00
Benjamin Pasero ec56dddd9f tests - remove snippetWorkspaceEdit usage (#161043) 2022-09-16 00:34:30 -07:00
Tyler James Leonhardt ccddb94f98 initial cut of vscode.l10n (#158328) 2022-09-14 16:48:25 -07:00
Rob Lourens 37f08d1195 Remove notebookEditorEdit proposal requirement (#160912) 2022-09-14 09:41:21 -07:00
Daniel Imms a4cce8f575 Merge pull request #160900 from babakks/add-change-shell-event
Add `onDidChangeShell` event to the API
2022-09-14 07:53:50 -07:00
Daniel Imms c4611298a3 Add envShellEvent to vscode-api-tests 2022-09-14 07:32:41 -07:00
Matt Bierner 1d500fb4de Add CodeActionKind.RefactorMove (#160730)
Fixes #160728
2022-09-12 15:14:06 -07:00
Matt Bierner 2514759850 Remove notebook content provider save and backup functionality (#160581)
For #147248

When stepping through the liveshare code, we figured out they do not appear to be using `save`, `saveAs`, or `backup` (they return empty results for these)

This PR removes this part of the proposal so we can track just the parts of the api that they are using
2022-09-12 14:08:25 -07:00
Benjamin Simmonds 8268e5d27d Remove enabledApiProposals badge from test ext (#160526) 2022-09-09 15:36:53 +02:00
Logan Ramos b8afe8d6ed Skip tab getter tests on web because notebooks are flaky (#160403)
Skip tab tests on web because notebooks are flaky
2022-09-08 04:59:12 -07:00
Johannes Rieken 9bbc7b2bb0 Merge pull request #160193 from microsoft/joh/ordinary-canidae
support `contents` option with `WorkspaceEdit#createFile`
2022-09-07 16:33:42 +02:00
Johannes 4da1e34afe add content property to vscode-dts-defined properties 2022-09-07 13:21:05 +02:00
Johannes Rieken 50cdf1d71b Merge pull request #160176 from microsoft/joh/nasty-rook
have an explicit `SnippetTextEdit` and all to set them onto a workspace edit
2022-09-07 00:02:46 +02:00
Johannes b0140c2ca4 support contents option with WorkspaceEdit#createFile 2022-09-06 16:19:08 +02:00
Johannes bcf6547e92 fix API tests for new API 2022-09-06 14:53:43 +02:00
Benjamin Simmonds f51258b93b Optional TreeItem Checkbox (#158250) 2022-09-06 12:41:57 +02:00
Benjamin Pasero 968d9eda2c Integration test failure: openTextDocument, untitled closes on save (#157897) (#159888) 2022-09-02 13:43:44 +02:00
Logan Ramos a2cd34f347 Allow showTextDocument to open notebook cell URIs (#158477)
* Fix #123270

* Update to use `getCodeEditor`
2022-08-30 06:39:00 -04:00
Matt Bierner 07025f0b0d Remove notebook editor edit api (#158988)
Fixes #149181
2022-08-29 09:34:57 -07:00
Logan Ramos 67e628e18a The quest to debug vscode.open continues (#158483) 2022-08-18 15:13:18 +02:00
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