Commit graph

1573 commits

Author SHA1 Message Date
Matt Bierner f945df1b2d
Enable strict mode and bump target for test/smoke (#165296) 2022-11-02 19:23:58 -07:00
Matt Bierner 4efa993b13
Bump targets for test/automation and test/integration (#165298)
Also enables strict mode for test/integration since it only had strict null checks previously
2022-11-02 17:10:12 -07:00
Matt Bierner 3a8b7e4276
Highlight label should not create extra span nodes (#164657)
* Highlight label should not create extra empty dom nodes

I noticed that the `HighlightedLabel` class creates extra `span` elements for text ranges. These should not be needed. Using text children directly should be faster for creation and also reduce the number of nodes in the document

I also related the conditional spread with a longer version that uses a simple call to push. This is worth doing since `HighlightedLabel` is so widely used in the editor

* Update tests

* Update smoke test selector

* Update css
2022-11-01 08:00:38 -07:00
João Moreno a2e787228f
smoketests should not fail by bumping version in package.json (#165132)
related to #165118
2022-11-01 07:12:43 -07:00
Matt Bierner d1c401cbde
Pick up latest TS for building VS Code (#165104)
* Pick up latest TS for building VS Code

* Pick up latest node typings

* Bump node types
2022-11-01 02:43:09 -07:00
Matt Bierner 99e126b0b2
Pick up latest TS version for building VS Code (#162786)
Pick up latest TS for building VS Code
2022-10-06 12:08:45 -07:00
Andrea Mah f8aa3a7c04
improve search smoke test (#161652)
* improve search smoke test
* prevent text to show when clearing results
2022-10-05 08:52:39 -07:00
Johannes 15b8f56574
fix rendering/UI for ./scripts/test.sh --dev 2022-10-04 14:51:58 +02:00
Robo 94ec9025ea
build: use swiftshader on macOS CI (#162568) 2022-10-03 14:35:58 +02:00
Rob Lourens 39d13fed77
Disable notebook smoke tests again (#160942)
#140575
2022-09-14 15:09:05 -07: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
Alexandru Dima a68f9da5fe
There is no need to pass in nodeMain when passing in baseUrl (#160893) 2022-09-14 13:04:14 +02:00
Benjamin Pasero c8dd96f73b
smoke - fix log and retry exitApplication (#160244) 2022-09-07 07:17:04 +02:00
Daniel Imms d0186508a1
Re-enable terminal profiles tests
It passed a loop of 50x tests so it looks like the flakiness is gone

Fixes #156961
2022-09-06 08:37:47 -07:00
Matt Bierner 5e92794be6
Re-enable running our eslint rules using ts-node (#159495)
Resubmission of #157532 with the following changes:

- Use `eslint-plugin-local` instead of `yarn` link to run our plugins
- Move our plugins to a top level `.eslintplugin` dir (as required by `eslint-plugin-local`)
- Update all names to `local/`
2022-08-30 08:40:04 +02:00
Matt Bierner 9e5248072a
Fix ts-node for eslint (#159483)
Bumps the cachesalt to make sure ts-node is installed
2022-08-29 20:51:12 +02:00
Matt Bierner 5b21c7f28b
Run our custom eslint rules using ts-node (#157532)
* Run our custom eslint rules using ts-node

Use `ts-node` to run our custom eslint rules.  This lets us delete the pre-compiled js. It also means you can don't have to compile the rules while editing them

As part of this change, I've also switched us to using an eslint plugin instead of a rulesDir. This is now the preferred way to ship custom rules

* Fix two more disables

* Move ts-node to project root

* Enable transpileOnly
2022-08-29 09:39:09 -07:00
Matt Bierner 07025f0b0d
Remove notebook editor edit api (#158988)
Fixes #149181
2022-08-29 09:34:57 -07:00
Johannes Rieken 1857d6c076
for test runinng, use --dev instead of --debug (#159040)
fixes https://github.com/microsoft/vscode/issues/159011
2022-08-24 07:54:39 -04:00
Benjamin Pasero 9d0c0b769e
Smoke test driver.exitApplication sometimes does not work (#157979) (#158479) 2022-08-18 09:03:44 -04:00
Benjamin Pasero f8ad3a16bd
smoke tests mitigation for issue 157979 (#157980) 2022-08-12 11:44:57 +02:00
Matt Bierner abc84e0735
Bump webview fallback commit (#157959)
For #157222
2022-08-11 16:40:05 -07:00
Robo 5d796f32ea
smoke(electron): wait for page navigation to commit before using driver (#157106)
* smoke(electron): wait for page navigation to commit before using driver

* chore: only use window event in Electron

* chore: implement load event for web

* 💄

Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>
2022-08-09 09:31:12 +02:00
Connor Peet 39e77d74ca
fix: parse errors in coverage command (#156837)
Fixes #155615
2022-08-05 18:27:40 +02:00
Daniel Imms 740ba5c3d4
Fix tests after codicon changes 2022-08-04 09:49:21 -07:00
Benjamin Pasero 0a7226e9ad
Revert "Increase timeout of web unit tests" (#157065)
Revert "Increase timeout of web unit tests (#156894)"

This reverts commit f86beb18e8.
2022-08-04 11:52:56 +02:00
Benjamin Pasero f86beb18e8
Increase timeout of web unit tests (#156894)
* Windows: some Firefox web tests are timing out randomly (#155760)

See if this is a fundamental issue or really Firefox is slower.

* mention issue
2022-08-03 06:55:58 +02:00
Megan Rogge ba30d11869
skip flaky tests to investigate (#156906) 2022-08-02 19:38:05 +02:00
Benjamin Pasero 86e7410278
unit tests - help diagnose test failure reason for web tests (#155967) 2022-07-22 18:50:34 +02:00
Daniel Imms d2f3f7555b
Allow continuing on when term kill all doesn't succeed
Fixes #155817
2022-07-21 16:32:25 -07:00
Benjamin Pasero 5ae2a59a6d
smoke test - only warn when treekill fails (#155577) 2022-07-19 14:19:02 +02:00
Johannes Rieken 6f6e26fcdf
fix assumptions about action-bar title structure (#155292) 2022-07-15 10:23:03 +00:00
Megan Rogge ff31a8c6fd
disable decorations (#154430) 2022-07-13 10:17:01 -07:00
Daniel Imms 3b9cd9812a
Re-enable profiles smoke tests
Fixes #154811
2022-07-12 05:35:36 -07:00
Daniel Imms b358062d36
Temporarily disable some profile tests
Part of #154811
2022-07-11 12:32:14 -07:00
Megan Rogge 1076bf59dd
add task quick pick smoke tests (#154532) 2022-07-11 11:38:08 -07:00
Tyler James Leonhardt 3b3469da06
reenable localization smoke tests (#153397) 2022-06-27 15:59:29 -07:00
dependabot[bot] c52dd348a7
Bump shell-quote from 1.7.2 to 1.7.3 in /test/smoke (#152842)
Bumps [shell-quote](https://github.com/substack/node-shell-quote) from 1.7.2 to 1.7.3.
- [Release notes](https://github.com/substack/node-shell-quote/releases)
- [Changelog](https://github.com/substack/node-shell-quote/blob/master/CHANGELOG.md)
- [Commits](https://github.com/substack/node-shell-quote/compare/v1.7.2...1.7.3)

---
updated-dependencies:
- dependency-name: shell-quote
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: João Moreno <joao.moreno@microsoft.com>
2022-06-26 19:27:19 +00:00
Daniel Imms 9bdcdadfa5
Clean settings between suites 2022-06-21 10:38:19 -07:00
Daniel Imms bcb2c6f8ee
Create a regular profile to work better on CI 2022-06-21 07:17:14 -07:00
Daniel Imms cb0bbcc8c4
Document and remove unneeded command 2022-06-21 06:34:15 -07:00
Daniel Imms d0ca1d2110
Always create DecorationAddon, synthetic data tests 2022-06-20 10:30:41 -07:00
Daniel Imms 8575a26b4e
Merge pull request #152490 from microsoft/tyriar/152451_2
Use new method for settings in terminal split cwd smoke test
2022-06-20 07:14:14 -07:00
Alexandru Dima 5dd9d5d491
Fix port argument (#152541) (#152617) 2022-06-20 10:32:27 +02:00
Daniel Imms 8e29aa44f7
Use new method for settings in terminal split cwd smoke test
I doubt this will fix the flake, but it's the right way to do things now.

Part of #152451
2022-06-17 08:44:31 -07:00
Daniel Imms 1ca9725a3b
Disable terminal smoke tests on desktop/remote
Fixes #152451
2022-06-17 08:18:49 -07:00
Robo dd0d79406e
fix: OOM crash with linux smoke tests (#152440) 2022-06-17 03:04:20 -07:00
Daniel Imms 09d0431d20
Merge pull request #152278 from microsoft/tyriar/150478_4
Enable shell integration smoke tests (Linux/macOS) and terminal smoke tests on desktop
2022-06-16 10:03:14 -07:00
Alexandru Dima 3530e85ba8
Properly return a non 0 exit code in case a test times out and fix tests which used to time out (#152329) 2022-06-16 13:02:37 +00:00
Daniel Imms 463a1e5765
Run shell integration tests a single time and revert timeout 2022-06-15 21:01:26 -07:00