-
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] Adding script for generating index.ts file. #14281
[E2E] Adding script for generating index.ts file. #14281
Conversation
E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has failed:
|
Results of automated E2E tests of Eclipse Che Multiuser on OCP: |
0c85999
to
25c6056
Compare
E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has failed:
|
Results of automated E2E tests of Eclipse Che Multiuser on OCP: |
crw-ci-test |
E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has failed:
|
Signed-off-by: kkanova <kkanova@redhat.com>
25c6056
to
9343eaa
Compare
E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has failed:
|
|
||
listOfDirs="driver utils pageobjects" | ||
listOfExcludes="./driver/CheReporter.ts" | ||
for dir in $listOfDirs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this script work with nested folders? For example "pageobjects" -> "dashboard"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In short yes - there is already index.ts file generated, you can take a look https://github.com/eclipse/che/pull/14281/files#diff-14f7a35f8fc13dbe57f6822026fa0f1dR12
Results of automated E2E tests of Eclipse Che Multiuser on OCP: |
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 file index.ts contains all files that are exported from the project. These files then can be imported in other project and simply extended/overwritten. This will automate the process of addition files to index.ts.
There are folders defined from which the typescript files should be written to the index.ts. There is also list for excluded files, e.g. CheReporter.
The index.ts file is generated each time the test is run. The execution time of generation of index.ts is quite short [1] so it should not negatively affect user experience when developing new tests.