Commit Graph

1256 Commits

Author SHA1 Message Date
Benjamin Pasero
1ed110b6be Return resulting URI from commands that save the active editor (fix #178713) (#179091)
* Return resulting `URI` from commands that save the active editor (fix #178713)

* 💄

* address feedback

* change to real proposed API

* cleanup
2023-04-20 18:00:12 +02:00
Kartik Raj
22631c1bdc Do not return variable property 2023-04-12 17:40:00 +00:00
Kartik Raj
8c3884bed5 Fix terminal integration test 2023-04-12 03:28:13 +00:00
aamunger
869f18c010 fail with more info 2023-03-01 15:31:54 -08:00
Aaron Munger
fae46b88cf Merge pull request #175704 from amunger/differentiateTest
unique test names
2023-02-28 22:02:32 -08:00
aamunger
f2550cb362 unique test names 2023-02-28 14:54:54 -08:00
aamunger
2d169f44a3 small diagnostics update 2023-02-28 14:50:03 -08:00
Benjamin Pasero
6a1eb923ca Integration test failure - vscode API - commands (fix #174319) (#174320) 2023-02-14 10:24:46 +01:00
Benjamin Pasero
14f13b1f20 skip flaky notebook tests (#173124)
* skip flaky notebook test

* link to issue

* skipe the suite
2023-02-02 09:58:05 +01:00
Peng Lyu
c581592f24 Re #170072, disable nb flaky test. (#173091) 2023-02-02 06:02:14 +01:00
Martin Aeschlimann
7dff9e992b add executeFoldingRangeProvider command (#172968)
* add executeFoldingRangeProvider command

* add jsdoc for FoldingRangeKind.fromValue
2023-02-01 01:03:02 -08:00
Benjamin Pasero
f01a44b447 Editors can steal focus later when opening slowly (fix #128117) (#170328)
* Editors can steal focus later when opening slowly (fix #128117)

* play it a bit safer

* fix tests
2023-01-01 16:31:26 +01:00
Peng Lyu
bf6305fb52 Re #125369. Reduce commands in nb integration test. (#169684)
Re #125369. Reduce commands
2022-12-20 22:47:01 +01:00
Matt Bierner
57dd298b47 Add typings for test runner scripts (#169196) 2022-12-15 02:19:24 +01:00
Benjamin Pasero
ac084d723b notebook tests - run verbose (#165149) (#167212)
* notebook tests - run verbose (#165149)

* bumpb

* 💄
2022-11-26 11:37:52 -08:00
aamunger
2deaa43aa6 specify notebook document 2022-11-16 14:01:31 -08:00
Benjamin Pasero
f176ad8e28 workspace.applyEdit drops the TextEdit if there is a RenameFile later #77735 (fix #166436) (#166439) 2022-11-16 09:43:07 +01:00
Matt Bierner
7233e19dd5 Remove notebook content provider api (#165195)
Fixes #160580
Fixes #147248
2022-11-01 17:23:32 -07:00
Sandeep Somavarapu
fe882ab334 api feedback (#164470)
* api feedback
- remove critical log level
- move log level off to be 0

* handle off log level

* fix disabling log level in tests

Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com>
2022-11-01 10:41:19 -04:00
João Moreno
18f1101f70 skip flaky test (#165150)
* skip flaky test

related to #165149

* skip the entire suite
2022-11-01 06:26:44 -07:00
Matt Bierner
b97827dacf Adopt notebook serializer for notebook document tests (#165081)
For #160580

Also remove one test that is no longer relevant
2022-10-31 12:56:40 -07:00
Matt Bierner
c60980ca7a Adopt notebook serializer for test (#165078)
For #160580
2022-10-31 12:01:38 -07:00
Matt Bierner
4eef476a4f Remove old notebook editor api proposal (#164504)
All consumers should now be on the finalized api

Fixes #151661
2022-10-24 14:40:53 -07:00
Matt Bierner
c2a2ad4f63 Rename image-preview extension to media-preview (#162093)
Fixes #162092

Also removes `aac` from the list of supported audio formats
2022-09-27 21:01:14 -07:00
Rob Lourens
0e333cd799 Convert NotebookCellStatusBarItem test from integration test to unit test (#161274)
Fix #157828
2022-09-20 09:55:58 +02: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
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
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 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