Commit graph

110 commits

Author SHA1 Message Date
Benjamin Pasero 03ca1e0d40
tests - align tests on all platforms (#161696)
* web - run ipynb tests on windows too

* some cleanup

* run all tests

* more cleanup
2022-09-26 09:16:42 +02:00
Rob Lourens c717237d7c
Reenable a couple notebook smoketests (#159521)
* Remove vscode-notebook-tests in favor of an .ipynb in vscode-smoketest-express

* Update build folder

* Add build task to correct platform

* Build for smoke tests on other platforms

* Fix repo url and remove comment

* Just -media?

* Update darwin/win32 as well
2022-09-14 13:22:16 -07:00
Matt Bierner bbe7b54cf4
Remove custom editor tests (#152777)
These tests are not actively being run or maintained. Removing them for now
2022-06-21 15:37:19 -04:00
Martin Aeschlimann c46555d9c8
Tests for configuration editing completion providers (#151953)
tests for configuration editing completion providers
2022-06-14 09:08:27 +02:00
Ladislau Szomoru d1f882f635
Engineering - Exploration to run tests in parallel (#149698) 2022-05-18 10:37:44 +02:00
Sandeep Somavarapu 05b9eddd4b
- override extension type of extensions under dev from existing extensions
- validate after updating the type
2022-05-02 14:05:30 +02:00
deepak1556 0992d85866 ci: fix linux system services
Refs https://github.com/microsoft/vscode/issues/142572
2022-02-17 02:16:46 +09:00
Benjamin Pasero b344f43498
Revert "linux: disable crash reporting in CI (#142572)"
This reverts commit 7dbd7367dc.
2022-02-15 16:27:08 +01:00
Benjamin Pasero 7dbd7367dc
linux: disable crash reporting in CI (#142572) 2022-02-15 08:26:18 +01:00
Robo 01df559c18
chore: update to electron 16 (#137241)
* chore: bump electron@15.3.0

* chore: bump node@16.x

* chore: enable render process reuse

* Revert "watcher - use `type` property for crash reporter location"

This reverts commit bfa488dd8f.

* Revert "watcher - enable crash reports on linux (#136264)"

This reverts commit af261488f8.

* chore: enable crashpad on linux

* chore: bump electron@15.3.1

* chore: update api changes

* chore: bump @vscode/sqlite3@5.0.3

* spec: skip non-context aware module unittests

* chore: fix perf hook integration with node environment

* fix: adopt fs api changes

* chore: fix integration tests

* chore: bump electron@15.3.2

* chore: bump electron@16.0.0

* temp(macOS): kill test instances in OSS

* Revert "temp(macOS): kill test instances in OSS"

This reverts commit b0d796c8d64227a5ec012c060bbbee7d9da27568.

* chore: update chromium version for clang downloader

* some 💄 changes

* align with changes

* adopt more fs.rm

* 💄

* chore: bump @vscode/sqlite3@5.0.4

* fix layers check to account for duplicated types from node.js

* update todo for type casts

* smoke - fix compile issue

* chore: update module cache

* watcher - fix unhandled rejection (fix #137416)

* ci: update node version

* enable stack dumping

* update electron types to 16.x

* chore: bump @vscode/sqlite3@5.0.5

Refs https://github.com/microsoft/vscode/issues/137496

* fix layer issue

* add `AbortSignal` to core types

* chore: update linux compile flags

Refs 797723ec83

* ci: fix linux build

* ci: update github ci cache

* ci: fix remote build in github ci

* ci: better fix for remote build

* chore: bump azure cache

* chore: fix merge conflict

* :chore: update to electron@16.0.2

* chore: bump @vscode/sqlite3@5.0.7

* ci: update to gcc-4.9 for remote

Refs https://github.com/microsoft/vscode/issues/137659

* ci: switch to buster for linux arm

Refs https://github.com/microsoft/vscode/issues/137927

* ci: fix build on linux arm64

* ci: fix arm client compiler toolchain

Refs #137927

* chore: bump electron@16.0.3

* ci: fix compile flags for the c toolchain

* chore: bump electron@16.0.4

* Add experimental dark mode flag (#139109)

* Add experimental dark mode flag

* Apply PR feedback

* chore: bump electron@16.0.6

* chore: bump electron@16.0.7

Fixes https://github.com/microsoft/vscode/issues/138792
Fixes https://github.com/microsoft/vscode/issues/139300

* chore: experimental highlight API

* smoke - fix compile issue

* FIXME: custom ELECTRON_RUN_AS_NODE with node worker

* Revert "chore: bump electron@16.0.7"

This reverts commit 5fd01cf37c.

* Revert "Revert "chore: bump electron@16.0.7""

This reverts commit a7f1b73951.

* chore: fix github linux workflow

* chore: address review feedback

* chore: bump electron@16.0.8

* ci: revert to stretch distro for linux arm

Refs https://github.com/microsoft/vscode/issues/137927

* ci: force build

* chore: update yarn.lock

* address feedback

* Revert "FIXME: custom ELECTRON_RUN_AS_NODE with node worker"

This reverts commit 7b48fa3732.

* ci: fix remote folder build

* chore: fix github linux ci

* 🆙 `versionSpec`

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
Co-authored-by: Raymond Zhao <raymondzhao@microsoft.com>
2022-02-08 20:09:00 +01:00
Benjamin Pasero c64876aff9
💄 test scripts (#141791)
* try it

* log window ready states as info

* 💄

* compile more

* better format

* fix

* are you serious?

* bumpb

* .

* .
2022-01-31 07:28:38 +01:00
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
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
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
Ladislau Szomoru b0509196f6
Disable workspace trust during tests 2021-06-03 10:21:19 +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
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
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 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
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
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
Ladislau Szomoru bd364ea311
Run commosJS integration tests consistently (#104914) 2020-08-18 12:04:38 +02: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 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
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
Benjamin Pasero d41ca1ce5f tests - also use --no-cached-data for normal integration tests 2020-06-09 10:29:01 +02:00
Benjamin Pasero 618e9e98c5 tests - use rm -rf for deleting user data dir 2020-06-01 13:41:24 +02:00
Benjamin Pasero 5fd0d725bc diag - publish crashes from builds as artefact 2020-05-07 08:26:12 +02:00
Benjamin Pasero 6a8b201c8a smoke - restore skip-release-notes CLI arg (#96459) 2020-04-29 12:40:04 +02:00