-
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] Fixing bug in opening file. #14435
Conversation
f515013
to
7a923ea
Compare
E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has been successful:
|
E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has been successful:
|
Signed-off-by: kkanova <[email protected]>
7a923ea
to
b8a3ab5
Compare
E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has failed:
|
crw-ci-test |
E2E tests of Eclipse Che Multiuser on OCP has been successful:
|
E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has failed:
|
crw-ci-test |
E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has been successful:
|
What does this PR do?
The last changes created a bug in ProjectTree.ts file. This PR is fixing them.
When calling the
expandPathAndOpenFile
method in ProjectTree.ts file, there was a problem with adding slashes, so the wrong css path was generated. Was:/projects:/projects//console-java-simple
, should be:/projects:/projects/console-java-simple
.One slash was added in
expandPathAndOpenFile
method and the second slash was added ingetItemCss
method, which was called inside the first one.As
getItemCss
method may be used in other methods, I decided to change a logic inexpandPathAndOpenFile
.