Commit graph

1044 commits

Author SHA1 Message Date
isidor f44271187f debug smoke polish 2017-09-13 19:06:38 +02:00
isidor 15ddfb7085 debug smoke test tidbits 2017-09-13 17:27:22 +02:00
isidor aa6936c162 fix smoke test for debug console 2017-09-13 12:22:41 +02:00
Sandeep Somavarapu 040fea0fa2 smoke test - improve quick open and report screenshots 2017-09-12 12:18:03 +02:00
Sandeep Somavarapu 9e40cc9d43 smoke test: Improve quick open behaviour 2017-09-12 11:41:09 +02:00
Sandeep Somavarapu 792fe7cdb4 Fix #34207 2017-09-12 11:01:48 +02:00
Sandeep Somavarapu 8ff2211361 #34206 comment the terminal tests 2017-09-12 10:29:55 +02:00
Joao Moreno d62bb39e16 smoke 2017-09-10 09:43:31 +02:00
Joao Moreno 50b82f6858 smoke: take screenshot when waitFor times out 2017-09-09 15:22:39 +02:00
Joao Moreno 8d98227e60 smoketest: debug 2017-09-09 12:04:12 +02:00
Joao Moreno 1e5274d6be smoke: debug, wait for elements before clicking 2017-09-08 23:18:19 +02:00
Joao Moreno 680c3ac9d5 debug: setup screenshots properly 2017-09-08 23:18:08 +02:00
Sandeep Somavarapu b9c9c90c93 smoke: improve wiki 2017-09-08 20:28:03 +02:00
Sandeep Somavarapu 0b5ef80387 smoke: improve search tests 2017-09-08 20:27:50 +02:00
Sandeep Somavarapu 398d022033 smoke: update wiki 2017-09-08 19:04:57 +02:00
Sandeep Somavarapu e15c137204 smoke: improve data loss tests 2017-09-08 18:37:49 +02:00
Joao cca28b5669 smoke: fix screenshots 2017-09-08 17:38:17 +02:00
Sandeep Somavarapu c52f0d8cfb smoke: make terminal tests more reliable 2017-09-08 17:29:03 +02:00
Joao 1aaf47e812 smoke: better screenshot folder management 2017-09-08 17:20:12 +02:00
Sandeep Somavarapu 5fffacbb46 smoke: make editor tests more reliable 2017-09-08 17:14:03 +02:00
Sandeep Somavarapu 1f5712cca7 smoke: Fix title of tests for screenshots 2017-09-08 16:36:05 +02:00
Sandeep Somavarapu d619183f68 smoke: fix localization test 2017-09-08 16:19:17 +02:00
Joao 6537cfc2fc smoke: pimp up screenshots 2017-09-08 16:03:33 +02:00
Joao a622ceaf0e smoke: await for screenshots 2017-09-08 16:03:33 +02:00
Joao a2d66523b4 smoke: copy screenshots to outdir 2017-09-08 16:03:33 +02:00
Joao 3d88c68630 smoke: change terminal focus condition 2017-09-08 15:12:57 +02:00
Sandeep Somavarapu 75e18f220a smoke: add timeout descriptions 2017-09-08 12:53:01 +02:00
Joao 913347049a smoke: fix more focus issues 2017-09-08 12:43:48 +02:00
Joao 2751c4c7f5 smoke: fix debug test focus issue 2017-09-08 12:43:48 +02:00
Joao 6e6439a88d smoke: use precise command names 2017-09-08 12:43:48 +02:00
Joao 4743f5883d smoke: waitForTextContent 2017-09-08 12:43:47 +02:00
Sandeep Somavarapu 9dd403ecc6 Smoke tests: Add wait labels 2017-09-08 11:41:16 +02:00
Sandeep Somavarapu e4e4374ee8 Use number for screenshot names 2017-09-08 11:13:34 +02:00
Sandeep Somavarapu 0e87cb0afe Smoke test: Fix editor tests 2017-09-08 11:10:15 +02:00
Joao 3ae4540821 missing awaits 2017-09-08 10:25:00 +02:00
Joao 8b0c4113f5 clean up repo before each test suite 2017-09-08 10:25:00 +02:00
Joao 24d673ae33 smoke: git restores repo state 2017-09-08 09:49:21 +02:00
Sandeep Somavarapu 4f5434f564 Fix localization test 2017-09-08 09:07:06 +02:00
Sandeep Somavarapu 8a2dfa5bbd update the order of tests 2017-09-08 09:07:06 +02:00
Joao 19ad2f30a3 fix debug tests 2017-09-07 17:58:22 +02:00
Sandeep Somavarapu df8df0c9cb Smoke tests: Fix terminal tests in windows 2017-09-07 17:36:30 +02:00
Sandeep Somavarapu 550e32ea54 Smoke test: Fix terminal tests 2017-09-07 17:27:24 +02:00
Sandeep Somavarapu ee9d02467e Smoke tests: Fix in Windows 2017-09-07 17:03:06 +02:00
Sandeep Somavarapu 3a23bd6a72 Fix screen shot check 2017-09-07 16:15:34 +02:00
Sandeep Somavarapu 448e1a3279 Smoke tests: add all tests 2017-09-07 15:46:45 +02:00
Sandeep Somavarapu 662f10580c Smoke test: Revert the change in command pallette 2017-09-07 13:20:22 +02:00
Sandeep Somavarapu cee5b62a7d Smoke test: Do not define build dep tests if build do not match 2017-09-07 13:03:51 +02:00
Sandeep Somavarapu f7c2c14eae Smoke test: Fix status bar tests 2017-09-07 12:56:12 +02:00
Sandeep Somavarapu c04779a55f Smoke Test: Get back the change to compute vscode build type 2017-09-07 12:56:11 +02:00
Sandeep Somavarapu e52d9b7ef4 Smoke test: Capture screen shots 2017-09-07 12:30:33 +02:00
Sandeep Somavarapu 25add228d8 Smoke test: Capture screenshots in tests 2017-09-07 12:10:32 +02:00
Sandeep Somavarapu e5f6bf72af Smoke test: Screen shot support 2017-09-07 12:05:57 +02:00
isidor 8f4075f5e0 debug smoke: continue 2017-09-07 11:37:12 +02:00
isidor 77bf47f141 debug: smoke test 2017-09-07 11:29:13 +02:00
isidor c3e80fe565 smoketest: allow two minutes for setup 2017-09-07 11:29:13 +02:00
isidor fc7692fbfa command palette: run command 2017-09-07 10:02:38 +02:00
isidor f3e83d06df Revert "smoke: Need to retry multiple times due to late context switches might eat up some keys (e.g space)"
This reverts commit f04f9320d3.
2017-09-07 10:01:46 +02:00
Sandeep Somavarapu d586151142 Smoke test: clean up data migration tests 2017-09-06 23:57:37 +02:00
Sandeep Somavarapu 576f6934e5 Fix getting current line 2017-09-06 23:27:13 +02:00
Sandeep Somavarapu d9b889ff6d smoke test: adopt editor tests 2017-09-06 23:19:01 +02:00
isidor f04f9320d3 smoke: Need to retry multiple times due to late context switches might eat up some keys (e.g space) 2017-09-06 18:08:29 +02:00
Sandeep Somavarapu 574660101b uncomment npm install 2017-09-06 16:49:38 +02:00
Sandeep Somavarapu 63f509a66a Smoke test: Clean application 2017-09-06 16:30:29 +02:00
Sandeep Somavarapu ae4da32eb9 smoke test: remove tasks 2017-09-06 12:53:59 +02:00
Sandeep Somavarapu 708d897c75 smoke tests: enable debug title test in localization test 2017-09-06 12:50:23 +02:00
Sandeep Somavarapu 78d76cb1ee smoke test: adopt terminal tests 2017-09-06 12:48:48 +02:00
Sandeep Somavarapu 8ce75db724 smoke-tests: clean up 2017-09-06 12:48:18 +02:00
Sandeep Somavarapu 056da1e26f smoke test: adopt localization tests 2017-09-06 12:48:18 +02:00
Sandeep Somavarapu f5bf8a3510 smoke tests: clean up 2017-09-06 12:47:47 +02:00
isidor ffee514731 debug: initial smoke tests 2017-09-06 12:45:38 +02:00
isidor 15cdd45cb4 smoke: run npm install for setup 2017-09-06 12:45:38 +02:00
Joao dca901a02c smoke: delete test data when test is successful 2017-09-06 10:14:41 +02:00
Joao 6a718024b0 smoke: create test_data in tmp 2017-09-06 10:13:49 +02:00
Joao a4d6d30629 smoke 2017-09-06 09:56:08 +02:00
Joao 7408fc38cc fix smoke extensions dir 2017-09-06 09:56:08 +02:00
Joao 4ddfa82e8e smoke: cleanup 2017-09-06 09:56:08 +02:00
Joao d744c1373b fix smoke! 2017-09-05 14:43:29 +02:00
Joao 3675a912f5 smoke: finish git test 2017-09-05 11:22:13 +02:00
Joao b9c6595e89 smoke 2017-09-05 09:34:22 +02:00
Sandeep Somavarapu 0f34ab380d Create unique extensions dir 2017-09-04 20:02:37 +02:00
Sandeep Somavarapu 9a451820dc Use status bar model in extensions test 2017-09-04 19:58:51 +02:00
Sandeep Somavarapu 45364bedaf clean up status bar test files 2017-09-04 19:54:59 +02:00
Sandeep Somavarapu e3fd86bd78 Fix user data dir 2017-09-04 19:53:33 +02:00
Sandeep Somavarapu abe71f50d9 More improvements 2017-09-04 19:37:21 +02:00
Sandeep Somavarapu d8540e33fa expose spectron client in application 2017-09-04 17:30:57 +02:00
Joao 8eb731e3f5 smoke start git tests 2017-09-04 17:20:25 +02:00
Joao 67eab6ebf6 fix test data path 2017-09-04 16:11:42 +02:00
Joao 0d7790e026 mocha task 2017-09-04 16:11:27 +02:00
Joao bedcf4c760 use mocha for smoke test 2017-09-04 15:46:35 +02:00
Joao 4fe77bc342 smoke: omit warnings, clean imports 2017-09-04 15:23:20 +02:00
Joao 12d8f1c97e further smoke test improvements 2017-09-04 14:54:26 +02:00
Joao cb531597ed Merge remote-tracking branch 'origin/sandy081/smoke-test' into smoketest 2017-09-04 12:18:21 +02:00
Joao c40fd46336 Merge remote-tracking branch 'joao/smoketest' into smoketest 2017-09-04 11:56:35 +02:00
Sandeep Somavarapu 2ffdcaba19 revert args in application 2017-09-04 11:55:35 +02:00
Sandeep Somavarapu 4f8d86c56f Improve smoke tests 2017-09-04 11:51:50 +02:00
Joao 17bf788e41 update smoketest launch 2017-09-04 11:32:41 +02:00
Joao b1c545c1c9 wip: clean up smoketest launching 2017-09-01 17:52:29 +02:00
Joao 3f2b4def89 fix up smoketest dependencies 2017-09-01 16:37:55 +02:00
Sandeep Somavarapu 22a124a17b Improve settings and keybindings smoke tests 2017-08-31 15:59:23 +02:00
Sandeep Somavarapu e3461b41e8 Improvement to configuration view suite 2017-08-29 10:53:45 +02:00
Joao a767586000 smoke test: fix bad code 2017-08-25 15:02:59 +02:00
Joao 30e81176ab smoke test: fix require issue 2017-08-25 15:02:58 +02:00
Joao 6ed837a6cf update smoke test local instructions 2017-08-25 15:02:58 +02:00
João Moreno 87bfc89d73 change polling frequency in smoke tests 2017-08-25 12:18:04 +02:00
Joao Moreno 6f000804b8 fix smoketest 2017-08-24 10:47:44 +02:00
Johannes Rieken 7128eb085c style - use single-quoted imports 2017-08-21 16:45:32 +02:00
Benjamin Pasero afc7fad04f smoke test - increase pollTimeout 2017-08-21 07:46:25 +02:00
Rob Lourens 0af0d49222 Remove overly wordy "Smoke Test Suite", change 'context' to 'describe' 2017-08-16 14:58:25 -07:00
Benjamin Pasero 0cf5fc3aec fix smoke test for good 2017-08-16 13:01:38 +02:00
Benjamin Pasero 4ccbc63444 Revert "fix multiroot smoke test"
This reverts commit 43de7e1186.
2017-08-16 13:00:55 +02:00
Benjamin Pasero 43de7e1186 fix multiroot smoke test 2017-08-16 12:23:48 +02:00
Andre Weinand 4aff9d5485 Revert "adjust another smoketest"
This reverts commit bcf50f5d5e.
2017-08-08 13:04:08 +02:00
Andre Weinand c73c381c7c Revert "temporarily disable faling smoke test"
This reverts commit 8a9e389167.
2017-08-08 13:03:59 +02:00
Andre Weinand bcf50f5d5e adjust another smoketest 2017-08-08 01:34:54 +02:00
Andre Weinand 8a9e389167 temporarily disable faling smoke test 2017-08-07 23:22:07 +02:00
Sandeep Somavarapu ad88a7b36a Fix #31437 2017-07-26 15:57:17 +05:30
Benjamin Pasero 886f58c6d8 properly detect insiders for smoke test 2017-07-21 10:38:46 +02:00
Benjamin Pasero d185c3190c smoke test: only run multi root test against insiders edition 2017-07-20 17:59:34 +02:00
Benjamin Pasero 4f074abe22 Smoke test for multi root (#31059)
* wip

* fix for windows

* add some tests

* only run multi root test on windows

* fix bug with opening files into a workspace that opens (enables smoke test)

* document how to run against out of source

* enable test for all OS
2017-07-20 16:01:21 +02:00
Michel Kaporin 19fa856cb0 Added missing async 2017-07-07 09:50:43 +02:00
Michel Kaporin 6356698cfc Added waiting for viewlet to be opened. 2017-07-07 09:50:05 +02:00
Michel Kaporin b2fc1aeb7f Corrected rejection description. 2017-07-07 09:43:49 +02:00
Michel Kaporin bbfcefb487 Integrate smoketest-express project tasks 2.0 changes. 2017-07-03 09:15:46 +02:00
Michel Kaporin 6dc5253ec7 Update README.md 2017-06-30 16:23:44 +02:00
Michel Kaporin 486149411b Update README.md 2017-06-30 16:21:34 +02:00
Michel Kaporin 9b0ba2f416 Fixes #29940 2017-06-30 16:13:33 +02:00
Erich Gamma a7b27bb3c3 Added step to run npm install 2017-06-30 15:32:45 +02:00
Michel Kaporin db3ac354b5 Await wait 2017-06-30 14:59:56 +02:00
Michel Kaporin 46ac9277f7 Info about screenshots 2017-06-29 12:36:09 +02:00
Michel Kaporin 91f83afb13 Wait until git extension is loaded before checking for localized viewlet title 2017-06-29 09:56:25 +02:00
Michel Kaporin 15bf0c6120 Allow 3 trials to wait until editor is drawn. 2017-06-28 11:34:30 +02:00
Michel Kaporin 208f3ae140 Trying to fix #29731 2017-06-28 11:21:15 +02:00
Michel Kaporin 96b687b7ef More detailed error when obtaining editor text fails. 2017-06-27 16:06:01 +02:00
Michel Kaporin 17a32a2331 Updated readme after JS->TS refactorings. 2017-06-27 11:33:19 +02:00
Michel Kaporin b57f814b39 Editor response is slower now, wait before navigating within it. 2017-06-27 11:22:42 +02:00
Michel Kaporin 112bde340f Do not screenshot until webdriver result is available. 2017-06-26 15:42:19 +02:00
Michel Kaporin 8427f84973 Code tidy up 2017-06-26 14:53:13 +02:00
Michel Kaporin 91ab830714 Refactored main.js to TS 2017-06-26 14:37:27 +02:00
Michel Kaporin 915a0056ae Added markdown to trace all smoke test failures to understand their patterns. Resolves #27906 2017-06-26 14:37:27 +02:00
Michel Kaporin eedd2ce355 Operate on sample extension for smoke test, instead of contributing to third-party extension download count. Resolves #28876 2017-06-26 11:23:55 +02:00
Michel Kaporin 2b269a284f Added check for build task not to progress until it's been resolved. 2017-06-26 10:37:41 +02:00
Michel Kaporin 76b37f8eb2 Clean up formatting. 2017-06-23 18:20:47 +02:00
Michel Kaporin 8e0d8cfc1e Provide more info about test failures thrugh catching more webdriverio exceptions. 2017-06-23 17:26:30 +02:00
Michel Kaporin e0d0a4ecd3 Determining editor line index for variables and folding dynamically. 2017-06-23 17:26:30 +02:00
Michel Kaporin 56b984af24 Determine first change row index by traversing dom instead of hardcoding. 2017-06-23 17:26:29 +02:00
Michel Kaporin 036af38a18 Added check for string in output, instead of querying the known element. 2017-06-23 17:26:29 +02:00
Michel Kaporin 1613eac498 Traverse extensions viewlet when looking for an extension to install. 2017-06-23 17:26:29 +02:00
Michel Kaporin 72d1df9b57 Determine staged count based on SCM viewlet text traversing. Add more error catching. 2017-06-23 17:26:28 +02:00
Michel Kaporin bfffd7b8b9 JSON parse launch.json to determine whether program configuration was correctly added. 2017-06-23 17:26:28 +02:00
Joao Moreno 5d1fbab736 fix formatting errors in smoket test 2017-06-23 16:59:18 +02:00
Joao Moreno c13647b80f set up tslint for smoketest source 2017-06-23 09:07:49 +02:00
Michel Kaporin 264b773bf2 Fixed waiting issue, added test retry number to screenshot path. 2017-06-21 11:11:23 +02:00
Michel Kaporin 8f9e27396c Removed exposure of require as it led to not working Spectron. 2017-06-15 16:49:15 +02:00
Michel Kaporin e4601b2af0 Simplified element waiting code. 2017-06-15 16:47:27 +02:00
Michel Kaporin 937caced3b Missing indication of requireName added as a follow up on 4779453977. 2017-06-15 13:01:04 +02:00
Michel Kaporin 4779453977 Expose require to Spectron if running smoke test. 2017-06-15 12:52:54 +02:00
Michel Kaporin 078fa6d3da Converted mocha-runner to TS, indicated to exit smoke test on mocha tests termination. 2017-06-15 11:46:45 +02:00
Michel Kaporin 836d40adbf Correct screenshotting logic. 2017-06-15 11:27:09 +02:00
Michel Kaporin 5b6f2fa601 Added explanation where to look for test data. 2017-06-14 14:07:07 +02:00
Michel Kaporin b9204f6eef Corrected necessary dependencies to match only minor versions #27537 2017-06-13 12:44:50 +02:00
Michel Kaporin 24c9b09925 Fail the test if the key binding was not found. 2017-06-13 10:34:03 +02:00
Michel Kaporin 631e0a74ee Adding correct command to open git viewlet as it was changed. 2017-06-13 10:18:16 +02:00
Michel Kaporin 0fd62676f3 Resolves #27922 2017-06-08 13:19:04 +02:00
Michel Kaporin fcf8b2942d Pass extensions-dir as VS Code arg, instead of Chrome Driver one. 2017-06-07 17:11:35 +02:00
Michel Kaporin 1f1e1ec7c9 Pass the argument to the VS Code executable, instead of a chrome driver. 2017-06-07 17:07:12 +02:00
Michel Kaporin 96869f5742 break from the loop instead of returning 2017-06-07 17:00:08 +02:00
Michel Kaporin 5ca7c3dacb Resolves #27921 2017-06-07 16:51:04 +02:00
Jens Hausdorf 544d44350b remove double semicolons (#28110) 2017-06-06 13:51:23 -07:00
Michel Kaporin 0aec2d6838 Fixed selector after eac49a321b change. 2017-06-02 12:19:44 +02:00
Michel Kaporin 891adacb7a Updated instructions to add new area and test 2017-06-02 11:16:10 +02:00
Michel Kaporin e4c130c36a Moved contribution section to readme. 2017-06-01 15:50:23 +02:00
Michel Kaporin 0803f7cef2 Removed wait from the test. Ref #27841 2017-06-01 14:36:29 +02:00
Michel Kaporin bed537a416 Added waiting to give enough time for VS Code to type the text in the editor. 2017-06-01 14:27:26 +02:00
Michel Kaporin 100f70c3fb Fixes #27604. 2017-05-31 15:30:00 +02:00
Michel Kaporin 06d60228fd Added description on how to debug smoke test. 2017-05-31 15:27:50 +02:00
Michel Kaporin e70d11da0b Triple equals for keybinding find. 2017-05-31 09:38:24 +02:00
Michel Kaporin c1d3334fc2 Close any notifications before clicking on the tab. Fixes #27606. 2017-05-31 09:35:07 +02:00
Michel Kaporin 26d85e8ac7 Toggle full screen for reading out output console due to editor redrawing div elements. 2017-05-30 16:55:32 +02:00
Michel Kaporin 7a7965a93e Run over clean extensions directory for data migration tests. Fixes #27537. 2017-05-30 14:47:40 +02:00
Michel Kaporin 5199dddb6f Allowed more time for build task to prevent native dialog popup that blocks the test. Added missing comma in search test. 2017-05-29 17:14:31 +02:00
Michel Kaporin 109435f8cf Fixed path to module. 2017-05-29 16:19:04 +02:00
Michel Kaporin d9b33cf00a Attempt to fix git test 'element not visible' error. 2017-05-29 15:44:13 +02:00
Michel Kaporin 632837a870 Added debug log to find out where Windows build fails. 2017-05-29 14:46:27 +02:00
Michel Kaporin a41a0c007f Intercept child process exit and exit from the main process as well. 2017-05-29 13:04:06 +02:00
Michel Kaporin 7223e4bfe4 Added wait time for peek widgets to be loaded. 2017-05-29 12:44:49 +02:00
Michel Kaporin 2fa17a91da Added script to compile. 2017-05-29 09:08:57 +02:00
Michel Kaporin bc46880513 Code sanity. 2017-05-26 12:56:25 +02:00
Michel Kaporin 0335ea84d6 Updated tasks tests with respect to new Express eslint config. Code cleanup. 2017-05-26 12:56:24 +02:00
Michel Kaporin c925cfb72c Modularised tests. 2017-05-26 12:56:24 +02:00
Michel Kaporin 9b73f62ce3 Updated the way to run the smoke test. 2017-05-26 12:56:24 +02:00
Michel Kaporin c50481255f Testing build definition. 2017-05-26 12:56:24 +02:00
Michel Kaporin 29c5b3bbda Changed executable name. 2017-05-26 12:56:23 +02:00
Michel Kaporin 75621d237d Corrected path to binary. 2017-05-26 12:56:23 +02:00
Michel Kaporin 7e6fb9ffab Moved to test directory. 2017-05-26 12:56:22 +02:00