Commit graph

720 commits

Author SHA1 Message Date
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 9b0ba2f416 Fixes #29940 2017-06-30 16:13:33 +02:00
Michel Kaporin db3ac354b5 Await wait 2017-06-30 14:59:56 +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 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 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 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 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 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 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 7e6fb9ffab Moved to test directory. 2017-05-26 12:56:22 +02:00