Skip to content
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

Merged
merged 1 commit into from
Aug 23, 2019

Conversation

Katka92
Copy link
Contributor

@Katka92 Katka92 commented Aug 19, 2019

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.
Screenshot from 2019-08-19 13-16-48

@che-bot che-bot added the status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. label Aug 19, 2019
@che-bot
Copy link
Contributor

che-bot commented Aug 19, 2019

E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has failed:

@che-bot
Copy link
Contributor

che-bot commented Aug 19, 2019

Results of automated E2E tests of Eclipse Che Multiuser on OCP:
Build details
Test report
docker image: eclipseche/che-server:14281
https://github.com/orgs/eclipse/teams/eclipse-che-qa please check this report.

@Katka92 Katka92 force-pushed the automate_index.ts_generation branch from 0c85999 to 25c6056 Compare August 19, 2019 12:09
@che-bot
Copy link
Contributor

che-bot commented Aug 19, 2019

E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has failed:

@che-bot
Copy link
Contributor

che-bot commented Aug 19, 2019

Results of automated E2E tests of Eclipse Che Multiuser on OCP:
Build details
Test report
docker image: eclipseche/che-server:14281
https://github.com/orgs/eclipse/teams/eclipse-che-qa please check this report.

@Katka92
Copy link
Contributor Author

Katka92 commented Aug 23, 2019

crw-ci-test

@che-bot
Copy link
Contributor

che-bot commented Aug 23, 2019

E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has failed:

Signed-off-by: kkanova <kkanova@redhat.com>
@Katka92 Katka92 force-pushed the automate_index.ts_generation branch from 25c6056 to 9343eaa Compare August 23, 2019 05:59
@che-bot
Copy link
Contributor

che-bot commented Aug 23, 2019

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
Copy link
Contributor

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"

Copy link
Contributor Author

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

@che-bot
Copy link
Contributor

che-bot commented Aug 23, 2019

Results of automated E2E tests of Eclipse Che Multiuser on OCP:
Build details
Test report
docker image: eclipseche/che-server:14281
https://github.com/orgs/eclipse/teams/eclipse-che-qa please check this report.

@Katka92
Copy link
Contributor Author

Katka92 commented Aug 23, 2019

crw-ci-test

@che-bot
Copy link
Contributor

che-bot commented Aug 23, 2019

E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has been successful:

  • build details
  • "che-server" docker image: maxura/che-server:14281

@rhopp rhopp merged commit e0d80f3 into eclipse-che:master Aug 23, 2019
@che-bot che-bot added this to the 7.1.0 milestone Aug 23, 2019
@che-bot che-bot removed the status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. label Aug 23, 2019
@Katka92 Katka92 deleted the automate_index.ts_generation branch March 3, 2020 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants