Implement CheCode Editor POC test
What does this PR do?
- Prunes the existing codebase
- Integrates vscode-extension-tester into the codebase
- Adds a POC implementation for workspace readiness check in JavaSpringBoot devfile
Screenshot/screencast of this PR
What issues does this PR fix or reference?
https://issues.redhat.com/browse/CRW-3107
How to test this PR?
- Set environment variables:
-
TS_SELENIUM_BASE_URL -
TS_SELENIUM_USERNAME -
TS_SELENIUM_OCP_USERNAME -
TS_SELENIUM_PASSWORD -
TS_SELENIUM_OCP_PASSWORD -
TS_OCP_LOGIN_PROVIDER_TITLE -
TS_SELENIUM_VALUE_OPENSHIFT_OAUTH="true"
-
- Run
initDefaultValues.sh - Execute tests
npm run test-java-springboot
PR Checklist
As the author of this Pull Request I made sure that:
- [x] The Eclipse Contributor Agreement is valid
- [x] Code produced is complete
- [x] Code builds without errors
- [x] Tests are covering the bugfix or new feature
- [ ] The repository devfile is up to date and works
- [ ] Sections
What issues does this PR fix or referenceandHow to test this PRcompleted - [ ] Relevant user documentation updated
- [ ] Relevant contributing documentation updated
- [ ] CI/CD changes implemented, documented and communicated
Reviewers
Reviewers, please comment how you tested the PR when approving it.
@ScrewTSW : could you, please, write about how to run the test, and give an example of test run?
@ScrewTSW : commented code could be removed having commit history.
It could also be useful to have list of tests which needs to be rewritten to be run in VS Code Editor, e.g. tests/e2e/tests/e2e/GitPublishBranch.spec.ts
@ScrewTSW: is there a draft of e2e/tests/e2e_happy_path/vscode/HappyPath.spec.ts ready to run?
@ScrewTSW: is there a draft of e2e/tests/e2e_happy_path/vscode/HappyPath.spec.ts ready to run?
No, not yet. This is just POC refactor, so that it's ready for additional implementations
I see.
Actually, what has already been done looks commonly good. Waiting on final result.
wkspc abbreviation in filenames tests/e2e/mocha-wkspc-creation-and-ls-theia.json looks strange
If it's shot name for workspace, then there is wide spread abbreviation existed: ws.