Commit graph

61 commits

Author SHA1 Message Date
Benjamin Pasero ff0f7f3cf2
Make product configuration available to non node.js environments (fix #120243) 2021-04-06 08:55:31 +02:00
Benjamin Pasero 1db94dbb10
sandbox - add additional arguments also to test runner 2021-04-01 08:10:40 +02:00
Connor Peet 48e8463a89
testing: tear down app if renderer crashes
Fixes https://github.com/microsoft/vscode/issues/117068
2021-03-29 16:41:03 -07:00
Andrew Jones 2a0f9aa8dc Reminder to compile between tests 2021-03-08 19:52:39 +10:00
Andrew Jones 3f46e7f7b5 add ui flag to mocha tests 2021-03-08 15:04:26 +10:00
Benjamin Pasero 7a6a45fb2c browser tests - fix regression from updating playwright 2021-02-02 16:53:30 +01:00
Connor Peet 2b5ae783bf
testing: add full json reporter to show more complete output 2021-01-13 15:30:11 -08:00
Johannes Rieken b90166177b reuse stats collector for EchoRunner, fix missing titlePath-property, fixes https://github.com/microsoft/vscode/issues/114190 2021-01-12 11:21:32 +01:00
Alexandru Dima 533d094020
Allow logging FS access with stacks 2021-01-11 15:32:39 +01:00
Alexandru Dima 2fd00ba9fe
Add a way to troubleshoot fs calls 2021-01-11 09:11:33 +01:00
Benjamin Pasero eb40962288 tests (unit, electron) - set forbidOnly when running on build machine 2021-01-08 09:09:23 +01:00
Connor Peet 04d7411785
eng: update mocha 2 -> 8 2020-12-17 11:24:15 -08:00
Benjamin Pasero 7f035b4be7 debt - introduce and adopt FileAccess
deprecate amd.ts and require.toUrl methods
2020-09-25 14:11:05 +02:00
Benjamin Pasero 5497e60ed2 sandbox - consolidate fileUriFromPath into one 2020-09-22 08:14:45 +02:00
Benjamin Pasero 87847325a6 electron - set spellcheck: false again for windows 2020-09-11 09:49:18 +02:00
Ladislau Szomoru 41b661eb3d Add process.arch into unit test results file names 2020-08-18 18:08:37 +02:00
Robo e4296330de chore: update to electron 9-x-y (#102011)
Co-authored-by: Benjamin Pasero <benjpas@microsoft.com>
2020-08-11 11:30:23 -07:00
Ladislau Szomoru cf4e4c1754
Add JUnit reporter for unit tests (#104354) 2020-08-10 11:20:34 +02:00
Robo 227d533937
Revert "chore: update to electron 9-x-y (#102011)" (#103599)
This reverts commit 3d0d50caf8.
2020-07-30 08:35:43 -07:00
João Moreno c1f44f4e3e
Merge pull request #103436 from codebytere/fix-json-reporter
fix: add missing property to deserializeRunnable
2020-07-30 10:06:18 +02:00
Shelley Vohr 3770547cc1
fix: add missing property to deserializeRunnable 2020-07-27 20:13:27 -07:00
Robo 3d0d50caf8
chore: update to electron 9-x-y (#102011)
* chore: bump electron@9.0.5

* remove exploration config

* fix compile error

* fix compile error

* crashReporter has to be called only once before app ready

* chore: bump electron@9.1.0

* enable LayoutNG

* fix cron schedule

* allow disabling appcenter crash reporting

* set additional crash reporting parameters

* start crashreporter for child process on linux

* setup crash parameters only once

* remove unused crashReporter.guid

* address review feedback

* reuse argv.json for storing crash reporter id

* remove trailing commas

* update localized name

* update argv based on telemetry optout

* update initial config based on setting

* fix conditional errors

* remove telemetry.enableCrashReporter

* move default crash reporter config to electron-main

* update comment for ext host crash reporting

* set default value for configuration

* some 💄 changes

* address review feedback

* do not use ES7 features in JS yet

* add app.focus({ steal: true }) usage

Co-authored-by: Benjamin Pasero <benjpas@microsoft.com>
2020-07-21 09:39:34 +02:00
Benjamin Pasero a006879172 electron - explicitly disable spellchecker
It will be enabled by default starting with Electron 9
2020-07-21 07:50:25 +02:00
Benjamin Pasero 4aab95966b unit tests - run them in same environment as our main code 2020-07-20 10:57:10 +02:00
Benjamin Pasero e5b3ff76ba
Enable sandbox and contextIsolation for process explorer when running with --__sandbox (#102924)
* sandbox - allow to enable sandbox and contextIsolation for process explorer

* fix asar lookup
2020-07-20 10:30:20 +02:00
Fedor Nezhivoi 05613d7a1c
Move read and write logic from nativeTextFileService to textFileService for #79275 (#100804)
* move encoding logic from NativeTextFileService to AbstractTextFileService for #79275

* some cleanup things - just cosmetic

* fix tests

* review

* use correct comparison

Co-authored-by: Benjamin Pasero <benjpas@microsoft.com>
2020-07-03 15:55:44 +02:00
Benjamin Pasero 4f65b91444
electron - disable remote module in all windows (#101224) 2020-06-28 12:12:38 +02:00
Benjamin Pasero 7f49ef52e3 sandbox - configure nativeWindowOpen:true
This matches the behaviour of sandboxed Electron renderers.
2020-06-16 18:52:34 +02:00
deepak1556 113fd1b7bc chore: bump electron@7.3.0 2020-05-27 12:47:39 -07:00
Benjamin Pasero d637255b17 Merge branch 'master' into ben/electron-sandbox 2020-05-27 06:51:08 +02:00
deepak1556 876f2e70f9 Revert "chore: bump electron@8.3.0 (#98266)"
This reverts commit 820fd4048f.
2020-05-26 21:46:03 -07:00
Benjamin Pasero 45552c0a2d sandbox - reduce clipboard dependencies in renderer 2020-05-26 08:12:09 +02:00
Robo 820fd4048f
chore: bump electron@8.3.0 (#98266) 2020-05-20 13:32:02 -07:00
Benjamin Pasero 9f45c20088
🆙 playwright@0.15.0 (#96218)
* playwright@0.15.0

* close to dumpio: true

* reduce logging
2020-04-27 08:50:50 +02:00
NickDebug a656a723a8
added missing word in the readme (#95043) 2020-04-12 08:43:50 -07:00
Johannes Rieken 0549900aa5 run web-unit-tests in chromium, webkit, and firefox
@bpasero fyi that I have disabled the "editor observer copy group" test for web
2020-04-07 10:47:23 +02:00
Matt Bierner 273a4a389d
Convert most ts-ignore-calls to ts-expect-error (#93617)
Changes over to use ts-expect-error: https://devblogs.microsoft.com/typescript/announcing-typescript-3-9-beta/#ts-expect-error-comments

This revealed a number of places where we no longer need to supress errors
2020-03-30 17:31:37 -07:00
Hyun Sick Moon 3b155031dc
fix typo (#93291) 2020-03-24 09:03:01 -07:00
Johannes Rieken 2d313c9aef consolidate debug test instructions 2020-02-27 12:45:19 +01:00
Benjamin Pasero a7ed9c9572
🆙 playwright@0.11.0 (#90663) 2020-02-14 09:56:08 +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
Daniel Imms 5cfae257fd
Merge pull request #90245 from microsoft/tyriar/browser_tests
Move terminal unit tests to browser and common
2020-02-10 04:58:40 -08:00
Benjamin Pasero cdf4026fb6
Add browser unit tests to product build (#90353)
* wip - add browser unit tests to product build

* run with more output

* load loader via script tag
2020-02-10 12:44:28 +01:00
Benjamin Pasero 9d9d729655 Web: run integration tests as part of our product builds (fix #83923) 2020-02-10 11:23:00 +01:00
Daniel Imms 8a4cd00f8f Move terminal tests to common and browser 2020-02-07 08:52:37 -08:00
Johannes Rieken 7b8552a711 also add a note about electron unit test runner 2020-02-07 16:49:49 +01:00
Johannes Rieken f9c5a5511e add help printing 2020-02-07 16:20:09 +01:00
Johannes Rieken 4f875f8d25
Merge branch 'master' into joh/continous-browser-tests 2020-02-07 15:06:46 +01:00
Johannes Rieken 3e19c9765e test - remove unsupported options, fix bad file warning 2020-02-07 15:06:29 +01:00
Johannes Rieken 37ef5e45af
Merge branch 'master' into joh/continous-browser-tests 2020-02-07 14:48:21 +01:00