Commit Graph

39 Commits

Author SHA1 Message Date
Matt Bierner
443098af77 Don't enable test on remote 2020-05-18 11:18:55 -07:00
Matt Bierner
0af3fc77e8 Fixing rewriting of some old-style vscode-resource uris that don't have explicit authorities 2020-05-15 14:36:01 -07:00
Benjamin Pasero
c0eea2a712 tests - disable terminal integration tests for web 2020-03-19 09:37:17 +01:00
Matt Bierner
feecdaeacf Disable webview copy test on web 2020-02-15 12:49:11 -08:00
Matt Bierner
2f9c79a847 Only enable webview copy tests on MacOS 2020-02-14 12:39:50 -08:00
Matt Bierner
c03b581840 Add test for copying text from webview 2020-02-14 11:54:09 -08:00
Benjamin Pasero
3388bf640e tests - shutdown gracefully to enable webview tests (#90508)
* tests - shutdown gracefully to enable webview tests

* use window.destroy() instead

* more tweaks

* better kill()

* proper fix
2020-02-12 13:06:35 +01:00
Benjamin Pasero
4d0e36d17f skip webview tests (#88415) 2020-02-11 11:17:05 +01:00
Benjamin Pasero
5e0189c8bf tests - browser tests to go through new log service 2020-02-07 16:22:10 +01:00
Robo
01989df7c9 chore: update to electron 7 (#89260)
* Revert "revert back to electron 6 (#89245)"

This reverts commit 5d498736f4.

* chore: update electron@7.1.11
2020-02-04 12:56:23 -08:00
Benjamin Pasero
5d498736f4 revert back to electron 6 (#89245) 2020-01-24 14:39:40 -08:00
deepak1556
358b1ab5af skip webview tests for https://github.com/microsoft/vscode/issues/88415 2020-01-10 16:38:59 +05:30
Matt Bierner
c8123dee96 Fix webviews for electron 7
Caused by #83796

Also re-enables the webview tests
2020-01-09 15:06:11 -08:00
Robo
4c7431ca8d chore: Upgrade to electron 7.x (#83796)
* chore: bump electron@7.0.0

* chore: update api

* chore: Bump electron@7.0.1

* chore: bump electron@7.1.0

* chore: Bump electron@7.1.1

* chore: Bump electron@7.1.2

* FIXME: Skip webview tests that have improper shutdown path

* chore: Bump electron@7.1.3

* bump electron@7.1.5

* debug test failures

* chore: bump electron@7.1.7

* skip test for https://github.com/microsoft/vscode/issues/87330

Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>
2020-01-09 19:16:52 +05:30
Matt Bierner
c5dc9d16be Finalize asWebviewUri api
Fixes #79242

As discussed, renames `toWebviewResource` to `asWebviewUri` to be consistent with the `asAbsolutePath` api naming
2019-08-19 20:18:26 -07:00
Matt Bierner
a558a9504a Adding toWebviewResource api
For #76489
2019-07-08 18:38:47 -07:00
Matt Bierner
8119b4aee7 Move the webviewResourceRoot property to be set on each webview instead of as a global property
For #72155

This allows  us to potentially change the resource root per webview
2019-06-24 17:07:06 -07:00
Matt Bierner
7f3d3d835f Add vscode.env.webviewResourceRoot api
Fixes #72155

Adds a constant to the api that tracks the root path for resources inside of webviews. This is required because we will not be able to use `vscode-resource:` uris on the web. Our current approach is to rewrite the html we are given but there are almost certainly going to be cases where we don't get this quite right.

Adopts the new api for the markdown preview
2019-06-18 22:29:37 -07:00
Matt Bierner
c2b02df9ab Allow hidden (but persisted) webviews to recieve messages
Fixes #47534
2019-05-22 15:25:48 -07:00
Daniel Imms
d73c1a61b9 Tweaks to test running 2019-04-10 22:29:43 +02:00
Matt Bierner
d3d16d2b34 Don't return symbolic columns for webview panels
Fixes #56097

When a symbolic column is used while creating a webview panel, instead set the `viewColum` as `undefined` and then resolve it once we know the real (non-symbolic) column
2019-01-11 15:32:15 -08:00
Matt Bierner
5b03dcd69d Add pinning test for setting localResourceRoots 2018-10-08 10:09:06 -07:00
Matt Bierner
d0ecfa0ba6 Adding pinning tests for vscode-resource in webviews 2018-10-08 09:56:06 -07:00
Matt Bierner
ceb8f18fb8 Adding pinning test for webview scripts disabled 2018-10-05 16:25:50 -07:00
Matt Bierner
7b8e463099 Extract duplicated code 2018-10-05 16:11:32 -07:00
Matt Bierner
23fedc5a3e Add pinning test for webview html update 2018-10-05 16:08:33 -07:00
Matt Bierner
676ea4b5c5 Improve test name 2018-10-05 16:05:01 -07:00
Matt Bierner
b3ff3e4375 Wait for all editors to close before continuing tests 2018-10-05 11:51:54 -07:00
Matt Bierner
0136935c52 Improving webview test reliability and add test for preserve state on column change 2018-10-05 10:53:42 -07:00
Matt Bierner
3cb9b60d32 Add missing registers 2018-10-05 10:53:42 -07:00
Matt Bierner
1f9981f55f Make webview test communication more timing stable 2018-10-05 10:32:42 -07:00
Matt Bierner
4ecf3e5388 Improve naming and use proper (optional) types 2018-10-05 10:08:25 -07:00
Matt Bierner
f4f6c623c3 Make sure we dispose of webviews properly
Dispose of webviews after each test run
2018-10-05 09:38:01 -07:00
Matt Bierner
8d44ab61c6 Fix workspace test document count 2018-10-04 20:02:05 -07:00
Matt Bierner
3da9a122f6 Add test for restore scroll pos when retainContextWhenHidden is set 2018-10-04 19:01:35 -07:00
Matt Bierner
54df095e39 Adding retainContextWhenHidden test 2018-10-04 19:01:35 -07:00
Matt Bierner
6a4e027c41 Refactor our duplicated code 2018-10-04 19:01:34 -07:00
Matt Bierner
8151b1fc50 Add test for webview state persist 2018-10-04 19:01:34 -07:00
Matt Bierner
565f971f43 Add basic test for webview communication 2018-10-04 19:01:34 -07:00