Skip to content

[probes.browser] Make accessing playwright reports quicker - #1073

Merged
manugarg merged 4 commits into
mainfrom
artifacts_skip_report
Apr 28, 2025
Merged

manugarg merged 4 commits into
mainfrom
artifacts_skip_report

Conversation

@manugarg

@manugarg manugarg commented Apr 28, 2025 •

Copy link
Copy Markdown
Contributor
  • Playwright report is always saved in a subdirectory under the output directory, e.g. date1/ts1/pw-report where date1/ts1 is the output directory for a specific run. Date and timestamp are useful, but 'pw-report' here adds an unnecessary step while accessing the report.
  • This change removes this subdirectory while saving the artifacts, making report access quicker.

For example, report will now be at this path: http://localhost:9313/artifacts/test_browser_probe/2025-04-28/1745861849606/ instead of http://localhost:9313/artifacts/test_browser_probe/2025-04-28/1745861849606/report

- Playwright report is always saved under a subdirectory in output
  directory, e.g. date/ts1/pw-report. Date and timestamp are useful, but
  'pw-report' here adds another step while accessing the report.
- This change removes this unnecessary subdirectory while saving the
  artifacts, making report access quicker.
@manugarg manugarg changed the title [probes.browser] Remove one step in accessing playwright reports. [probes.browser] Make accessing playwright reports quicker Apr 28, 2025
@manugarg
manugarg merged commit ddb1e59 into main Apr 28, 2025
@manugarg
manugarg deleted the artifacts_skip_report branch April 28, 2025 17:41
@manugarg manugarg added this to the v0.14.1 milestone Apr 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant