playwright icon indicating copy to clipboard operation
playwright copied to clipboard

[Feature] Include `parallelIndex` in the JSON report

Open arjunattam opened this issue 1 year ago • 0 comments

Hi team! 😁 This is a follow-up to #19570 and #19519

My goal is to use the JSON report output to build a visualization that shows worker utilization (similar to the image in #19519). I believe this can be achieved by adding the parallelIndex property to JSONReportTestResult. Is there a different way to achieve the goal?

export interface JSONReportTestResult {
  workerIndex: number;
+ parallelIndex: number;
  status: TestStatus | undefined;
  ...
}

If this change sounds good, I can submit a PR. Thanks!

arjunattam avatar Oct 10 '24 07:10 arjunattam