-
Notifications
You must be signed in to change notification settings - Fork 39
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 output to file #17
Comments
Hi. There is an issue for the dashboard if you mean for that. Other than that usually you see the output on the CI logs where you ran the cypress run command. What CI are we talking about? |
Azure Devops. |
And yes, I can see the result in the logs. But the logs are not very usable. We compose a html report with screenshots, and it would be great to be able to attach these logs there too. |
Ok now I understand the use case. There are other modules that actually write reports in files. But as I saw they were lacking some output like request or console logs. Would you require these outputs to be in plain txt? Or some json with specific structure? |
As a starting point I think plain text (utf-8) would do nicely. |
But there should be a way to identify which test case the log relates to. Could be deduced form the filename (like the failure screenshots in cypress) |
That would be useful for us as well. We're pushing all the cypress logs to ReportPortal, so even if it is a callback method where we can access the log data easily or just the possibility to save the logs as a file, any of them would be great. |
This would be extremely useful |
Released in 1.3.0. |
Thanks for implementing this! Also really nice that you added json format, it might be handy. Suggestion:
|
@bjowes Can you open a separate issue please. Also contributions are welcome, this would be super easy to implement :) |
Seeing the cypress log in the terminal is great - but when integrating with a CI environment it would be helpful if the output could be (easily) saved to a file. The file could then be uploaded as an attachment to the test run.
The text was updated successfully, but these errors were encountered: