Commit Graph

151 Commits

Author SHA1 Message Date
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
Alex Dima
676ff7d699 Restore mocha --browser 2017-06-26 15:16:34 +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