Commit Graph

684 Commits

Author SHA1 Message Date
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
Logan Ramos
0f238bf3f9 Try promise.race 2021-09-07 17:40:43 -04:00
Logan Ramos
e287a168dc Fix tab tests 2021-09-07 10:31:47 -04:00
Logan Ramos
d9a63f4cd8 Fix tabs tests 2021-09-07 09:49:34 -04:00
Tyler Leonhardt
997228d528 verify uri is correct 2021-09-04 08:58:31 -07:00
Tyler Leonhardt
15dfc742a6 ensure event comes from edit 2021-09-03 18:25:25 -07:00
Tyler Leonhardt
e415d6ff35 revert test to unblock build 2021-09-03 17:59:05 -07:00
Tyler Leonhardt
3ccb217338 add additional logging 2021-09-03 16:18:03 -07:00
Tyler Leonhardt
319a72459f fix windows CI failure 2021-09-03 16:06:37 -07:00
Tyler Leonhardt
4735c328d7 add confidence correction for language detection 2021-09-03 14:49:53 -07:00
Logan Ramos
9408062d1a Add active tab test 2021-09-03 15:46:07 -04:00
Logan Ramos
82a3d2645f Skip tabs test 2021-09-03 14:56:52 -04:00
Logan Ramos
5d7f4d3461 Add todo and remove test.only 2021-09-03 14:29:28 -04:00
Logan Ramos
22ca6611bd Add get tabs tests 2021-09-03 13:47:01 -04:00
Johannes Rieken
f71aba6560 make sure createDiagnosticsCollection doesn't leak RPC, https://github.com/microsoft/vscode/issues/115679 2021-08-27 12:12:53 +02:00
Matt Bierner
d082058d44 Add API for setting kernelspec in ipynb files (#131219)
* Add API for setting kernelspec in ipynb files

Fixes #130602

This adds a new API to the built-in ipynb extension that lets other extension set the kernelspec metadata on a notebook file

* Temporarily skip the notebook editor tests

We need the new webview content to be published before these can run

* Use `custom`  instead of top level property
2021-08-24 18:06:53 -07:00
Matt Bierner
d152e72606 Skip webview test on web for now 2021-08-24 18:06:18 -07:00
Matt Bierner
a024cbcc42 Unskip tests 2021-08-24 15:14:15 -07:00
Matt Bierner
065b5f9715 Don't skip webview tests
Should be fixed now
2021-08-24 15:08:11 -07:00
Rob Lourens
f4db5eac35 Disable tests that hit the notebook webview (see e4a7f93ed3) 2021-08-24 00:03:09 -07:00
Rob Lourens
2212b766aa Also skip Notebook API Tests (see e4a7f93ed3) 2021-08-23 23:17:54 -07:00
Matt Bierner
e4a7f93ed3 Temporarily skip the notebook editor tests
We need the new webview content to be published before these can run
2021-08-23 19:25:55 -07:00
Daniel Imms
23760f5234 Remove change state event interface
Part of #127717
2021-08-19 14:40:33 -07:00
Tyler Leonhardt
78414130c7 update setting since we support non-untitled editors for language detection and clean up code a tad. 2021-08-18 10:54:32 -07:00
Alex Ross
84a8a567e8 Move TaskGroup isDefault api out of proposed
Part of #79188
2021-08-16 15:07:07 +02:00
Daniel Imms
ddcf2d6630 Dispose of terminal at end of onDidChangeTerminalState test 2021-08-13 07:00:41 -07:00
Daniel Imms
189a73a197 Add listener to disposables array 2021-08-13 06:45:36 -07:00
Daniel Imms
be646cf780 Use correct assert import 2021-08-12 17:21:26 -07:00
Daniel Imms
241a07d412 Add test, finish piping through interaction event
Part of #127717
2021-08-12 15:33:25 -07:00