Qytera-Gmbh / cypress-xray-plugin

A plugin for uploading Cypress test results to Xray.
https://qytera-gmbh.github.io
MIT License
21 stars 7 forks source link

Rewrite command logging to only output log summary at the end #313

Closed csvtuda closed 2 months ago

csvtuda commented 2 months ago

Currently, the commands log their progress, success or failures all over the place due to the parallel nature of the graph's execution. This PR aims for a neat log summary, which is only printed once at the very end of the graph's execution and contains (forwarded) errors for all high-level commands (such as upload results, import feature, attach videos).

General idea:


There were 4 errors during plugin execution:

1/4: Cypress results upload

  Blablabla

  - https://example.org

2/4: Feature file import /home/me/cucumber/xyz.feature

  Foo bar

...
csvtuda commented 2 months ago

Future feature.