Commit Graph

64 Commits

Author SHA1 Message Date
Matt Bierner
3efb3d6be0 Skip test for now
For #138612
2021-12-17 15:26:43 -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
Matt Bierner
c2f4daf348 Update webview bits version for tests 2021-12-07 16:16:54 -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
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
Matt Bierner
8b285b170e Add log for failing test 2021-09-16 15:21:28 -07:00
Matt Bierner
0db5f55854 Unskip two webview tests
These reliably pass locally for me
2021-09-14 14:29:55 -07:00
Matt Bierner
d152e72606 Skip webview test on web for now 2021-08-24 18:06:18 -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
Matt Bierner
b1823157d5 Fall back to existing published webview commit (#119295) 2021-05-24 22:36:22 -07:00
Matt Bierner
3499f63dc1 Exploration: Better transferring of TypedArrays used in Webview.postMessage (#115664)
* Improve passing of ArrayBuffers to and from webviews

Fixes #115807

* Serialize and restore typed arrays too

This also makes it so that if you pass the same ArrayBuffer twice in an object, we use a single object on the receiver side too

* Fix spelling

* Require VS Code 1.56+
2021-03-30 06:49:34 +00:00
Johannes Rieken
46cf57b264 a bunch of failing tests 2021-02-01 12:01:32 +01:00
Matt Bierner
8c5e805d3a Fix spelling 2021-01-28 12:01:38 -08:00
isidor
f3e4ff9196 skip failing tests 2020-07-30 14:39:52 +02:00
Sandeep Somavarapu
cc20a1f02a #103544 Skip another failing test 2020-07-30 10:05:34 +02:00
Sandeep Somavarapu
a3f6ecc5eb #103544 comment out failing test 2020-07-29 11:01:37 +02:00
Alex Dima
f485d75605 Revert change that breaks integration tests 2020-07-28 12:04:57 +02:00
Matt Bierner
7493065766 Fix webview special paths for resources and re-enable test
Fixes #103419
2020-07-27 21:41:30 -07:00
Alex Dima
88e6416265 comment out failing web integration test 2020-07-27 17:50:47 +02:00
Jean Pierre
86c04f72be Fixes regression: cannot open image with special characters '#', '?', '%' (#102189)
* Fixes #102188

* Add unit test for #102188
2020-07-24 13:58:54 -07:00
Matt Bierner
599f3b60e2 Skip mac copy test for now
Failing in CI
2020-07-14 13:04:26 -07:00
Matt Bierner
a7285b471c Enable webview tests on remote as well (#102444)
* Enable webview tests on remote as well

* Delete conditional test type
2020-07-14 11:28:06 -07:00
Matt Bierner
f4d766ca55 Fix one of the webview integration tests 2020-07-13 17:15:00 -07:00
Matt Bierner
731a788e0e Use joinPath instead of node path.join 2020-07-13 17:15:00 -07:00
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