Commit Graph

782 Commits

Author SHA1 Message Date
Megan Rogge
f66bc86da8 add terminal editor and tab smoke tests (#137393)
* Add a bunch of tests

* tweak tests

* add profile tests, now breaking (no profiles showing up)

* uncomment tests

* update expected

* fix test

* merge

* all passing

* bunch of improvements

* improve readability

* all should be passing and cleaned up

* all passing

* fix #137243 and clean-up

* remove .only

* fix #137247

* get rid of enum

* see if this fixes timing issue

* use keybinding for show terminal instead

* remove delay, implement better accept function

* get rid of unneeded index

* try something else

* wait for empty editor to be active

* remove .only

* decrease redundancy in names

* re-add xterm selector

* try something else

* undo change that broke things worse

* add terminal-tabs test

* all tabs tests passing locally

* kill all

* await before running each

* fix tests

* remove .only

* try waiting for focused xterm

* remove .only

* clean up

* 🧹

* fix profiles tests by using this.app.props

* revert to use default shell

* re-add conditional

* Get tests passing on WebKit

On WebKit the smoke tests were failing because the quick pick was
triggering a focus event on the terminal after the blur event had
already happened, this caused the view service to think the terminal
was still focused when it wasn't. The fix was to reset the context key
also in IViewsService.closeView.

* Safari -> WebKit

* Prefer arrow functions

* remove beforeEach timeout

* add timeouts to contributed profile tests

* add terminal editor tests, fix #137377

* add a bunch of tests

* refactor

* get rid of profile specific command

* more polish

* refactor getTabs -> assertTerminalGroups

* fix failing test

* more polish

* remove .only

* add assertSingleTab

* remove unused import

* fix error

* fix more failures

* more changes

* fix almost all except for plus button

* fix failing plus button test

* all passing

* modify error that gets thrown

* modify error message again

* remove unused wildcard/ ANY_NAME, fix icon code

* fix icon code

* large refactor, improvements

* finish polish

* 1 failing

* get test to pass

Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com>
2021-11-18 15:11:40 -08:00
Megan Rogge
00fa317c43 Add terminal profile smoke tests (#137079) 2021-11-17 14:00:01 -08:00
Benjamin Pasero
bacf6ed2c1 smoke - properly create screenshots and stop instances (#137220) 2021-11-15 12:15:25 +01:00
Daniel Imms
3c9b18e135 Remove test only 2021-11-12 06:16:17 -08:00
Daniel Imms
634dae736e Merge remote-tracking branch 'origin/main' into tyriar/smoke_test_improvements 2021-11-12 05:45:20 -08:00
Daniel Imms
e6caf0da49 Pass terminal profiles test 2021-11-10 12:27:38 -08:00
Daniel Imms
5bfaf29f2b Fix layering problem 2021-11-10 08:38:02 -08: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
Daniel Imms
bd98431baf Write basic terminal default profile test
Co-authored-by: Megan Rogge <merogge@microsoft.com>
2021-11-09 10:10:54 -08:00
Daniel Imms
28da3051b3 Tidy up smoke test imports 2021-11-09 08:26:39 -08:00
Daniel Imms
281bacb074 Stub out some terminal smoke tests
Part of #136064
2021-11-09 08:25:15 -08:00
Daniel Imms
1cbf69d996 Document --headless in smoke tests 2021-11-09 08:24:38 -08:00
João Moreno
1788b8afd8 chore: 🔧 clean smoketest dependencies 2021-11-08 14:58:17 +01:00
Benjamin Pasero
f9e8dc2095 🆙 playwright 2021-11-04 09:27:22 +01:00
Benjamin Pasero
7ca8b0f613 Statusbar - checks if 'Go to Line' works if called from the status bar: (fix #135962) 2021-10-28 07:22:45 +02:00
Rob Lourens
83fec0220c Add retry logic for flaky git operations
Fix #132218
2021-10-12 17:08:20 -07:00
Benjamin Pasero
769d5fb521 smoke - disable search smoke tests on windows (#132218) 2021-09-06 18:07:58 +02:00
Sandeep Somavarapu
77b1fb79f5 Fix #132233 2021-09-06 14:32:19 +02:00
Johannes Rieken
70e30bc64e disable flaky/failing smoketest, https://github.com/microsoft/vscode/issues/132233 2021-09-03 11:38:14 +02:00
Benjamin Pasero
a3acef919f smoke - ignore any failure from capturing screenshot 2021-09-03 09:31:01 +02:00
Raymond Zhao
86d81f35fe Clarify running remote tests 2021-09-01 19:17:58 -07:00
Benjamin Pasero
cdde5bedbf web tests - mention how to enable playwright logging 2021-08-26 10:34:17 +02:00
Benjamin Pasero
90443f7a8a tests - try to make some tests more robust 2021-08-12 07:48:02 +02:00
dependabot[bot]
0344ecd462 Bump path-parse from 1.0.6 to 1.0.7 in /test/smoke (#130540) 2021-08-11 08:21:05 -07:00
Benjamin Pasero
6957e52e4b smoke - always create test folder 2021-08-05 10:31:07 +02:00
Benjamin Pasero
b96644b15f smoke tests - drop 'tmp' and try to deal with tmp path ourself (#130102) 2021-08-05 10:04:00 +02:00
Benjamin Pasero
70e6d3f85d smoke tests - try to fix data migration test (#129279) 2021-08-05 07:56:55 +02:00
Benjamin Pasero
bf4a4a6b05 smoke tests - retry data migration tests on windows (#129279) 2021-08-04 18:10:00 +02:00
Benjamin Pasero
2f58131321 smoke tests - fix compile issue 2021-08-04 15:46:10 +02:00
Benjamin Pasero
c28ea165cd smoke tests - try other ways of ensuring the editor is open for data migration (#129279) 2021-08-04 15:32:21 +02:00
Raymond Zhao
d163eabed0 Add troubleshooting step for tmp module 2021-07-26 14:39:44 -07:00
João Moreno
132e3783d0 smoke: fix vscode-test cache location 2021-07-16 15:23:48 +02:00
João Moreno
a9e4cb0874 oops 2021-07-16 12:50:07 +02:00
João Moreno
3c4fdb58a1 fix screenshots in smoketests
related to #122685
2021-07-16 11:58:52 +02:00
Rob Lourens
50b3811fdc Revert "Fix running smoketest multiple times"
See https://github.com/microsoft/vscode/pull/124666/files#r662070269

This reverts commit 4d694d7dc8.
2021-07-14 21:32:51 -07:00
Rob Lourens
4d694d7dc8 Fix running smoketest multiple times 2021-07-14 21:21:27 -07:00
Robo
9520f0a515 chore: update to electron 13 (#124666)
* chore: bump electron@13.0.1

* chore: update cache for native modules

* chore: bump electron@13.1.2

* chore: bump electron@13.1.4

* chore: fix user data dir length for validateIPCHandleLength check

* chore: always disable uploadToServer on OSS

* chore: use process.contextIsolated property

* chore: bump electron@13.1.6

* fix: getUserDataPath helper
2021-07-13 20:01:10 -07:00
João Moreno
05fd05dc00 remove --stable-build 2021-07-12 05:56:27 -07:00
Benjamin Pasero
d85bc647ef smoke tests - automatically test against stable build (#127799)
* smoke tests - automatically test against stable build

* fix path on Linux/Windows

* 💄

* retry migration tests

* smoke: always download latest previous stable

* hm

Co-authored-by: João Moreno <joao.moreno@microsoft.com>
2021-07-12 05:44:50 -07:00
João Moreno
d737dc4db3 smoke: simplify localization test 2021-07-12 12:20:34 +02:00
João Moreno
a28d028d2d Enable automated smoketests on Windows (#128224) 2021-07-08 19:10:25 +02:00
Dirk Baeumer
c9aea49a87 Re-enable enhanced localization tests 2021-07-07 10:49:52 +02:00
João Moreno
2c7fc24d63 smoke: ctrl-c should kill all processes 2021-07-06 20:30:20 +02:00
Dirk Baeumer
1a3fd783fe Disable locale info check. 2021-07-06 15:38:21 +02:00
Dirk Baeumer
ae52915f0c Improve localization tests 2021-07-06 13:15:43 +02:00
Benjamin Pasero
7a0714a6e5 smoke - harden data migration test 2021-07-06 12:10:08 +02:00
Sandeep Somavarapu
062e6519f8 use vscode smoke test check extension 2021-07-02 10:46:31 +02:00
Dirk Baeumer
a63e0a0a21 Reenable German translation test based on new API 2021-06-29 09:23:52 +02:00
Dirk Baeumer
9cfc4bcb5c Improve wording for failing test case 2021-06-22 13:30:29 +02:00
Dirk Baeumer
1f2a6cc331 Improve localization smoke test 2021-06-21 13:54:16 +02:00