Commit Graph

1699 Commits

Author SHA1 Message Date
Benjamin Pasero
c9960f9cee Cleanup package.json test scripts (#141210)
* tests - remove `yarn test`

* fix smoke test

* readme

* 💄

* ci - do not install playwright
2022-01-22 13:07:14 +01:00
Benjamin Pasero
b7cdfce7e5 Smoke test runner fails or hangs without error (fix #141148) 2022-01-22 08:43:21 +01:00
Martin Aeschlimann
ef4549b141 Merge branch 'main' into aeschli/noremoteindicatorweb 2022-01-21 17:19:52 +01:00
Martin Aeschlimann
3640c1a425 move remote and web tests to scripts folder 2022-01-21 14:33:34 +01:00
Martin Aeschlimann
0d8bb5f2ba Merge branch 'main' into aeschli/noremoteindicatorweb 2022-01-21 14:16:29 +01:00
Alex Dima
715dbb0c16 Refuse launching unless a connection token is provided 2022-01-21 13:25:20 +01:00
Martin Aeschlimann
f9cac7c28a adopt --server-data-dir 2022-01-21 12:11:47 +01:00
Alex Dima
1498d0f340 Add explicit layers for editor contributions (fixes #140995) 2022-01-21 10:29:55 +01:00
Martin Aeschlimann
8047f9c877 no remote indicator for code server web 2022-01-21 10:00:20 +01:00
Benjamin Pasero
01a976f80c smoke - properly skip tests (#141054) 2022-01-21 08:55:59 +01:00
Benjamin Pasero
5993199079 smoke - skip flaky one (#141054) 2022-01-21 07:26:59 +01:00
Connor Peet
904c63debd smoketests: use new extractSync option 2022-01-20 11:04:36 -08:00
Benjamin Pasero
295984b33b tests - adopt new URL syntax when web is connected to a remote 2022-01-20 15:55:18 +01:00
Benjamin Pasero
e07713a8a9 smoke - log fatal errors 2022-01-20 14:18:06 +01:00
Benjamin Pasero
365fea1d61 fix #141060 2022-01-20 13:59:47 +01:00
Benjamin Pasero
13461f8c61 Web: change yarn web to run with our server instead of playground (#139725)
* web - first cut `yarn web` via our server

* properly pipe output

* web - remove traces of web playground

* web - remember last opened workspace for convinience

* use vscode-test-web for server less, clean up web commands

* fix comment

* fix `yarn web`

* rename to code-server

* open system browser

* code-server script: use minimist

* test resolver: use ./scripts/code-server

* integartion tests: fix code-server command name

Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2022-01-20 13:48:08 +01:00
Benjamin Pasero
f317abfd68 layers - clean up top level workbench test folder 2022-01-20 10:47:35 +01:00
Martin Aeschlimann
f7baac67c1 Merge branch 'aeschli/adoptServerScript' 2022-01-19 21:31:12 +01:00
Martin Aeschlimann
36089a9229 fix unused import 2022-01-19 19:49:37 +01:00
Benjamin Pasero
96206bb5a8 smoke - 🆙 timeouts 2022-01-19 19:45:03 +01:00
Connor Peet
bdc81fc0a9 tests: log progress as stable code downloads 2022-01-19 09:16:39 -08:00
Martin Aeschlimann
ad928a4e0f adopt server script in integration tests 2022-01-19 18:08:04 +01:00
Benjamin Pasero
c333d44ecd update integration test docs how to compile 2022-01-19 07:29:38 +01:00
Sandeep Somavarapu
066671a902 Fix #140838 2022-01-18 17:43:20 +01:00
Benjamin Pasero
158cd6da42 smoke - log code download (#140769)
* smoke - log progress/errors of vscode download

//cc @connor4312

* reduce spam
2022-01-15 11:31:13 +01:00
Benjamin Pasero
9be2757019 🆙 playwright@1.18 (#140767)
* tests - use `@playwright/test@1.18.0-rc1`

* fix bad dependency

* clear more weird ts dependencies
2022-01-15 09:35:39 +01:00
Daniel Imms
f2c755a878 Skip smoke test
Part of #139076
2022-01-14 09:47:56 -08:00
Daniel Imms
0b7bc6d73c Re-enable auto replies tests with retries on Windows only
Fixes #139076
2022-01-14 08:56:11 -08:00
Benjamin Pasero
eecbd962ef debt - rename iconv-lite-umd package (#140650) 2022-01-14 07:28:41 +01:00
João Moreno
8c9870d298 Smoke Test: forcefully kill electron if exit doesn't work (#140570)
* smoke test: forcefully kill electron if exit doesn't work

* use tree-kill

* roll back veto
2022-01-12 17:02:52 +01:00
Daniel Imms
860e935d1a Skip notebooks smoke test suite
Part of #140575
2022-01-12 07:35:56 -08:00
Benjamin Pasero
af5de88a44 tests - add --sequential option and use in CI runs 2022-01-11 10:48:20 +01:00
Matt Bierner
9f867c3ed8 Revert service worker usage of MessageChannel (#140351)
* Revert service worker usage of MessageChannel

Reverts 66b6adf035

While I'm not 100% about this, I think 66b6adf035 causes resourses to occasionally not load. I believe this can happen if the service worker is unitilized while the webview remains active. I can't reproduce this myself so it may be related to memory pressure or resource usage, however relying on the service worker not being reinitilized does seem like a potentially bad idea https://stackoverflow.com/questions/34775105/what-causes-the-global-context-of-a-service-worker-to-be-reset

Will investigate if there's another way to achive this since using MessagePort did clean up the code and slightly improve performance

* Bump webview commit versions
2022-01-10 14:22:49 -08:00
Benjamin Pasero
a224ef4fb3 smoke - fix selectTab to select tab? 2022-01-04 09:47:09 +01:00
Benjamin Pasero
18a7108073 smoke - select tab over quick pick (#139944)
* smoke - further try to reduce usages of quick pick

* poke
2021-12-30 22:38:59 +01:00
Benjamin Pasero
99fabbdb27 smoke - more logging 2021-12-29 17:46:52 +01:00
Benjamin Pasero
bd43c04262 smoke - log electron stdout into log file 2021-12-29 17:35:54 +01:00
Benjamin Pasero
9c0cce1dae smoke - take screenshot when waiting long for window ready 2021-12-28 15:32:35 +01:00
Benjamin Pasero
b2e9e87c2e smoke - skip flaky notebook test (#139672) 2021-12-23 17:12:29 +01:00
Benjamin Pasero
b2e79a699f smoke - improve app lifecycle (#139693)
* smoke - make sure app is closed when `app.start` fails

* smoke - `capturePage` to fallback to active window

* smoke - more logging around remote resolving
2021-12-23 16:38:54 +01:00
Daniel Imms
daf4ba622f Merge pull request #138516 from microsoft/tyriar/137847
Try removing timeout in checkWindowReady
2021-12-22 10:38:41 -08:00
Benjamin Pasero
bb39ae82cf smoke - improve runCommand and disable more tests 2021-12-20 08:25:08 +01:00
Benjamin Pasero
2d77c9e23a smoke - more robust usage of quick input / access (#139367)
* smoke - more robust `openQuickAccessAndWait`

* tweaks

* 💄

* trigger

* fix fluke

* poke

* fix terminal weirdness

* poke

* address feedback
2021-12-17 18:49:17 +01:00
Daniel Imms
88fcbd84e0 Fix auto replies smoke tests
This was flaky because the shell's wrapping character may have come after the
input (eg. 'foo> bar'), the fix is to allow characters between the matching
string and reply via regex.

Fixes #139083
2021-12-17 09:42:50 -08:00
Benjamin Pasero
7141436baa smoke - skip failing terminal test (#139353) 2021-12-17 08:21:58 +01:00
Benjamin Pasero
1a4a2714bf smoke - skip failing terminal test (#139349) 2021-12-17 07:34:20 +01:00
Daniel Imms
d33e3d2fbc Re-enable flaky auto replies tests
Need a new playwright trace from a failure to be able to diagnose

Part of #139083
2021-12-16 11:36:53 -08:00
Benjamin Pasero
ae8aeb653d smoke - use absolute paths for opening files (#139322) 2021-12-16 20:14:12 +01:00
Benjamin Pasero
9e22f1ccac smoke - disable flaky notebook tests (#139270) 2021-12-16 15:55:15 +01:00
Daniel Imms
dfc4077fb0 Use dom renderer for terminal smoke tests
Part of #139083
2021-12-16 06:38:11 -08:00