-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
test(runner): preserve browser tracing if test fails #59469
Conversation
Tests Passed |
Stats from current PRDefault BuildGeneral
Client Bundles (main, webpack)
Legacy Client Bundles (polyfills)
Client Pages
Client Build Manifests
Rendered Page Sizes
Edge SSR bundle Size
Middleware size
Next Runtimes
|
9ac98c8
to
b4c854f
Compare
a1e6ef1
to
927eb40
Compare
927eb40
to
231cb0c
Compare
@@ -178,6 +178,7 @@ jobs: | |||
with: | |||
name: test-reports | |||
path: | | |||
test/traces |
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.
this should probably have been put in a different artifact as this artifact is being downloaded in CI for datadog and it will probably make the download a lot slower
but I guess it's only for failed tests which shouldn't happen on canary
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.
good point, will make changes
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.
### Updating snapshot upload location per suggestion at #59469 (comment) Closes PACK-2132 --------- Co-authored-by: Leah <8845940+ForsakenHarmony@users.noreply.github.com>
Description
I was tinkering an idea for debugging flaky tests,
if we could attach brwoser side tracing with playwright
?then I found
run-tests
wipes out after runPR adjusts the logics for the tracing
context.tracing.stop
when page closes or context is being closedtest/traces
under certain conditions - if it's in the CI, and it's retry, and the test is failed after retrySo we can download it and audit to get some more context to debug.
Closes PACK-2129