-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tests for 'Generate a new Quarkus Project' #172
Conversation
@xorye Travis build fails |
CLI build fails:
I can see the command being typed in the palette, but then nothing happens |
@fbricon vscode-extension-tester 2.3.0 introduces this new dependency https://www.npmjs.com/package/@nut-tree/nut-js to improve mac support. nut-js has some prerequisites: https://www.npmjs.com/package/@nut-tree/nut-js#prerequisites which is probably why the Travis test for Linux is failing. |
Here is what I did to get the tests working on macOs 10.15.2:
When running the ui tests, it would be best to disable all other extensions so that they don't interfere with the testing. Also, please be sure to not do anything else with your computer. Its very important to leave your computer when running the ui-tests, or else the test functions will not work properly. Running the ui tests will create a Line 11 in 7597909
|
@fbricon its finally working on both ubuntu 16.04 and mac, but on ubuntu, the folder choosing test seems to work/stop working randomly (Edit: seems like it works more often than not) I will soon squash all commits to one |
I've updated the contributing guide to mention about testing. I've also changed the test commands: |
@xorye please resolve conflicts |
Fixing conflict |
@xorye please fix the new conflict please. |
fixed |
Signed-off-by: David Kwon <[email protected]>
Thanks @xorye! |
This PR provides 6 tests that test the 'Generate a new Quarkus Project' command.
To run the tests, either select the 'VS Code UI Extension Tests' debug config:
or, run
npm run ui-test
from the command line.Fedora 30: Tests work
Windows 10: Tests work
Mac OS: There are two tests that do not work because of the lack of support for Mac's native folder selection window redhat-developer/vscode-extension-tester#40