-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
E2E tests suite for Che 7 #12728
Comments
As mentioned by @gorkem we should make sure that the happy path scenario take into account Che workshop scenario as well |
FYI: links to various samples for Java projects could be found in description of issue #12620 |
@Ohrimenko1988 @musienko-maxim @rhopp I have updated the description of the e2e steps in this issue and the blockers/workaround I am aware of. What I ask you is to:
|
@l0rd As we would like to adapt the (slightly modified) happy path scenario also for che saas offering (che.openshift.io), I've tried to create workspace from the devfile mentioned in this issue.. This failed, with not enough resources (I was kinda expecting that).
Should we use something different for happy path test on saas che, or should we raise this with rh-che team and think about solution there? |
Good point @rhopp. Let me try to create a "lighter" devfile for that purpose. |
@rhopp : Is the scope for Che 7 GA been covered? so we can check that from the end game plan and move forward? |
Happy path was implemented and is being run as a PR check on multiple repositories. |
As per latest discussions we decided, that best approach for E2E UI testing of Eclipse Che 7 would be to implement "happy path" suite:
E2E Test Script
1 - Deploy Che on minikube using the operator with authentication enabled
Steps
eclipse/che-operator:latest
registry.access.redhat.com/rhscl/postgresql-96-rhel7
registry.access.redhat.com/redhat-sso-7/sso72-openshift
eclipse/che-server:nightly
busybox
centos:centos7
eclipse/che-init-plugin-broker:v0.17
eclipse/che-unified-plugin-broker:v0.17
mariolet/petclinic:d2831f9b
centos/mysql-57-centos7
eclipse/che-machine-exec
eclipse/che-theia:next
eclipse/che-remote-plugin-runner-java8:next
maven:3.6.0-jdk-11
chectl server:start --installer=operator
Success criteria
Blockers and workarounds
The operator installer for chectl is not working currently Chectl server:start command uses old plugin registry env var in configmap che-incubator/chectl#92. Helm (chectl server:start
) can be used instead.2 - Generate a devfile from a running application
Steps
Success criteria
Blockers and workarounds
3 - Start a Workspace from a devfile
Steps
Success criteria
- Workspace started successfully
- Workspace is started in less than X seconds
- Project is cloned
- JDT LS and Java debug adapter are initialized correctly
- YAML LS is initialized correctly
- Kubernetes tooling is initialized correctly
- GitHub PR plugin is initialized correctly
- Terminal work
Blockers and workarounds
4 - Use Java IDE features and the inner loop
Steps
Success criteria
Blockers and workarounds
java
folder from the project explorer and select "Add folder to Java source path"5 - Outer loop
Steps
Success criteria
Blockers
6 - Workspace sharing
Steps
Success criteria
Blockers
7 - Persistence and workspace status restoring
Steps
chectl
and verify that the workspaces status are recovered correctly (1 running and 1 stopped)Success criteria
Blockers
8 - Uninstall
Steps
Success criteria
Blockers
Subtasks:
The text was updated successfully, but these errors were encountered: