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

Update screencatcher in the e2e folder for avoiding errors #14394

Merged
merged 3 commits into from
Aug 30, 2019

Conversation

Ohrimenko1988
Copy link
Contributor

Signed-off-by: Ihor Okhrimenko iokhrime@redhat.com

What does this PR do?

Update screencatcher in the e2e folder for avoiding errors

If screenshots store without errors, all works as before
Screenshot from 2019-08-30 13-06-46

If error happens, the error interrupts and stack trace stores in the separated folder and file
Screenshot from 2019-08-30 13-05-33

What issues does this PR fix or reference?

Issue: #14384

Release Notes

Docs PR

Signed-off-by: Ihor Okhrimenko <iokhrime@redhat.com>
@Ohrimenko1988 Ohrimenko1988 added status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. kind/task Internal things, technical debt, and to-do tasks to be performed. team/che-qe labels Aug 30, 2019
Signed-off-by: Ihor Okhrimenko <iokhrime@redhat.com>
fs.mkdirSync(executionScreenCastErrorsDir);
}

let errorLogFilePath: string = screenshotPath.replace('.png', '.txt');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here we can just add .txt, or, more obvious, .error.log to the screenshotPath, to have file name like the follow:

0010002--(10:04:38.853): Open workspace.png.error.log

@dmytro-ndp
Copy link
Contributor

PR commonly looks good. I would only ask you to wait on results of PR check on CRW Jenkins CI before merging.

@che-bot
Copy link
Contributor

che-bot commented Aug 30, 2019

E2E tests of Eclipse Che Multiuser on OCP has failed:

@SkorikSergey
Copy link
Contributor

crw-ci-test

@che-bot
Copy link
Contributor

che-bot commented Aug 30, 2019

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

Signed-off-by: Ihor Okhrimenko <iokhrime@redhat.com>
@dmytro-ndp
Copy link
Contributor

@Ohrimenko1988: there is Happy path tests error #14394 (comment):

ERROR: /home/e2e/utils/ScreenCatcher.ts[60, 13]: 'errorLog' is declared but its value is never read.

@dmytro-ndp
Copy link
Contributor

Oh, you have fixed it recently.

@che-bot
Copy link
Contributor

che-bot commented Aug 30, 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:14394

@che-bot
Copy link
Contributor

che-bot commented Aug 30, 2019

E2E tests of Eclipse Che Multiuser on OCP has failed:

@Ohrimenko1988
Copy link
Contributor Author

ci-test

@che-bot
Copy link
Contributor

che-bot commented Aug 30, 2019

E2E tests of Eclipse Che Multiuser on OCP has failed:

@Ohrimenko1988
Copy link
Contributor Author

ci-test

@che-bot
Copy link
Contributor

che-bot commented Aug 30, 2019

E2E tests of Eclipse Che Multiuser on OCP has been successful:

@Ohrimenko1988 Ohrimenko1988 merged commit 388e164 into master Aug 30, 2019
@Ohrimenko1988 Ohrimenko1988 deleted the selen-screen branch August 30, 2019 15:13
@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 30, 2019
@che-bot che-bot added this to the 7.1.0 milestone Aug 30, 2019
dmytro-ndp added a commit that referenced this pull request Sep 6, 2019
Signed-off-by: Dmytro Nochevnov <dnochevn@redhat.com>

* Use eclipse/che-e2e:nightly to run Happy path tests on Jenkins CI

Signed-off-by: Dmytro Nochevnov <dnochevn@redhat.com>

* Decrease Happy path tests execution build timeout to 20 minutes

Signed-off-by: Dmytro Nochevnov <dnochevn@redhat.com>

* Use bujhtr5555/che-e2e:latest to check fixup

Signed-off-by: Dmytro Nochevnov <dnochevn@redhat.com>

* Fix che start command

Signed-off-by: Dmytro Nochevnov <dnochevn@redhat.com>

* Update screencatcher in the e2e folder for avoiding errors (#14394)

* Fix mistake in the "activateBreakpoint" method

Signed-off-by: Ihor Okhrimenko <iokhrime@redhat.com>

* Rework method for enabling debug breakpoint

Signed-off-by: Ihor Okhrimenko <iokhrime@redhat.com>

* Cleanup code

Signed-off-by: Ihor Okhrimenko <iokhrime@redhat.com>

* Run tests from docker image

Signed-off-by: Dmytro Nochevnov <dnochevn@redhat.com>

* Run local tests mounted to docker image

Signed-off-by: Dmytro Nochevnov <dnochevn@redhat.com>

* Check tests with cypress/browsers:node8.9.3-chrome73

Signed-off-by: Dmytro Nochevnov <dnochevn@redhat.com>

* check with eclipse/che-e2e:nightly

Signed-off-by: Dmytro Nochevnov <dnochevn@redhat.com>

* Run tests from inside eclipse/che-e2e:nightly

Signed-off-by: Dmytro Nochevnov <dnochevn@redhat.com>

* Check local e2e tests

Signed-off-by: Dmytro Nochevnov <dnochevn@redhat.com>

* Pre-pull eclipse/che-e2e:nightly

Signed-off-by: Dmytro Nochevnov <dnochevn@redhat.com>

* Check local tests with updated eclipse/che-e2e:nightly

Signed-off-by: Dmytro Nochevnov <dnochevn@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/task Internal things, technical debt, and to-do tasks to be performed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants