Skip to content
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

fix(tracing): allow disabling tracing through env #22050

Merged
merged 1 commit into from
Mar 29, 2023

Conversation

dgozman
Copy link
Contributor

@dgozman dgozman commented Mar 29, 2023

We point tracesDir inside test-results, so it is removed between test runs, while reused context is still writing there.
To fix the issue, we can now pass env.PW_TEST_REUSE_CONTEXT.

References #21993.

We point `tracesDir` inside `test-results`, so it is removed
between test runs, while reused context is still writing there.

To fix the issue, we can now pass `env.PW_TEST_REUSE_CONTEXT`.
@dgozman dgozman changed the title fix(show browser): disable tracing fix(tracing): allow disabling tracing through env Mar 29, 2023
@dgozman dgozman merged commit f7244a7 into microsoft:main Mar 29, 2023
dgozman added a commit that referenced this pull request Mar 31, 2023
We point `tracesDir` inside `test-results`, so it is removed between
test runs, while reused context is still writing there.
To fix the issue, we can now pass `env.PW_TEST_REUSE_CONTEXT`.

References #21993.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants