Benjamin Pasero
424388032a
tests - increase timeout when running in CI ( #182288 )
2023-05-12 13:02:15 +02:00
Benjamin Pasero
4c45cff558
Data loss smoke test failures ( fix #181952 ) ( #182059 )
2023-05-10 14:23:12 +00:00
Benjamin Pasero
3f7bc08865
tests - do not break codeAutomationExit
API (refs microsoft/vscode-test-web#82) ( #181682 )
2023-05-08 12:36:55 +02:00
Benjamin Pasero
1894181c08
logs - make sure to attach all logs in browser tests ( #181578 )
...
* logs - make sure to attach all logs in browser tests
* separate server logs into `server` folder
2023-05-05 07:02:40 +02:00
Benjamin Pasero
c4a46ef344
Expose client (browser) logs for integration tests running in browser ( #180102 ) ( #181513 )
2023-05-04 15:28:25 +02:00
Benjamin Pasero
5eba2f631f
Expose client (browser) logs for smoke tests running in browser ( fix #180102 ) ( #181491 )
2023-05-04 12:05:03 +02:00
Tyler James Leonhardt
9af6054416
Hide details if there are none ( #181384 )
...
* try this again
* use display to follow separator and make smoke tests only grab label not description or detail
2023-05-03 09:34:14 +02:00
Robo
e5f61433b5
chore: update to Electron 22 ( #177600 )
...
* Revert "chore: revert to Electron 19 (#175851 )"
This reverts commit 3a11b47eee
.
* chore: bump electron@22.3.3
* build: use custom version for V8 sandbox
* chore: update electron@22.4.1
* chore: enable forceAllocationsToV8Sandbox for extension host
* chore: bump electron@22.4.2
* chore: bump electron@22.4.3
* sandbox - cleanup from electron 22 update (#178919 )
* Revert "chore: revert to Electron 19 (#175851 )"
This reverts commit 3a11b47eee
.
* chore: bump electron@22.3.3
* build: use custom version for V8 sandbox
* chore: update electron@22.4.1
* chore: enable forceAllocationsToV8Sandbox for extension host
* chore: bump electron@22.4.2
* chore: bump electron@22.4.3
* temp: update distro
* sandbox - cleanup from electron 22 update
* missing comile
* more changes
* fix build
* restore
* 💄
* compile
---------
Co-authored-by: deepak1556 <hop2deep@gmail.com>
---------
Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2023-04-03 09:09:31 +02:00
Benjamin Pasero
b0b69338e8
debt - further reduce electron-browser
layer ( #178504 )
...
* debt - move more tests out of `electron-browser`
* move more tests
* move preload script as well
* fix
2023-03-28 10:35:58 -07:00
Benjamin Pasero
bc9b50e2d7
smoke - fix timeouts waiting for window ( #177984 )
2023-03-22 10:15:52 +01:00
Tyler James Leonhardt
378b0d711f
Implement titlebar logic using a new NLS property ( #177426 )
...
* Revert "Have English language return default result (#175157 )"
This reverts commit 3c9f409888
.
* Revert "Fix locale and language handling (#174779 )"
This reverts commit 4e32196835
.
* Revert "Add en as fallback osLocale (#175039 )"
This reverts commit 7b6b6869e8
.
* Revert "Ensuring locale is set to the OS locale and language is set to the Application Language (#174733 )"
This reverts commit ecf479e662
.
* Implement titlebar correctly using platformLocale
2023-03-17 09:32:40 +01:00
Benjamin Pasero
2c3a648d88
smoke - remove timeout
from launches ( #177204 )
2023-03-15 13:35:17 +01:00
Benjamin Pasero
8bd4a421c0
smoke - fix electron window timeout ( #176012 )
2023-03-03 08:28:18 +01:00
Benjamin Pasero
6dfe534cca
smoke - bring back better solution for waiting that target has loaded ( #175415 )
2023-02-25 17:41:18 +01:00
Benjamin Pasero
aa07f07339
smoke - update didFinishLoad
solution ( #175409 )
2023-02-24 21:17:19 -08:00
Benjamin Pasero
def1c0dc47
smoke test - try to unblock CI ( #175382 )
...
* smoke test - try to fix runs
* comment
2023-02-24 21:35:41 +01:00
Raymond Zhao
7b6b6869e8
Add en as fallback osLocale ( #175039 )
2023-02-21 17:26:37 -08:00
Tyler James Leonhardt
4e32196835
Fix locale and language handling ( #174779 )
...
* Use language to get config and fix smoke test
* better check
* not
* fix a lot of mistakes
* skip test on linux
2023-02-19 08:17:04 +01:00
Martin Aeschlimann
dc619de8d9
Icons in problems view show black when not focused ( #174487 )
...
* Icons in problems view show black when not focused
* update smoke test
2023-02-15 22:34:14 +01:00
Rob Lourens
be54d2be91
Check notebook URIs in BulkCellEdits ( #169669 )
...
* Revert "Disallow cell URIs with NotebookEdit"
This reverts commit d7576eea81
.
* Check notebook URIs in BulkCellEdits
Fix #146690
2023-01-07 17:35:25 -08:00
Benjamin Pasero
689624e401
tests - fix web integration tests to fail creating a page ( #170613 )
2023-01-05 02:54:56 -08:00
Alexandru Dima
06b97f6be7
Add more logging and perf markers around resolving the connection token and the socket factory ( #170490 )
...
* Add more logging and perf markers around resolving the connection token and the socket factory
* set `exposeFunction` earlier
* bla windows
* also expose function for unit tests beofre opening
Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2023-01-05 10:17:19 +01:00
Matt Bierner
57dd298b47
Add typings for test runner scripts ( #169196 )
2022-12-15 02:19:24 +01:00
Connor Peet
812ef50afe
smoke: adopt new vscode test version ( #168373 )
...
Has timeout logic that fixes #166092
2022-12-08 01:14:41 +01:00
Connor Peet
0899758dae
ipc: use vql for uint types ( #167407 )
...
* ipc: use vql for uint types
On the plane I was reverse-engineering ipc.ts to implement it in Rust
and see if we could have a "service mode" for the CLI that we could
interact with like any other vscode process.
In doing so, I noticed that numbers in the protocol--which are used at
least twice in the message header and ID--were encoded as JSON. I was
curious what benefits we'd get from encoding them as variable-length
integers instead.
It makes the message shorter, as expected. Encode/decode time are very,
very slightly lower. I'm not sure it's worth the extra complexity, but
I have included it here for your consideration.
* fixup tests
2022-12-02 15:54:36 -08:00
Ladislau Szomoru
96d05578ac
Test - update minimatch ( #167101 )
2022-11-23 21:33:27 +00:00
Johannes
d555777b1a
simplify _VSCODE_NODE_MODULES
util
2022-11-18 09:42:32 +01:00
Johannes
824c70b275
fix node tests
2022-11-18 09:42:15 +01:00
Johannes
8dd8d214d8
don't use __$__nodeRequire
to fetch product configuration
2022-11-18 09:41:51 +01:00
Johannes
2d6ad4be88
* add global for node_modules access
...
* remove most usages of require.__$__nodeRequire
* stop using require.nodeRequire
2022-11-18 09:41:43 +01:00
Raymond Zhao
9feaed8f51
Revert "joh/representative canidae" ( #166641 )
2022-11-17 13:53:17 -08:00
Johannes
6dd2726c73
simplify _VSCODE_NODE_MODULES
util
2022-11-17 17:58:51 +01:00
Johannes
1a0223da3f
fix node tests
2022-11-17 17:19:29 +01:00
Johannes
93c3f3202b
don't use __$__nodeRequire
to fetch product configuration
2022-11-17 15:41:23 +01:00
Johannes
0824db3bad
* add global for node_modules access
...
* remove most usages of require.__$__nodeRequire
* stop using require.nodeRequire
2022-11-17 12:09:14 +01:00
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