Connor Peet
2b19344369
testing: debug test failures
...
For #137853
2021-12-14 11:29:14 -08:00
Benjamin Pasero
687521092d
smoke - print running tasks after smoke test run
2021-11-29 10:12:42 +01:00
Benjamin Pasero
12178a4cf7
unit - exclude more tests for node.js runs ( #137853 )
2021-11-29 10:02:03 +01:00
Benjamin Pasero
754190f326
Run unit tests against node.js too ( #137790 )
...
* tests - run unit tests also against node.js
* fixes
* fail if major node.js version mismatch
* -tfs is unsupported
* Add `@ts-check` and remove `jsdom`
* tests - process.env layer breaker
* Improve loader config
* skip one test
* address todos
* try to force color output
* Use a file: URI as baseUrl
Co-authored-by: Alex Dima <alexdima@microsoft.com>
2021-11-24 13:45:17 +01:00
Alex Dima
689467c841
Try to restore yarn mocha
and move browser tests to /browser/
2021-11-23 16:07:15 +01:00
Benjamin Pasero
ddbda4c196
tests - enable crash reporter for electron based unit tests
...
//cc @deepak1556
2021-11-19 11:12:53 +01:00
Alex Dima
3247c31f6a
Replace Right Single Quotation Mark with Single Quote
2021-11-03 23:34:40 +01:00
Alexandru Dima
7dfe2e33ea
Fix test running around loading assertCleanState
2021-10-19 11:09:47 +02:00
Alex Dima
11862795ea
Remove LanguageIdentifier
and ensure tests dispose instantiated LanguagesRegistry
objects
2021-10-18 10:29:16 +02:00
Henning Dieterichs
98c1725c7d
Encode actual and expected value as JSON to enable https://github.com/microsoft/vscode-selfhost-test-provider/pull/2 .
...
Only a proof of concept yet.
2021-09-13 18:44:06 +02:00
Benjamin Pasero
cdde5bedbf
web tests - mention how to enable playwright logging
2021-08-26 10:34:17 +02:00
Connor Peet
fa8ccff4d8
testing: initial output correlation
2021-08-11 13:08:58 -07:00
Connor Peet
fa9255c0de
almost complete update for run configurations
2021-07-12 17:28:01 -07:00
Connor Peet
20790ec994
testing: increase debugger wait timeout
2021-07-09 15:28:35 -07:00
Connor Peet
c6d7cfed8a
testing: fix undefined not being reported correctly in results
...
Fixes #125669
2021-07-07 15:28:55 -07:00
Connor Peet
583f6d1418
open the devtools for browser tests when debug is passed
2021-07-07 12:58:19 -07:00
Benjamin Pasero
d0df79be50
webview - remove more traces ( #128128 )
...
* webview - remove more traces
* more removal
2021-07-07 18:28:53 +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
Henning Dieterichs
00123b32a7
Updates sinon from 1.17 to 11.1.
2021-06-09 10:03:46 +02:00
Henning Dieterichs
294b3bdf16
Revert "Include sinon-test in renderer.html / index.html"
...
This reverts commit e4e0f8be89
.
2021-06-08 17:18:34 +02:00
Henning Dieterichs
e4e0f8be89
Include sinon-test in renderer.html / index.html
2021-06-08 17:16:54 +02:00
Benjamin Pasero
802648f2a1
electron - adopt some newer APIs and 💄 main code
2021-06-04 09:22:38 +02: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
Connor Peet
24ea8408c3
testing: propoagate timeout option for unit tests
2021-04-29 12:19:56 -07:00
Connor Peet
b1569995f9
testing: allow waiting for server before running unit tests
...
Fixes https://github.com/microsoft/vscode/issues/121751
2021-04-26 16:31:36 -07:00
Benjamin Pasero
7095f4706c
unit tests (electron) - avoid sending circular structures over
2021-04-21 08:13:08 +02:00
Benjamin Pasero
f8c7dd64a4
tests - ensure preload promises are all resolved
2021-04-09 08:28:21 +02:00
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