-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
perf: remove reporter logs for collapsed tests in run mode #25632
Conversation
@mschile will this retrain the logs of failed tests? wondering if users can still debug when running
EDIT: NEVER MIND. I only looked at the pictures and didn't read the full text. You say the logs for the failed tests are retrained. |
Yes, when running in headed run mode, the logs will be retained for the failed tests but would be cleared for the successful tests. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good with changelog update!
6 flaky tests on run #43641 ↗︎
Details:
commands/net_stubbing.cy.ts • 3 flaky tests • 5x-driver-webkit
cypress/cypress.cy.js • 3 flaky tests • 5x-driver-webkit
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. |
* fix: match alternate edge version string format (#25457) * fix: match alternate edge version string format * chore: add changelog entry * Apply suggestions from code review * Update cli/CHANGELOG.md * Update cli/CHANGELOG.md * chore: update changelog to release on Tuesday for 12.5 * [run ci] --------- Co-authored-by: Emily Rohrbough <[email protected]> Co-authored-by: Bill Glesias <[email protected]> * chore: Use upstream cypress-testing-library again (#25548) * chore: Use upstream cypress-testing-library again * Update cypress-example-kitchensink commit hash * Revert "Update cypress-example-kitchensink commit hash" This reverts commit 8de5d1f. --------- Co-authored-by: Emily Rohrbough <[email protected]> * fix(deps): update dependency underscore.string to v3.3.6 🌟 (#25574) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Bill Glesias <[email protected]> * feat: Debug page [IATR] (#25488) Co-authored-by: Zachary Williams <[email protected]> Co-authored-by: Ankit <[email protected]> Co-authored-by: Stokes Player <[email protected]> Co-authored-by: elevatebart <[email protected]> Co-authored-by: Rocky <[email protected]> Co-authored-by: Stokes Player <[email protected]> Co-authored-by: Emily Rohrbough <[email protected]> Co-authored-by: Mark Noonan <[email protected]> Co-authored-by: Mike Plummer <[email protected]> Co-authored-by: amehta265 <[email protected]> Co-authored-by: Adam Stone-Lord <[email protected]> Co-authored-by: Mike Plummer <[email protected]> Co-authored-by: Lachlan Miller <[email protected]> * chore: fix changlelog section parsing and reference right ENV (#25633) * test: skip flaky migration test (#25378) * chore: Update README to add Cloud badges (#25645) * perf: remove reporter logs for collapsed tests in run mode (#25632) Co-authored-by: Emily Rohrbough <[email protected]> * chore: 12.5.0 release (#25648) * dependency: update dependency simple-git to v3.16.0 [security] (#25603) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Zachary Williams <[email protected]> Co-authored-by: Emily Rohrbough <[email protected]> * chore: renovate semantic types and percy ci updates (#25651) --------- Co-authored-by: Steven Collins <[email protected]> Co-authored-by: Emily Rohrbough <[email protected]> Co-authored-by: Bill Glesias <[email protected]> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Stokes Player <[email protected]> Co-authored-by: Zachary Williams <[email protected]> Co-authored-by: Ankit <[email protected]> Co-authored-by: Stokes Player <[email protected]> Co-authored-by: elevatebart <[email protected]> Co-authored-by: Rocky <[email protected]> Co-authored-by: Mark Noonan <[email protected]> Co-authored-by: Mike Plummer <[email protected]> Co-authored-by: amehta265 <[email protected]> Co-authored-by: Adam Stone-Lord <[email protected]> Co-authored-by: Mike Plummer <[email protected]> Co-authored-by: Lachlan Miller <[email protected]> Co-authored-by: Jennifer Shehane <[email protected]> Co-authored-by: Matt Schile <[email protected]>
Additional details
In order to reduce memory consumption, I am clearing the reporter logs for collapsed tests in run mode.
Steps to test
Run a spec in
headed
run
mode and verify a successful test has its reporter logs cleared and a failed test has its reporter logs retained.How has the user experience changed?
Before (logs retained):
After (logs cleared):
Running the following spec produced the following results:
Before:
After:
PR Tasks
cypress-documentation
?type definitions
?