Commit graph

1260 commits

Author SHA1 Message Date
Sandeep Somavarapu 4e6d9ce2b7 add server cli test 2021-02-03 21:42:12 +01:00
Sandeep Somavarapu 066c584405 enable remote smoke tests 2021-02-03 19:20:44 +01:00
Benjamin Pasero 7a6a45fb2c browser tests - fix regression from updating playwright 2021-02-02 16:53:30 +01:00
Sandeep Somavarapu abb05eb058 Fix #115586 2021-02-02 10:25:50 +01:00
Benjamin Pasero 04d4310a8a fix smoketest (#115586) 2021-02-02 08:20:07 +01:00
Rob Lourens 662a698ef9 Skip failing test #115244 2021-01-28 12:00:17 -08:00
Alexandru Dima 0a943766a5
Fix monaco checks 2021-01-28 14:48:41 +01:00
Martin Aeschlimann 4bd2d367e7 Remote smoketest timeout (fixes #115159) 2021-01-27 15:52:25 +01:00
Sandeep Somavarapu 4b9b2ab9a6 Fix #114707 2021-01-21 17:46:40 +01:00
João Moreno f745a912ae
fixes #114420 2021-01-15 15:19:19 +01:00
Alexandru Dima 00f8540d79
Fixes #114332
`yarn` no longer compiles the smoke test as a postinstall script. This breaks the flow of running `yarn && yarn smoketest` to execute the smoketest.

So change `yarn smoketest` to also do the compiling of the smoke test. But that generates too much extra work on the build machine, which needs to invoke `yarn smoketest` twice, once for Electron and once for web.

To workaround that, `yarn smoketest-no-compile` is added, which can be used by the build machine to avoid needlessly compiling.

While here, the nodejs version is already checked in the `yarn` preinstall script, so remove the check from the smoke test.
2021-01-14 10:35:42 +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
Benjamin Pasero 96e2981c91 skip failing test (#113882) 2021-01-08 08:16:28 +01:00
Alexandru Dima 8ad08b04f5
Do not compile /test/ and /build/ scripts during postinstall, the scripts get compiled explicitly during CI 2021-01-07 16:47:11 +01:00
Rob Lourens d29388d255 Reenable test, fix #113768 2021-01-05 12:21:50 -08:00
Alexandru Dima 689fbbd960
Increase timeouts 2020-12-30 14:15:14 +01:00
Alexandru Dima 4b6280aa8c
Skip webkit 2020-12-28 21:53:35 +01:00
Alexandru Dima 9945754a62
Add editor smoke test (ported from monaco-editor) 2020-12-28 21:44:42 +01:00
Alexandru Dima f74ad9692f
Align @types/* dev dependencies (#112718) 2020-12-18 13:28:39 +01:00
Alexandru Dima aa2864d53f
Remove most of the yarn license warnings 2020-12-18 10:26:14 +01:00
Alexandru Dima fee6dbf4e0
Merge remote-tracking branch 'origin/master' into alex/node-modules-vscode 2020-12-17 22:02:47 +01:00
Alexandru Dima 7ca71e763d
Move away from deprecated 'vscode' node module (#112718) 2020-12-17 21:40:14 +01:00
Connor Peet 88f32df1d7
Merge branch 'mocha-update' 2020-12-17 12:08:24 -08:00
Connor Peet 04d7411785
eng: update mocha 2 -> 8 2020-12-17 11:24:15 -08:00
Alexandru Dima ed19f6082f
Share mocha related node modules (#112718) 2020-12-17 11:03:49 +01:00
Alexandru Dima bb157721fb
/build/ and /test/ should only have devDependencies 2020-12-17 10:27:39 +01:00
João Moreno 1100f27681
fix build 2020-12-16 11:18:28 +01:00
João Moreno 7743d971b1
concurrently -> run-run-all 2020-12-15 15:21:24 +01:00
Sandeep Somavarapu 0ac5e95251 Fix #109644 2020-12-02 17:50:49 +01:00
Martin Aeschlimann 3472159cb1
Merge pull request #111408 from microsoft/aeschli/notebookIcons
externalize notebook items
2020-12-01 09:29:13 +01:00
Sandeep Somavarapu 47ce2a8d6d #111845 fix localization tests 2020-11-30 20:26:00 +01:00
Sandeep Somavarapu 2890fd321f Fix #111485 2020-11-30 11:58:43 +01:00
Martin Aeschlimann 6c8f62432f Merge branch 'master' into aeschli/notebookIcons 2020-11-27 12:19:23 +01:00
Martin Aeschlimann 8012c255e5 fix keybinding smoke test after icon name changes 2020-11-27 12:19:03 +01:00
Martin Aeschlimann 4e45d27a72 fix stopIcon name 2020-11-27 12:12:54 +01:00
Sandeep Somavarapu 6a2535e0ab Fix #107965 2020-10-28 19:49:42 +01:00
Sandeep Somavarapu 758240249a Fix #109210 2020-10-23 09:20:36 +02:00
Benjamin Pasero 781e0e3192 windows - remove not needed and confusing disable-restore-windows CLI arg 2020-10-01 11:36:45 +02:00
Christof Marti f48da22bdf
Update README.md 2020-09-30 09:16:06 +02:00
Rob Lourens 20b9010c39
Update README.md 2020-09-29 16:20:51 -07:00
Benjamin Pasero 7f035b4be7 debt - introduce and adopt FileAccess
deprecate amd.ts and require.toUrl methods
2020-09-25 14:11:05 +02:00
Rob Lourens b47a60c67f Fix notebook smoketest
Fix #107219
2020-09-22 17:14:15 -05:00
Benjamin Pasero 5497e60ed2 sandbox - consolidate fileUriFromPath into one 2020-09-22 08:14:45 +02:00
ChaseKnowlden e8760a5d6c Fix capitalization of GitHub org 2020-09-17 11:43:03 +02:00
Rob Lourens 1893b55c25 Skip smoketest #105330 2020-09-16 17:06:40 -05:00
Benjamin Pasero 87847325a6 electron - set spellcheck: false again for windows 2020-09-11 09:49:18 +02:00
Rob Lourens 7a92c462c8 Reenable notebook smoke test #105330 2020-09-08 10:46:04 -05:00
Rob Lourens a1724a23df Disable smoke test for #105330 2020-09-02 09:56:32 -07:00
Ladislau Szomoru 06730e3e29
Azure DevOps pipeline - generate unique test result names (#105148)
* Set suite name based on environment variable
2020-08-21 15:05:15 +02:00
Ladislau Szomoru b2efcbf687
Add process.arch into the test results file name (#104946) 2020-08-19 07:48:37 +02:00
Ladislau Szomoru 41b661eb3d Add process.arch into unit test results file names 2020-08-18 18:08:37 +02:00
Ladislau Szomoru 652a432f59
Set suite name based on the --web parameter (#104798) 2020-08-17 11:51:59 +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
Sandeep Somavarapu 2277c8e2a3 Fix #104230 2020-08-07 12:31:03 +02:00
Dirk Baeumer 0b79a0e708 Reenable localization tests 2020-08-07 11:30:30 +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
isidor f3e4ff9196 skip failing tests 2020-07-30 14:39:52 +02: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
Matt Bierner 42761b9db2 Fix smoke test function call 2020-07-28 14:57:08 -07:00
isidor 55e09d6bf8 update extensions aria label to contain version and publisher display name
fixes #102224
2020-07-28 19:16:02 +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
dependabot[bot] 7fb5a9385b
Bump lodash from 4.17.15 to 4.17.19 in /test/smoke
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-17 11:09:45 +00:00
rebornix 5e96337121 re #93070. test for command arguments. 2020-07-13 10:52:57 -07: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
Dirk Baeumer 09531cdf10 Fixes #101005: Localization - starts with 'DE' locale and verifies title and viewlets text is in German 2020-06-25 09:38:42 +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
Rob Lourens 8b5e6ff8c5 Fix notebook smoketest
Esc doesn't do the right thing because a notification showed up
Fix #99941
2020-06-12 07:56:18 -05:00
Sandeep Somavarapu 6876a0de40 Fix #99840 2020-06-11 10:13:21 +02:00
Benjamin Pasero d41ca1ce5f tests - also use --no-cached-data for normal integration tests 2020-06-09 10:29:01 +02:00
Rob Lourens 4d6da3154c Get notebook smoketest working in web
Fix #98364
2020-06-07 17:27:47 -05: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
Rob Lourens 3eb6c1704b Disable notebook smoketests in web 2020-05-26 12:12:34 -05:00
Benjamin Pasero 45552c0a2d sandbox - reduce clipboard dependencies in renderer 2020-05-26 08:12:09 +02:00
Rob Lourens b877c4d411 Fix notebooks and notebook smoketest in web 2020-05-21 08:56:22 -05:00
Robo 820fd4048f
chore: bump electron@8.3.0 (#98266) 2020-05-20 13:32:02 -07:00
Rob Lourens 8253b52191 Remove .only 2020-05-20 12:04:28 -05:00
Rob Lourens 9bc11824c3 Add notebook smoketests 2020-05-20 12:01:52 -05:00
Benjamin Pasero 869929e8c6 tests - log the actual build used for tests 2020-05-14 17:00:51 +02:00
Rob Lourens 7a5baba094 Fix replace smoketest
Fix #97120
2020-05-07 09:54:43 -05:00
Benjamin Pasero 0ac3b1114a smoke 💄 2020-04-30 13:32:27 +02:00
Benjamin Pasero 30bba102b3 smoke - only start automatically after data migration tests 2020-04-30 09:50:55 +02:00
Benjamin Pasero 6a8b201c8a smoke - restore skip-release-notes CLI arg (#96459) 2020-04-29 12:40:04 +02: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
Martin Aeschlimann 2561955280 fix smoketest 2020-04-21 08:57:53 +02:00
Martin Aeschlimann be256b54a1 use Codicon.close / Codicon.closeDirty / Codicon.removeClose 2020-04-20 17:53:35 +02:00
NickDebug a656a723a8
added missing word in the readme (#95043) 2020-04-12 08:43:50 -07:00
Daniel Imms b7e0abbdcc
Merge branch 'master' into tyriar/90539 2020-04-10 05:56:39 -07:00
Sandeep Somavarapu 393aaa408b Fix #94665 2020-04-08 17:44:57 +02: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
Benjamin Pasero 9f1aa3c9fe debt - remove node pieces from environment (#82598) 2020-04-06 09:12:41 +02:00
Alex Dima 283545de57
check in missing yarn.lock 2020-04-03 13:05:10 +02:00
João Moreno 8f566065fc upgrade dependencies in smoke test 2020-04-03 07:47:44 +02:00
Dirk Baeumer e694b041e3 Label for extension viewlet changed. Disable smoke test 2020-04-02 11:20:42 +02:00
João Moreno 05f9b99541
Update README.md 2020-03-31 13:18:35 +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
Sandeep Somavarapu 13b38d2a49 fix smoke tests 2020-03-30 08:56:20 +02:00
Benjamin Pasero 9bd87e3852 extensions - wire in proposed API enablement (for #92908) 2020-03-30 08:51:48 +02:00
Rob Lourens 64c157244e Wait for cleared settings to be applied before continuing
Fix #93292
2020-03-28 10:43:24 -07:00
Benjamin Pasero 537a2e783a tests - pass on enable-proposed-api to server 2020-03-27 14:33:47 +01:00
Benjamin Pasero e80f8a5da9 quick access - more cleanup 2020-03-26 13:51:05 +01:00
Benjamin Pasero 88d189b479 quick access - more renames towards less quick open usage 2020-03-26 13:38:59 +01:00
Benjamin Pasero 85d2077f19 smoke - quickopen => quickaccess 2020-03-26 12:28:49 +01:00
Dirk Baeumer b418b9cd59 Comment out debugger tests 2020-03-26 10:02:17 +01:00
Hyun Sick Moon 3b155031dc
fix typo (#93291) 2020-03-24 09:03:01 -07:00
Benjamin Pasero 21431f6117 quick access - cleanup API for quick input 2020-03-24 10:13:45 +01:00
Benjamin Pasero 4f0b2b0689 tests - fix smoketests for new quick open impl 2020-03-24 08:39:53 +01:00
Martin Aeschlimann bf6c93062b Rename CSS smoke test to language features: For #90538 2020-03-02 11:39:43 +01:00
Pine Wu a68bfa3846 Add back languages/css test. Fix #90538 2020-02-28 11:56:25 -08:00
Benjamin Pasero 0bab257fe5 smoke - remove firefox from docs 2020-02-27 14:22:23 +01:00
Johannes Rieken 2d313c9aef consolidate debug test instructions 2020-02-27 12:45:19 +01:00
Rob Lourens db380eaad0 Fix build 2020-02-26 17:29:55 -08:00
Pine Wu e63119f785 Fix #90538 2020-02-26 16:24:46 -08:00
Benjamin Pasero 65976ac711 Revert "docs for #91532"
This reverts commit ebcd432491.
2020-02-26 16:30:06 +01:00
Benjamin Pasero 29c2c6079e smoke - do not restore windows 2020-02-26 12:03:05 +01:00
Dirk Baeumer 2cb430b396 Fixes #91433: Smoke Test: Localization Test Failure 2020-02-26 11:55:17 +01:00
Joao Moreno f0066fe680
automation: refactor web tests not to use outPath 2020-02-26 11:55:48 +01:00
Benjamin Pasero ebcd432491 docs for #91532 2020-02-26 11:39:05 +01:00
Benjamin Pasero afcaaa6131 smoke - use tree kill also here 2020-02-26 09:04:03 +01:00
Daniel Imms 06f2731c7f Remove terminal smoke test
Fixes #90539
2020-02-14 07:24:44 -08:00
Benjamin Pasero a7ed9c9572
🆙 playwright@0.11.0 (#90663) 2020-02-14 09:56:08 +01:00
Benjamin Pasero f7884f5698 integration - mention how to debug 2020-02-13 15:32:02 +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 35379aba75 smoke - headless option is troublesome 2020-02-11 17:35:53 +01:00
Benjamin Pasero 06b06ca10a smoke - move quick open tests into search 2020-02-11 17:28:03 +01:00
Benjamin Pasero b7a29c77ef tests - document and enable debug mode for integration tests 2020-02-11 17:18:43 +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 d288521f32 update test readme 2020-02-07 16:49:49 +01:00
Benjamin Pasero 6a91ae6eb0 test - fix help output for integration too 2020-02-07 16:48:46 +01:00
Benjamin Pasero 3f4e6a4854 test - make integration tests arguments 2020-02-07 16:35:32 +01:00
Benjamin Pasero 5e0189c8bf tests - browser tests to go through new log service 2020-02-07 16:22:10 +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
Johannes Rieken 03fb0b117f support --run argument as before, #90063 2020-02-07 14:07:39 +01:00
Benjamin Pasero 4be3cc8846 test - convert web integration to TS 2020-02-07 12:41:12 +01:00
Alex Dima ca5144362b
Move coverage.js into test/unit 2020-02-07 12:37:26 +01:00
Alex Dima 97f826b007
Move assert.js into test/unit 2020-02-07 12:32:06 +01:00
Alex Dima 3ce3886428
Move css.mock to unit/node 2020-02-07 12:22:51 +01:00
Alex Dima 2e7c169024
Move more files to test/unit 2020-02-07 12:21:30 +01:00
Alex Dima 4afd61c29f
Replace usage of express 2020-02-07 12:15:14 +01:00
Alex Dima 1a86c1ec67
Modernize test/browser.js 2020-02-07 12:15:09 +01:00
Johannes Rieken 0332fbfc4b
Merge branch 'master' into joh/continous-browser-tests 2020-02-07 11:31:38 +01:00
Benjamin Pasero 085f0b09e5 tests - add wip integration test runner for browser 2020-02-07 11:00:41 +01:00
Johannes Rieken 562193e0d6
Merge branch 'master' into joh/continous-browser-tests 2020-02-07 10:30:35 +01:00
Alex Dima 5e8dabc1f4
Move test/all.js to test/unit/node/all.js 2020-02-07 10:20:08 +01:00
Benjamin Pasero e48debc94e tests - add a UI folder for manual UI tests 2020-02-07 10:17:49 +01:00
Benjamin Pasero a9c4a4397c tests - move readme around 2020-02-07 10:09:22 +01:00
Benjamin Pasero 0c94b3ade0 test - share playwright for tests 2020-02-07 10:07:21 +01:00
Johannes Rieken 8a1ca2b6c0 Merge branch 'master' into joh/continous-browser-tests 2020-02-07 10:02:38 +01:00
Johannes Rieken 0f60e831d6 fail when browser fails 2020-02-07 09:56:51 +01:00
Benjamin Pasero 310c969fce tests - run browser unit tests in default window 2020-02-07 09:53:24 +01:00
Benjamin Pasero 5393954877 tests - have a test/unit folder 2020-02-07 09:51:28 +01:00
Benjamin Pasero bb3edc40e6 smoke - exclude a few more tests for web 2020-02-07 07:10:59 +01:00
Johannes Rieken 21b671d921 browser-test: exit(1) when test failed 2020-02-06 16:39:45 +01:00
Johannes Rieken 93379d00b1 print manual debug instructions when test fail 2020-02-05 15:44:43 +01:00
Johannes Rieken f96a99a577 add "manual" test mode 2020-02-05 15:23:02 +01:00
Johannes Rieken d01c4cd10e remove unused file 2020-02-05 15:09:31 +01:00
Johannes Rieken 632939e159 update assert.js-copy 2020-02-05 12:10:02 +01:00
Johannes Rieken e584763f2a browser tests support reporter-options 2020-02-05 11:59:25 +01:00
Johannes Rieken 2ce6f5115e add --debug option to run not headless 2020-02-05 11:11:51 +01:00
Johannes Rieken 3b66dc7307 better glob to catch all tests for browser and common 2020-02-05 11:06:21 +01:00
Johannes Rieken 1355463c76 print browser when printing fails 2020-02-05 09:48:15 +01:00
Johannes Rieken 850206d0fb support --browser flag 2020-02-05 09:16:52 +01:00
Johannes Rieken ce1bb2220a improper deepStrictEqual implementation 2020-02-05 09:16:01 +01:00
Johannes Rieken 1908fdc68b
Merge branch 'master' into joh/browser-tests 2020-02-04 19:53:20 +01:00
Benjamin Pasero ec41f20c40
Web - run smoke tests using playwright (#89918)
* playwright - initial version

* browser - use existing page and not create new context

* macOS: document how to remove the security flag

* smoke test - allow to run against server build with --build option

* do not rely on args

* fix path for windows

* smoke test - smoke 💄 and -ci option
2020-02-04 17:23:27 +01:00
Joao Moreno 16c7551f36
move git smoke tests to integration tests 2020-02-04 17:06:49 +01:00
isidor 8f90e851c5 remode debug smoke tests 2020-02-04 16:14:02 +01:00
Johannes Rieken 890b357e94 run tests in parallel, tweak presentation 2020-02-04 15:33:57 +01:00
Johannes Rieken 874f759bbe better (disabled) one-by-one loading of files 2020-02-04 15:25:14 +01:00
Johannes Rieken b5252d32f7 use playwright for unit tests 2020-02-04 15:02:52 +01:00
Benjamin Pasero a15803b9e7 smoke test - add attribute for tabs to simplify lookup 2020-02-04 14:50:53 +01:00
Benjamin Pasero cfc452e466 smoketest - use element ID for status item selectors 2020-02-04 14:50:53 +01:00
Alex Ross 0b312b08f2 CSS smoketest fix for high DPI on Windows
@sandy081 and @joaomoreno
2020-02-03 12:50:27 +01:00
Sandeep Somavarapu 4fac3e22c5 remove the timeout 2020-02-03 11:49:10 +01:00
Daniel Imms 547cf4e81f
Run smoke tests against actual build (#83799)
* Run web against actual server

Part of #80308

* Fix strict null check errors

* Fix folder arg

* Disable unit tests and integration tests temporarily

* Allow running on node 12

* Fix smoke test condition

* Disable continue on error

* Add web to server dir

* fix smoke test to use build for web

* enable in product build

Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>
2020-02-03 11:26:55 +01:00
Benjamin Pasero d6eb50caa4
Smoke-Test: Hot-exit / dataloss tests broken (#89905)
* smoke test - carefuly select untitled content based on file name to find it properly

* Fileservice: mkdirp() logic is prone to errors from race conditions (fixes #89834)
2020-02-03 09:38:03 +01:00
Sandeep Somavarapu 39e290dbbc Fix #89796 2020-02-03 09:36:08 +01:00
Rob Lourens f550dcc7ba Fix search smoketest - use span for all searchview messages and fix selector
Fix #89795
2020-01-31 09:32:52 -08:00
Joao Moreno 9bec0160f6
fixes #86474 2020-01-23 11:41:00 +01:00
Alexandru Dima 4e5a05c3fd
Don't instrument any test code for coverage (#86608)
Don't instrument any test code for coverage
2020-01-14 11:10:51 +01:00
Alexandru Dima 31ef68ff7c
Adopt latest istanbul libraries 2020-01-14 11:09:29 +01:00
Charles Gagnon 34c591eeb3
Don't instrument any test code for coverage 2019-12-09 09:37:52 -08:00
isidor 0fae04b8a2 fixes #78384 2019-12-05 14:21:50 +01:00
Sandeep Somavarapu 121a3425a4
Merge branch 'master' into master 2019-11-27 22:16:40 +01:00
Joao Moreno 83b1a1c2ac
splitview: use TLayoutContext
gridview: propagate top, left in layout
2019-11-27 15:27:24 +01:00
ryenus d75f90976b fix typo: consecutive-word duplications
This fixes unintentional duplications of words, such as `the the`, and
`can can` etc. I also take the chance to make a few wording tweaks to
avoid suspicious duplications.
2019-11-27 11:07:06 +08:00
Johannes Rieken 266f78096e remove smoke test for find ref, rename, goto, and peek, #85377 2019-11-22 11:36:13 +01:00
Alex Ross 4235c7f076 Fix Go To Definition smoketest
Fixes #85276
2019-11-21 09:58:10 +01:00
Miguel Solorio bb4fefc959 Merge remote-tracking branch 'origin/master' into misolori/icon-font-breakpoints 2019-11-14 07:59:06 -08:00
Miguel Solorio a0316e3b30 Update breakpoint glyph name in automation test 2019-11-13 21:18:43 -08:00
Joao Moreno 48af7ba677
fixes #84455 2019-11-13 10:40:09 +01:00
Miguel Solorio 6b43b2cb5e Update breakpoints to codicons 2019-11-08 14:43:12 -08:00
Jason Ginchereau 5c2e24f6ad Remove extra step from readme 2019-11-06 16:26:55 -08:00
Jason Ginchereau 55e06a7080 Add prepare script to package.json 2019-11-06 16:26:55 -08:00
Jason Ginchereau dd90a90a60 Fix minor packaging issues in automation lib 2019-11-04 12:03:51 -08:00
Benjamin Pasero ea89eb903f fix #83805 2019-11-01 09:15:35 +01:00
Daniel Imms c8846de84a Fix debug smoke tests
Fixes #83801
2019-10-31 18:06:10 -07:00
Christof Marti a5837a8eb3 Update https-proxy-agent (#83647) 2019-10-30 10:43:23 +00:00
Benjamin Pasero ca22de4b17 debt - bump node.d.ts dependency in extensions to 12.x (part of #82514) 2019-10-28 08:11:47 +01:00
Miguel Solorio 11941aa090 Merge remote-tracking branch 'origin/master' into misolori/icon-font 2019-10-16 14:52:52 -07:00
Miguel Solorio 2205002a2c Fix icon ref in problems view automation tests
FYI @sandy081
2019-10-16 14:49:46 -07:00
Miguel Solorio 42d4a3b5c8 Replace 'Octicon' refs with 'Codicon' 2019-10-16 11:38:15 -07: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
João Moreno 229df29bc9
Update README.md 2019-10-03 09:03:13 +02:00
Joao Moreno 925f3ab1a0 fixes #81871 2019-10-03 08:51:05 +02:00
Daniel Imms f137abf254 Update distro, fix web smoke test folder 2019-10-02 16:14:14 -07:00
Daniel Imms 615e262789 Fix git smoke tests 2019-10-02 14:46:35 -07:00
Daniel Imms e28affc16b Fix preferences smoke tests 2019-10-02 14:07:08 -07:00
Daniel Imms e568cf539c Fix search smoke tests 2019-10-02 14:03:36 -07:00
Martin Aeschlimann 74ac7b8520 smoke: update mocha 2019-09-30 22:58:57 +02:00
Benjamin Pasero da76f05e7a electron - revert to Electron 4 2019-09-30 14:55:17 +02:00
Dmitry Gozman 367a5a0c59 Improve LinkDetector
- recognizes web urls;
- checks that file path exists;
- supports relative to workspace root paths (./foo);
- supports relative to home dir paths (~/foo);
- optional line/column;
- smoke test.
2019-09-24 13:19:52 -07:00
Miguel Solorio 6856708e74 Adopt icon font in search viewlet 2019-09-23 11:02:02 -07:00
Miguel Solorio 663b07c8e9 Update icon ref to codicon 2019-09-16 19:38:39 -07:00
Robo 029e9929ae chore: Update to Electron 6.x (#75802) 2019-09-13 14:53:56 +02:00
João Moreno 4f39995139
Introduce CompressibleObjectTree (#77876)
Introduce `CompressibleObjectTree`
2019-09-13 09:04:20 +02:00
Daniel Imms a5b58dc5b8 Link directly to automation from smoke 2019-09-12 21:32:41 -07:00
Daniel Imms c3459acf6d Remove vscode-automation from pckage.json 2019-09-11 14:44:35 -07:00
Daniel Imms a0fc3ba877 Relink automation dep before compile
Just always relink to avoid issues with the build cache not restoring
links.

Fixes #80729
2019-09-11 11:20:11 -07:00
Joao Moreno 2353ddebb3 Merge remote-tracking branch 'origin/master' into joao/compressed-trees 2019-09-11 09:18:11 +02:00
Daniel Imms 36410ba33e Merge remote-tracking branch 'origin/master' into pr/jasongin/80293 2019-09-10 12:01:40 -07:00
Joao Moreno 4cad4dff1f Merge branch 'master' into joao/compressed-trees 2019-09-10 15:36:01 +02:00
Dmitry Gozman 3bcaff85f0 Separate REPL evaluation from it's result; fixes #79196
REPL now has two elements: one for the evaluation text added immediately (ReplEvaluationInput),
and another for the evaluation result once available (ReplEvaluationResult).
2019-09-09 10:53:46 -07:00
Jason Ginchereau 3d08742789 Add automation to root postinstall script 2019-09-09 09:30:34 -07:00
Joao Moreno 7434a775a6 fix manual tree tests 2019-09-09 15:09:47 +02:00
Daniel Imms 883bf518a9 Use --preserveWatchOutput in tsc watch, update yarn deps 2019-09-06 09:10:53 -07:00
Jason Ginchereau 8b8ef3e2ee Fix some package dependencies 2019-09-05 09:30:38 -07:00
Jason Ginchereau 4f2c387de1 Refactor smoke UI automation into separate package 2019-09-05 09:16:29 -07:00
Rob Lourens 7edc8f786e Fix #80304 - wait for remote window to actually connect before running tests 2019-09-04 17:29:07 -07:00
Rob Lourens 58c740aa48 Remove workaround for #74875 2019-09-04 14:52:53 -07:00
Daniel Imms 052ffefc24 Move puppeteer dep into smoke test project
Fixes #80329
2019-09-04 10:32:32 -07:00
Benjamin Pasero eec5af06b7 debt - bail out on some window methods in tests 2019-09-02 09:42:37 +02:00