Commit Graph
56 Commits
Author SHA1 Message Date
Benjamin PaseroandGitHub aa07f07339 smoke - update didFinishLoad solution (#175409) 2023-02-24 21:17:19 -08:00
Benjamin PaseroandGitHub def1c0dc47 smoke test - try to unblock CI (#175382)
* smoke test - try to fix runs

* comment
2023-02-24 21:35:41 +01:00
Benjamin PaseroandGitHub c8dd96f73b smoke - fix log and retry exitApplication (#160244) 2022-09-07 07:17:04 +02:00
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
Ladislau SzomoruandGitHub 2a9f19d36f Engineering - create pull request pipeline (#149171) 2022-05-11 03:08:54 -07:00
Daniel Imms a5f0a29527 Fix, re-enable or disable skipped terminal smoke tests
Fixes #146700
2022-05-06 08:11:50 -07:00
Benjamin Pasero fb8dc11d58 Failed IPC communication with playwright smoke tests from preload script (for #146785) 2022-04-21 18:58:44 +02:00
Benjamin Pasero 06e26c7a57 Do not attempt to reopen files that lead to a crash in previous session (fix #114844) 2022-04-19 07:38:32 +02:00
Benjamin Pasero 55759234d7 preload - revert retry logic which does not seem to help 2022-04-14 08:14:40 +02:00
Benjamin PaseroandGitHub c4cdb552a5 Remove legacy smoke test driver (#147393)
* wip

* fix imports

* more lipstick

* fix?

* fix
2022-04-13 19:19:58 +02:00
Benjamin Pasero 675b8c3da0 smoke - fix compile 2022-04-13 17:37:52 +02:00
Benjamin Pasero 98d2ea4444 smoke - restore workaround for #146785 2022-04-13 17:21:40 +02:00
Benjamin Pasero a7cdd9a391 preload - and and use invokeWithRetry (#146785) 2022-04-13 13:06:22 +02:00
Benjamin Pasero fd7efbee45 smoke - cleanup some file names 2022-04-05 19:21:29 +02:00
Benjamin Pasero 7c31267b20 smoke - mitigate #146785 2022-04-05 18:03:36 +02:00
Benjamin Pasero 2684fb1e00 smoke - logging 💄 2022-04-05 13:22:46 +02:00
Benjamin Pasero 6508a29d23 smoke - more verbose logging on windows 2022-04-05 09:17:17 +02:00
Benjamin Pasero 0390d4f2a4 smoke - try to use locator API for window ready 2022-04-04 15:47:21 +02:00
Benjamin PaseroandGitHub 2ada17080c Use playwright for desktop smoke tests (#146692)
* Use `playwright` for desktop smoke tests

* fix distro issues

* tests - enable prefs tests for web
2022-04-04 10:13:08 +02:00
Johannes Rieken 4a130c40ed enable @typescript-eslint/member-delimiter-style, https://github.com/microsoft/vscode/issues/140391 2022-02-02 14:35:33 +01:00
Martin Aeschlimann 8047f9c877 no remote indicator for code server web 2022-01-21 10:00:20 +01:00
Benjamin Pasero 9c0cce1dae smoke - take screenshot when waiting long for window ready 2021-12-28 15:32:35 +01:00
Benjamin PaseroandGitHub b2e79a699f smoke - improve app lifecycle (#139693)
* smoke - make sure app is closed when `app.start` fails

* smoke - `capturePage` to fallback to active window

* smoke - more logging around remote resolving
2021-12-23 16:38:54 +01:00
Daniel ImmsandGitHub da308a9a7f Format 2021-12-15 19:35:16 +00:00
Daniel ImmsandGitHub fa61def811 Merge branch 'main' into tyriar/137847 2021-12-15 09:29:49 -08:00
Rob Lourens b823936907 Wait for window to connect before starting browser smoketests
Fix #138045
2021-12-14 20:23:44 -08:00
Daniel Imms 7d35da6eb9 Wait for host on web as well 2021-12-10 11:15:59 -08:00
Daniel Imms da7ab25150 Merge remote-tracking branch 'origin/main' into tyriar/137847 2021-12-10 11:11:49 -08:00
Benjamin Pasero 27e38a8e27 smoke - always create screenshot on failure on desktop 2021-12-09 09:51:55 +01:00
Benjamin Pasero 158bd2507e smoke - always have a logger 2021-12-09 08:48:42 +01:00
Benjamin Pasero acc0803f38 cleanup automation 2021-12-09 07:03:29 +01:00
Daniel Imms 465402dd4b Merge remote-tracking branch 'origin/main' into tyriar/137847 2021-12-08 06:28:35 -08:00
Benjamin Pasero 18cba4882d smoke - more logging 2021-12-08 15:23:27 +01:00
Benjamin Pasero 64562e2a0e smoke - reimplement logging 2021-12-08 14:13:41 +01:00
Benjamin PaseroandGitHub fbad065eea Playwright: record a trace per failing test, not suite (#138600)
* smoke - record traces per test and not entire suite

* smoke - only persist failing tests

* smoke - cleanup

* smoke - more logging

* smoke - push a test failure to proof the point

* smoke - switch back to chrome for smoke tests

* smoke - warn when exit takes 10s

* Revert "smoke - push a test failure to proof the point"

This reverts commit e572a0c40d.
2021-12-08 10:09:30 +01:00
Daniel Imms 110345a97b Try removing timeout in checkWindowReady
Part of #137847
2021-12-06 06:35:57 -08:00
Benjamin PaseroandGitHub e71b28a444 Smoke test lifecycle changes (#137969)
* rewrite teardown

* 💄

* avoid spam errors

* 💄

* split spawning browser from electron

* await copyExtension

* cleanup

* refactor methods

* cleanup

* cleanup

* cleanup

* 🆙 deps
2021-11-28 10:30:52 +01:00
Benjamin PaseroandGitHub 6f2239307b Smoke test tweaks (#137809)
* smoke - move data migration tests into one and align

* fix app starting

* `createWorkspaceFile` is not async

* 💄

* support screenshot on failure even for stable app

* smoke - try to remove timeout (#137847)

* improve exit call
2021-11-25 14:37:22 +01: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
João Moreno 85a36ae074 enable smoketest on linux 2021-06-11 12:19:17 +02:00
Ladislau SzomoruandGitHub 291ec03bc3 Smoke tests - run each suite in its own user-data-dir (#125670)
* Initial commit for isolated smoke tests

* Do not wait for the explorer view when restarting

* Debug failed localization test

* User data path suffix length

* Kill server when application exits

* Do not run yarn install

* Refactor application start/stop

* Reverted some changes

* Missed one

* One more change to revert

* Restored one more file

* Pull request feedback
2021-06-10 06:40:57 -07:00
Ladislau Szomoru 4e0cf885d4 Don't wait for the explorer when restarting 2021-06-07 15:34:37 +02:00
Ladislau Szomoru b0509196f6 Disable workspace trust during tests 2021-06-03 10:21:19 +02:00
João Moreno 541a5d4fa7 smoke: trust dialog should appear in 5 seconds, and we can ignore if it doesn't 2021-05-28 11:38:10 +02:00
SteVen BattenandGitHub e5f70e8e2a fix smoke tests (#124814) 2021-05-28 09:30:47 +02:00
Jackson Kearl ac0008a25b Remove waiting for welcome page while we are experimenting with what the welcome page will be
Fixes #118748
2021-03-11 09:23:38 -08:00
Benjamin Pasero 5fabc0d9dc smoke test - remove code only needed for stable january release 2021-02-25 09:31:55 +01:00
Benjamin Pasero 041e4d9b1f fix smoke tests with stable build (fix #117420) 2021-02-23 19:04:51 +01:00
Jackson Kearl 096e5555b6 Allow welcome page to not be active on account of focus potentially going to a getting started item. 2021-02-18 18:57:24 -08:00
Jackson Kearl d10f2e6032 Fix #116412: Use getting started page as default startupEditor. 2021-02-11 12:34:14 -08:00