-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Record har and video to helix upload dir #30637
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
Conversation
See https://dev.azure.com/dnceng/public/_build/results?buildId=1022985&view=ms.vss-test-web.build-test-results-tab&runId=31815646&resultId=125300&paneView=dotnet-dnceng.dnceng-build-release-tasks.helix-test-information-tab for what the har/videos look like in the helix test logs tab |
Hello @HaoK! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
_harPath = browserContextOptions.RecordHar.Path; | ||
} | ||
|
||
if (browserContextOptions?.RecordVideo?.Dir != null) | ||
{ | ||
var uploadDir = Environment.GetEnvironmentVariable("HELIX_WORKITEM_UPLOAD_ROOT"); |
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.
nit: This could be done just once above line 55
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.
Yup, will fix in next pr
Fixes #30135