Commit graph

398 commits

Author SHA1 Message Date
Benjamin Pasero
bef4dba21f
Parcel update and CI improvements (#136830)
* 🆙 product

* 🆙 parcel/watcher

* 🆙 parcel/watcher

* tests - separate remote logs from others

* store server logs too

* more tweaks

* fix name

* error when 10s passed
2021-11-10 08:13:56 +01:00
Alexandru Dima
e08e4d3fe1
Move --ms-enable-electron-run-as-node to a later location (#136786)
* Move `--ms-enable-electron-run-as-node` to a later location, which is not fatal in Electron builds that don't know it

* undo bad change
2021-11-09 15:11:12 -08:00
deepak1556
ac29daaf3b
Fixes #136771: update to Electron v13.5.2 and pass --ms-enable-run-as-node together with ELECTRON_RUN_AS_NODE 2021-11-09 19:09:26 +01:00
Johannes Rieken
9254a8cd27
move vscode.d.ts and vscode.proposed.d.ts into src/vscode-dts-folder, https://github.com/microsoft/vscode/issues/131165 2021-11-09 15:00:03 +01:00
Alex Dima
a704a69394
Enforce that source code uses a small subset of Unicode 2021-11-03 23:34:41 +01:00
Sandeep Somavarapu
cae4478f04
enable proposed api flag 2021-10-08 09:33:16 +02:00
Sandeep Somavarapu
4395e20206
enable proposed api for vscode.typescript-language-features 2021-10-08 09:33:04 +02:00
Benjamin Pasero
3a4e16cac1
tests - skip release notes 2021-09-03 11:32:11 +02:00
Rob Lourens
ffb40deb52 Build ipynb extension before integration test 2021-08-03 12:15:16 -07:00
Rob Lourens
190a89dd1b Port unit tests from vscode-jupyter to ipynb extension
#129446
2021-08-03 11:19:22 -07:00
Benjamin Pasero
5aa1570976
tests - align integration test scripts 2021-07-01 15:23:37 +02:00
Robo
92999c339e
fix: setuid helper permission (#126798)
* ci: fix setuid helper binary permission

* ci: allow privilege for CLONE_NEWPID | CLONE_NEWNET

* ci: fix chrome-sandbox permission with rpm

* ci: fix permissions on snap

* ci: download electron earlier for arm builds
2021-06-22 08:42:30 -07:00
Rob Lourens
526253bc34 Remove unneeded vscode-notebook-tests references
Fix #126384
2021-06-17 20:51:13 -07:00
Joao Moreno
b79d23d356
:table_flip: 2021-06-15 17:07:53 +02:00
Benjamin Pasero
3f4039d99f
. 2021-06-15 15:45:10 +02:00
Benjamin Pasero
270002e3b8 fix emmet test integration path 2021-06-15 15:40:24 +02:00
Benjamin Pasero
2ddc1e4fc5
Produce logs during test runs (integration, smoke) and publish as artefacts (#126065)
* first cut upload log files from integration test runs

* always publish log files

* move logs into integration-tests folder

* also produce logs for smoke tests

* store remote log files

* wire in logspath arg properly

* always publish logs

* enable logs for browser based smoke tests

* log only in verbose
2021-06-15 08:33:26 +02:00
Benjamin Pasero
33f84b36fd
tests - disable getting started in integration tests and smoke tests (#125808)
* tests - disable getting started in integration tests and smoke tests

* --skip-getting-started => --skip-welcome

Co-authored-by: Jackson Kearl <jakearl@microsoft.com>
2021-06-09 18:36:42 +00:00
Benjamin Pasero
71490cd84c
windows integration tests - use --no-sandbox (#125733) 2021-06-08 19:12:33 +02:00
João Moreno
bae654ad1d
scripts/code.sh: disable gpu on wslg 2021-06-08 15:19:04 +02:00
João Moreno
11a1f705db
fix code.sh script in wsl2+gui 2021-06-07 20:39:27 +02:00
Ladislau Szomoru
b0509196f6
Disable workspace trust during tests 2021-06-03 10:21:19 +02:00
Connor Peet
950ad4ffec
colors: add support for exporting colors
Make color definitions introspectable, where previously there was data
hidden in closures. This allows colors to be exported and used in
other tools.
2021-06-01 13:07:25 -07:00
Benjamin Pasero
e2954beb4b
Remove --no-sandbox (#122909)
* linux - remove `--no-sandbox` flag

We should not disable sandbox on Linux.
We only added this to support running on Kernel <= 3.8 where setuid sandbox is used.

* fix ci

* add some docs
2021-05-04 11:18:19 +02:00
Matt Bierner
a87db274da
Make sure we build extension media for integration tests
For #120213
2021-04-23 16:18:15 -07:00
Benjamin Pasero
b19f50e016
debt - improve emmet integration tests
- properly close all editors
- disable minimap to prevent spammy output
2021-03-29 08:31:14 +02:00
Joao Moreno
da1ed96b6a fix code-cli.bat
fixes #119064
2021-03-24 15:40:35 +01:00
Martin Aeschlimann
e8c71c048f use %~1 in bat files 2021-03-15 12:33:58 +01:00
Martin Aeschlimann
3d626dd868 Use "%~1" instead of "%1" in bat argument parsing. 2021-03-15 10:15:45 +01:00
Matt Bierner
4feadc3998 Fixes #112164 2021-02-19 17:22:38 -08:00
Benjamin Pasero
9de38fc9a8
Disable keytar in our integration tests (#116852)
* tests - extract and use ALL_PLATFORMS_API_TESTS_EXTRA_ARGS

* tests - throw when accessing keytar from API tests
2021-02-17 15:09:40 +01:00
Benjamin Pasero
5c005324bb tests - enable workspace tests again for now 2021-02-16 18:44:16 +01:00
João Moreno
980becda8d main rename
fixes #116341
2021-02-14 20:10:24 +01:00
João Moreno
0e7f3d0d8c
Revert "remove colorize-tests extension usage"
This reverts commit d577c4b18d.
2021-01-19 11:39:39 +01:00
Matt Bierner
800e173c40 Split ts into unit and smoke tests
The smoke tests are less reliable as they simulate user actions

Fixes #102075
Fixes #102097
Fixes #102106
2021-01-15 13:32:27 -08:00
João Moreno
d577c4b18d
remove colorize-tests extension usage 2021-01-15 12:59:42 +01:00
Martin Aeschlimann
3e8b2d86d1 bring back css integration tests 2020-12-18 17:38:23 +01:00
Martin Aeschlimann
8dc8025cd4 comment out css tests on windows 2020-12-18 14:30:23 +01:00
Matt Bierner
6ad6905f98 Re-enable *.integrationTest on windows
Fixes #112164
2020-12-09 14:08:15 -08:00
Robo
daca95ea06
fix: disable shm usage in container builds (#111787)
* fix: disable shm usage in container builds

* ci: use EGL

* ci: use swiftshader

* ci: disable shm for unittests
2020-12-09 10:46:35 -08:00
Robo
94142bd7e0
chore: bump electron@11.0.3 (#111931)
* chore: bump electron@11.0.3

This reverts commit 155691d0be.

* chore: bump x64 build image

* chore: rebuild remote with older gcc toolchain

* chore: bump electron@11.0.3

* ci: remove condition for remote step

* chore: disable an integration test
2020-12-05 01:54:58 -08:00
João Moreno
1c1c59fd0f
Kill code processes after each integration test suite run (#111844)
* bring back linux integration tests

* no empty functions

* hmm
2020-12-03 21:45:01 +01:00
Sandeep Somavarapu
fd8411e75e Fix #89559 2020-11-02 16:27:36 +01:00
Rakib Fiha
7670c0c79c
Changed shebang same as code.sh (#109372)
* Changed shebang same as code.sh

* Added set -e in test.sh
2020-10-30 07:54:13 +01:00
Martin Aeschlimann
59df6b40f1 code.sh: Prevent stealing of stdin (for #99815) 2020-10-16 22:45:38 +02:00
ChaseKnowlden
e8760a5d6c Fix capitalization of GitHub org 2020-09-17 11:43:03 +02:00
Martin Aeschlimann
a8581d60f2 fix wsl selfhosting in scripts/code.sh 2020-09-16 23:55:52 +02:00
Ladislau Szomoru
bd364ea311
Run commosJS integration tests consistently (#104914) 2020-08-18 12:04:38 +02:00
Connor Peet
262ab802d3
launch: check prerequisites in a pre-launch task
Fixes https://github.com/microsoft/vscode/issues/103708
2020-07-31 10:55:07 -07:00
Matt Bierner
bdd3721849 Add custom editor test extension
Adds a simple set of tests for custom editors in a new extension. This is currently not run during CI since we want more testing to make sure it is reliable
2020-07-29 14:05:44 -07:00
rebornix
9798ce7388 move notebook test to last 2020-07-22 10:30:56 -07:00
rebornix
86356398dd use tmp file for every test. 2020-07-22 09:01:02 -07:00
rebornix
e83010a4aa silent fail when the documents events are wrong 2020-07-21 18:13:23 -07:00
rebornix
baeae3e366 enable windows. 2020-07-21 16:26:57 -07:00
rebornix
dc5e243a53 still disable web integration test 2020-07-21 16:25:49 -07:00
rebornix
ba85a1a477 bring on integration test. 2020-07-21 08:10:29 -07:00
Benjamin Pasero
5efad44b0d tests - skip failing notebook tests for now (#103003) 2020-07-21 11:28:14 +02:00
rebornix
2501ecbe3f 💄 2020-07-20 18:03:30 -07:00
rebornix
1710c92d5f fix #102460 2020-07-16 10:20:42 -07:00
Matt Bierner
362d345448 Adding tests for opening markdown document links 2020-07-10 13:25:55 -07:00
Benjamin Pasero
e7920dce7b tests - disable ts integration tests 2020-07-10 13:25:37 +02:00
Benjamin Pasero
59074a6cae integration tests - need to compile test extensions when running against build
cc @mjbvz
2020-07-10 09:57:44 +02:00
Matt Bierner
46c2494cb0
Enable ts tests on ./test-integration.sh (#101826)
* Enable ts tests on ./test-integration.sh

* Fix join lines for windows

* Fixing more tests for windows

Make sure we use the correct new line character

* Update test-ingration scripts
2020-07-07 17:38:03 -07:00
Chuck Lantz
0710dca120
Merge branch 'master' into clantz/dev-container 2020-06-29 06:47:03 -07:00
Chuck Lantz
2582661266 Fix Docker WSL2 engine scenario 2020-06-22 19:24:34 -07:00
rebornix
85677aecfe 📓 temp disable nb tests on windows. 2020-06-21 13:53:16 -07:00
Eric Amodio
bb97e452f1 Fixes #99666 - moves code-web into resources/ 2020-06-09 10:59:15 -04:00
Benjamin Pasero
d41ca1ce5f tests - also use --no-cached-data for normal integration tests 2020-06-09 10:29:01 +02:00
Eric Amodio
de701c049c Adds authentication callback support 2020-06-08 18:13:27 -04:00
Martin Aeschlimann
bd57bd7078 break up extension-browser.webpack.config 2020-06-08 21:46:27 +02:00
Benjamin Pasero
7fe821d6d6 Switching to simple full screen produces a jump (fix #99039) 2020-06-03 08:55:15 +02:00
Matt Bierner
1bfa086adb Make sure we build vscode-notebook-tests on windows 2020-06-01 23:22:07 -07:00
rebornix
a3f81e9453 fix mimetype pattern match 2020-06-01 10:34:38 -07:00
Benjamin Pasero
618e9e98c5 tests - use rm -rf for deleting user data dir 2020-06-01 13:41:24 +02:00
Martin Aeschlimann
ed834bea3a web: nls for package.json 2020-05-28 17:29:12 +02:00
Martin Aeschlimann
3ed67bc863 add client/server browser parts 2020-05-27 22:35:37 +02:00
Martin Aeschlimann
d1a3e6ede6 run webpack in code-dev 2020-05-26 18:15:01 +02:00
Martin Aeschlimann
21d6116577 code-web: fix scss not available 2020-05-26 14:32:33 +02:00
Benjamin Pasero
5fd0d725bc diag - publish crashes from builds as artefact 2020-05-07 08:26:12 +02:00
Dirk Baeumer
177b9c30ea Add –noprofile to detect WSL IP address to speed up things 2020-05-05 14:45:03 +02:00
Benjamin Pasero
6a8b201c8a smoke - restore skip-release-notes CLI arg (#96459) 2020-04-29 12:40:04 +02:00
rebornix
b9eafe5f66 intergration tests. 2020-04-23 11:55:23 -07:00
Alex Dima
a6e59815c8
Adopt vscode-oniguruma-wasm 2020-04-23 11:16:21 +02:00
Benjamin Pasero
f622c438e4 electron - enable ELECTRON_ENABLE_SECURITY_WARNINGS when running out of sources 2020-04-20 08:34:51 +02:00
Benjamin Pasero
335dd17b8e dev - do not set ELECTRON_DEFAULT_ERROR_MODE on windows 2020-04-15 19:37:36 +02:00
Daniel Imms
3636940beb vscode-minimist -> minimist 2020-03-30 14:10:10 -07:00
João Moreno
1526a0ba1e fix wsl script 2020-03-30 14:45:18 +02:00
João Moreno
793499665b use windows DISPLAY when running code.sh client within WSL 2020-03-30 14:33:49 +02:00
João Moreno
b2989ab109 remove code-wsl.sh file 2020-03-30 14:33:31 +02:00
João Moreno
33aaaa022a push code-wsl.sh 2020-03-30 14:21:30 +02:00
Matt Bierner
1c741ecc64
Move web playground code into its own extension (#92672)
This splits the web playground out from vscode-api-tests
2020-03-17 15:01:17 -07:00
Benjamin Pasero
1bd8e5b76b tests - need to set --enable-proposed-api=vscode.git for integration tests 2020-03-17 13:35:49 +01:00
Joao Moreno
2e3bbc2da9
always launch code with --no-sandbox 2020-02-17 16:31:00 +01:00
Benjamin Pasero
6f34d1a7d8 integration - prevent excessive gulp usage 2020-02-13 12:26:32 +01:00
Benjamin Pasero
e5ca30b596 docs integration test scripts 2020-02-13 12:02:19 +01:00
Benjamin Pasero
a56618ad8f web - fix warnings 2020-02-13 10:20:32 +01:00
Benjamin Pasero
4b359a57a5 build - address some issues
- run local and remote integration tests separately
- enable playwright on Linux with -no-sandbox trick
2020-02-12 12:07:44 +01:00
Benjamin Pasero
c2444b42af tests - proper text fixtures dir 2020-02-10 15:33:04 +01:00
Benjamin Pasero
5393954877 tests - have a test/unit folder 2020-02-07 09:51:28 +01:00
Joao Moreno
78edac9e13
what the f 2020-02-05 09:35:29 +01:00