Commit graph

400 commits

Author SHA1 Message Date
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
Joao Moreno
d24ed62c0e
maybe 2020-02-05 09:13:21 +01:00
Joao Moreno
fc3ff960f5 🤦 2020-02-04 21:15:42 +01:00
Joao Moreno
54007fa545 fix git smoketests 2020-02-04 20:26:12 +01:00
Joao Moreno
acd2c6f387
fix tests 2020-02-04 13:04:44 +01:00
Joao Moreno
ce183bc348
add git to windows integration tests 2020-02-04 12:46:46 +01:00
Joao Moreno
de3513578c
add git to integration tests 2020-02-04 12:35:29 +01:00
Joao Moreno
765a8e1f01
simplify integration script 2020-02-04 12:35:29 +01:00
Benjamin Pasero
6d1f663dd7 integration tests - enable logging when running against build 2020-01-15 16:36:03 +01:00
Benjamin Pasero
7185c6f34a web - add mock manifest to prevent error 2019-12-09 11:59:25 +01:00
Sandeep Somavarapu
f9b6372f0a #85036
change extension kind ui to be ui + workspace
deprecate string value for extension kind
2019-11-29 13:20:24 +01:00
Benjamin Pasero
82e99291ce 💄 2019-11-19 16:13:13 +01:00
Benjamin Pasero
34c45707f2 yarn web 💄 2019-11-18 11:01:51 +01:00
空雲
7021e20522 Make local and remote ports configurable (#84958)
* Add local_port to startup parameters

* Added help to vscode-web

* Fixed help text.
Changed to show additional message only when local port is changed.
2019-11-18 11:00:05 +01:00
Eric Amodio
4fa83458cf Aligns with bash version 2019-11-13 18:32:57 -05:00
Alex Dima
c9a2de2d9c
Improve integration test output on Windows (#84239) 2019-11-08 17:21:35 +01:00
Benjamin Pasero
60387fd1bd failed to run on chrome browser with 'yarn web' (fix #84198) 2019-11-08 10:57:28 +01:00
Benjamin Pasero
5a569ad3dd yarn web - do not have root in memfs 2019-11-06 15:30:50 +01:00
Joao Moreno
5048816ebf
extract yarn electron 2019-10-16 11:15:43 +02:00
Rob Lourens
84d62ea8a3 Add launch config/task for "yarn web" 2019-10-15 11:27:23 -07:00
Benjamin Pasero
887528397c 💄 code-web.js 2019-10-15 16:49:31 +02:00
Benjamin Pasero
49129e9911
Allow to run web client out of sources (#82569)
* web - first cut allow to run from oss

* add launch config
2019-10-15 10:50:25 +02:00
Benjamin Pasero
23956cc5e2 update to electron 6.0.x (#81644)
* update to electron 6.0.x

* chore: bump electron@6.0.12
2019-10-10 12:26:28 -07:00
Johannes Rieken
a5b9969f06
Merge branch 'master' into joh/sigusr1 2019-10-08 18:02:55 +02:00
Benjamin Pasero
42ebd1036f build - use enable-proposed-api in tests 2019-10-08 11:13:18 +02:00
Johannes Rieken
5d413d7418 remove --disable-inspect 2019-10-07 14:09:05 +02:00
Nikolay Kondratyev
4f6e116539 Use yarn compile for start scripts 2019-10-03 18:35:56 +03:00
Benjamin Pasero
31a8a2c26e update distro 2019-10-03 07:30:11 +02:00
Benjamin Pasero
bb0dbb3b9c
fix vscode.open() tests (#81833) 2019-10-02 12:28:48 +02:00
Benjamin Pasero
da76f05e7a electron - revert to Electron 4 2019-09-30 14:55:17 +02:00
Benjamin Pasero
afde7913eb
build - set no-sandbox everywhere (#81096) 2019-09-18 13:55:03 +02:00
Robo
029e9929ae chore: Update to Electron 6.x (#75802) 2019-09-13 14:53:56 +02:00
Rob Lourens
a556ca989b Unset VSCODE_LOGS in code.sh
so it writes to the code-oss logs folder and doesn't inherit the insiders log folder
2019-09-10 11:33:14 -07:00
Benjamin Pasero
4cd5047073 build 💄 2019-09-04 08:55:20 +02:00
Martin Aeschlimann
163d8c5aad rename test-release to test-documentation 2019-09-02 17:57:27 +02:00
Benjamin Pasero
155f85b679
Build: run integration tests against actual build (#80203)
* experiment with running macOS integration test against real build

* echo command

* more tests

* Revert "more tests"

This reverts commit b07bde89be.

* test

* fix script

* fix build

* fix tests

* fix build

* fix build

* conditionally enable test for remote

* adopt for linux and windows

* disable failing test

* fix build

* windows - echo off

* fix variable check

* fix path

* fix compile

* echo off

* mac polish
2019-09-02 11:26:26 +02:00
Benjamin Pasero
a62ea90c35
build - enable ELECTRON_ENABLE_LOGGING again on Linux (#80192) 2019-09-02 09:30:31 +02:00
SteVen Batten
6e6c3e7acb unset VSCODE_LOGS to fix spdlog issue 2019-08-20 19:33:37 -07:00
Martin Aeschlimann
327832422c scripts/code.sh: remove -x 2019-07-30 16:37:19 +02:00
Martin Aeschlimann
c94b2703c5 code.sh is broken in WSL after commit "run code wsl in dev ". Fixes #72263 2019-07-29 16:03:51 +02:00
Benjamin Pasero
b2a456e7f9 💄 2019-06-24 18:57:37 +02:00
Benjamin Pasero
e42a1b0878 build - add and use --disable-inspect for integration tests (#74898) 2019-06-24 18:54:31 +02:00
Benjamin Pasero
0b62cdf464 build - enable language server tests again (for #74898) 2019-06-24 12:11:26 +02:00
Benjamin Pasero
d813315714 comment out more (for #74898) 2019-06-24 10:49:34 +02:00
Joao Moreno
c70c399313 remove env scripts
fixes #74792
2019-06-20 16:32:25 +02:00
Benjamin Pasero
613447d6b3 start to comment out tests (for #74898) 2019-06-19 11:26:27 +02:00
Martin Aeschlimann
ef70441e30 code.sh is broken in WSL after commit "run code wsl in dev ". Fixes #72263 2019-06-07 15:48:46 +02:00
Martin Aeschlimann
c20b7a9658 run remote integration tests if present 2019-06-07 11:18:43 +02:00
Martin Aeschlimann
0c2c2a1712 remove code-web.js 2019-06-06 17:09:23 +02:00
Benjamin Pasero
92e4a28c8c tweaks to code-web 2019-05-22 10:57:38 +02:00
Benjamin Pasero
772a652b3d 💄 2019-05-09 14:34:57 +02:00
Benjamin Pasero
4b5c68c1bd web - scaffold a basic dev setup via "yarn web" 2019-05-09 13:13:27 +02:00
kieferrm
4237ce04c5 change publisher 2019-04-30 23:34:46 +00:00
Howard Hung
21dc41b583 Fix typo in code-cli.bat (#73091) 2019-04-30 11:39:59 -07:00
Martin Aeschlimann
6b7b653dae code.sh is broken in WSL after commit "run code wsl in dev ". Fixes #72263 2019-04-15 13:07:08 +02:00
Martin Aeschlimann
b9725ba609 code.sh is broken in WSL after commit "run code wsl in dev ". Fixes #72263 2019-04-15 13:04:49 +02:00
Martin Aeschlimann
251a490430 run code wsl in dev 2019-04-11 10:25:08 +02:00
Martin Aeschlimann
187e723074 Improvements to script running 2019-04-10 22:01:05 +02:00
Martin Aeschlimann
5582306f98 Improve test running 2019-04-10 16:43:12 +02:00
Martin Aeschlimann
cc99c7e9a4 fix test-integration comment 2019-04-09 16:29:59 +02:00
Pine Wu
7f0737c5c6 :lipstick 2019-03-22 11:58:26 -07:00
Pine Wu
904014567d Rename script 2019-03-22 11:57:48 -07:00
Pine Wu
7b4c84f9b9 Add a script to automate generation of vscode dts for DefinitelyTyped. 2019-03-22 11:55:51 -07:00
Daniel Imms
912e490798 Enable Windows integration tests 2019-02-12 11:13:20 -08:00
Benjamin Pasero
ac0ead21e6 electron 3 - trace-hydrogen is no longer supported 2018-12-17 17:27:26 +01:00
Rob Lourens
1fbb0d484e Run .integrationtest.js tests first 2018-10-29 15:24:55 -07:00
Alex Ross
fd8d4b09e1 Update grammars 2018-10-23 16:13:27 +02:00
orangegrove1955
23fee50f7e
Corrected typo in comments
Corrected from "build-in" to "built-in"
2018-10-18 19:09:16 +11:00
Rob Lourens
cdaffba08c Remove search-rg tests from .bat 2018-10-15 23:08:55 -07:00
Rob Lourens
07271b840e Delete search-rg in favor of internal search 2018-10-15 21:35:10 -07:00
Rob Lourens
b969f377e7 Add search-rg integration tests to windows 2018-08-28 19:28:56 -07:00
Martin Aeschlimann
0561bf92d4 code-cli: update built-in extensions 2018-08-28 09:27:52 +02:00
Rob Lourens
6cc41bc1ab #57186 - add tests for search-rg extension 2018-08-25 13:21:49 -07:00
Daniel Imms
5dc414cbc9 Revert "Merge pull request #54854 from Microsoft/revert-52782-electron-2.0.x"
This reverts commit 90fc7e66e2, reversing
changes made to 3b25417fa2.
2018-07-23 07:34:16 -07:00
Sandeep Somavarapu
1dc23e548e
Revert "Update to Electron 2.0.x" 2018-07-23 10:58:49 +02:00
Benjamin Pasero
9459d2aae0 Update to Electron 2.0.x 2018-06-25 09:32:06 +02:00
Benjamin Pasero
e47a9c9eef revert electron 2.0.x update 2018-06-25 09:28:34 +02:00
Joao Moreno
4dc738593b complete integration test results 2018-06-12 17:24:23 +02:00
Joao Moreno
0bab375f9f woops 2018-06-12 11:21:14 +02:00
Joao Moreno
4eceb88ebf wip: build show integration tests 2018-06-11 22:05:12 +02:00
Benjamin Pasero
e7d29e9ccc
Electron v2.0.0 (#48290)
* Update to Electron 2.0-beta.7

* back to exploration build

* fix compile errors

* workaround build issue (go back to 1.24.0)

* bump to 1.25.0

* use electron 2.0.2

* revert custom distro
2018-06-08 18:32:49 +02:00
Martin Aeschlimann
2961d2dfc5 test for undocumented colors 2018-06-05 16:03:09 +02:00
Matt Bierner
1e2c13dad2 Add markdown to integration tests 2018-05-24 08:05:52 -07:00
Joao Moreno
0a4ff137d1 remove travis & appveyor 2018-05-03 09:56:44 +02:00
Benjamin Pasero
6cb06b7cb5 Revert "Electron v2.0.0 (#47289)"
This reverts commit f7ec491c3e.
2018-04-20 17:22:31 +02:00
Benjamin Pasero
f7ec491c3e
Electron v2.0.0 (#47289)
* Update to Electron 2.0.0-beta.7

* bump to electron 2.0.0-beta.7

* localStorage - workaround birthtime rounding issues that clear workspace storage

* fix compile error

* workaround #47569

* localStorage - add telemetry for successful migration

* increment to localStorageTimers4

* localStorage - allow to restore from backup if starting with 1.7.x again

* logLocalStorageMigrationStatus only on insider

* back to official distro

* 💄

* still use exploration distro

* remove GTK3 emoji picker which does not seem to work

* 💄
2018-04-13 08:23:12 +02:00
Benjamin Pasero
24d87a7eb0 Revert "Update to Electron v2.0.0-beta.6 (#46552)"
This reverts commit 88603b377d.
2018-04-06 09:33:18 +02:00
Daniel Imms
88603b377d Update to Electron v2.0.0-beta.6 (#46552)
* electron@2.0.0-beta-1

* Update distro

* Update electron.d.ts to 2.0.0-beta.1

* Disable asar as it causes a native crash

* Adopt Module._resolveLookupPaths ASAR patch

* electron 2.x - restore inspector URL in extension host

* electron 2.x - adopt context menu callback for onHide

* electron 2.x - remove workaround for https://github.com/electron/electron/issues/10442

* electron 2.x - update node.d.ts

* electron 2.x - update node.d.ts to 8.9.x

* electron 2.x - keep node.d.ts changes to a minimum

* electron 2.x - remove workaround for https://github.com/electron/electron/issues/10862

* electron 2.x - bump to 2.0.0-beta2

* bump to 2.0.0-beta.3

* Context menu: selecting "Rename" does not put focs into rename box (fix #45601)

* quality "exploration" for easier testing

* empty commit

* push a workaround for #45700

* Certain themes show UI artifacts over activity bar icons (fixes #45700)

* better fix for #45700

* bump to 2.0.0-beta.4

* another fix to prevent flickering for #45700

* avoid remote access in index.js

* bump distro commit

* electron 2.x - do not use --debug anymore

* bump electron to 2.0.0-beta.5

* electron 2.x - add libgtk-3-dev as build dependency for Linux 64

* electron 2.x - workaround freeze on linux on startup

* bump local storage telemetry key

* electron 2.x - do a one time backup of local storage

* enable ELECTRON_ENABLE_LOGGING on macOS at least

* 2.0.0-beta.6

* Fix ctrl+shift+e not focusing explorer on Linux

* distro - use GH electron builds for now
2018-04-03 12:39:25 +02:00
Martin Aeschlimann
826ea06355 test-integration fix for windows 2018-03-21 17:20:53 +01:00
Martin Aeschlimann
4c81ed502a include json/css in integration tests 2018-03-20 15:29:49 +01:00
Martin Aeschlimann
086a751a06 [html] split extension (for #45900) 2018-03-17 16:32:55 +01:00
Steve Desmond
5fb6ad6edd Properly set electron version in env scripts 2018-03-13 16:08:05 -04:00
Joao Moreno
0dfe0c4c3e Merge branch 'master' into gitattributes 2018-03-07 08:56:26 +01:00
Ramya Achutha Rao
dd846a08d5 Avoid Ememt test failures in updating workspace config 2018-03-06 17:09:20 -08:00
Christof Marti
5fb74d7f63 Fix side-effect of fixing #45121 2018-03-06 11:58:31 +01:00
Joao Moreno
12ab70d329 fix line endings 2018-03-05 12:47:11 +01:00
Joao Moreno
2ebd2a7dd2 builtin: manage extensions 2018-01-30 09:04:39 +01:00
Joao Moreno
b338f57e76 built in extensions control file 2018-01-29 12:23:43 +01:00
Benjamin Pasero
627497eb04 fix tests on linux 2018-01-27 11:49:18 +01:00