You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my org, we are trying to troubleshoot an issue with Cypress tests that happen in CI (Github Actions).
Issue is that, randomly (but multiple times a day), test runs timeout and get killed by Github Actions.
After combing through cypress debug logs [1], it appears as though the test is not making progress beyond a certain point. So, it will be greatly helpful to have the commands being executed be logged to the CI logs so that we can know at what point the test is stuck.
Unfortunately, the existing solutions ([2][3]) for logging cypress commands are not useful in this case. This is because, it assumes that the test actually completes (either pass / fail). But in this case, it is simply killed.
So, the ask is to have the command log be send to the CI logs as well.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
In my org, we are trying to troubleshoot an issue with Cypress tests that happen in CI (Github Actions).
Issue is that, randomly (but multiple times a day), test runs timeout and get killed by Github Actions.
After combing through cypress debug logs [1], it appears as though the test is not making progress beyond a certain point. So, it will be greatly helpful to have the commands being executed be logged to the CI logs so that we can know at what point the test is stuck.
Unfortunately, the existing solutions ([2][3]) for logging cypress commands are not useful in this case. This is because, it assumes that the test actually completes (either pass / fail). But in this case, it is simply killed.
So, the ask is to have the command log be send to the CI logs as well.
[1] https://docs.cypress.io/guides/references/troubleshooting#Print-DEBUG-logs
[2] https://github.com/bahmutov/cypress-failed-log
[3] https://github.com/archfz/cypress-terminal-report
Beta Was this translation helpful? Give feedback.
All reactions