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

Save screenshots as artifacts for failed e2e tests #3523

Closed
kschiffer opened this issue Nov 24, 2020 · 0 comments · Fixed by #3758
Closed

Save screenshots as artifacts for failed e2e tests #3523

kschiffer opened this issue Nov 24, 2020 · 0 comments · Fixed by #3758
Assignees
Labels
tooling Development tooling

Comments

@kschiffer
Copy link
Contributor

Summary

It would be helpful to have the screenshots of failed end-to-end tests saved as action artifact.

Why do we need this?

This can help speeding up fixing failed e2e tests.

What is already there? What do you see now?

Nothing of that sort.

What is missing? What do you want to see?

Screenshots of failed test steps being uploaded as artifacts, so they will be attached to the action.

How do you propose to implement this?

Iirc, cypress generates screenshots for failed tests by default. These files can be uploaded using the upload-artifact action:
https://github.com/actions/upload-artifact

I also used this in my initial e2e test PR.

Can you do this yourself and submit a Pull Request?

@bafonins

@kschiffer kschiffer added the tooling Development tooling label Nov 24, 2020
@kschiffer kschiffer added this to the Next Up milestone Nov 24, 2020
@kschiffer kschiffer mentioned this issue Dec 21, 2020
65 tasks
@bafonins bafonins mentioned this issue Feb 9, 2021
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tooling Development tooling
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants