feat(parallelIndex): added parallelIndex to JSONReportTestResult
Co-authored-by: Neel Deshmukh <neel.deshmukh1@gmail.com> Co-authored-by: Marcelo Villalobos Diaz <mvillalobosdiaz@csumb.edu>
This commit is contained in:
parent
bd74fc4964
commit
423a0aae31
|
|
@ -203,6 +203,7 @@ class JSONReporter implements ReporterV2 {
|
|||
const steps = result.steps.filter(s => s.category === 'test.step');
|
||||
const jsonResult: JSONReportTestResult = {
|
||||
workerIndex: result.workerIndex,
|
||||
parallelIndex: result.parallelIndex,
|
||||
status: result.status,
|
||||
duration: result.duration,
|
||||
error: result.error,
|
||||
|
|
|
|||
1
packages/playwright/types/testReporter.d.ts
vendored
1
packages/playwright/types/testReporter.d.ts
vendored
|
|
@ -291,6 +291,7 @@ export interface JSONReportError {
|
|||
|
||||
export interface JSONReportTestResult {
|
||||
workerIndex: number;
|
||||
parallelIndex: number;
|
||||
status: TestStatus | undefined;
|
||||
duration: number;
|
||||
error: TestError | undefined;
|
||||
|
|
|
|||
Loading…
Reference in a new issue