Skip to content

Commit

Permalink
EXEC-204: Add results with seconds instead of ms.
Browse files Browse the repository at this point in the history
  • Loading branch information
ibedarev committed Sep 28, 2023
1 parent 186a2cf commit ea6d24e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qase-playwright/src/reporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import {
composeOptions,
} from 'qase-javascript-commons';

type ArrayItemType<T> = T extends Array<infer R> ? R : never;
type ArrayItemType<T> = T extends (infer R)[] ? R : never;

export type PlaywrightQaseOptionsType = ConfigType;

Expand Down Expand Up @@ -138,7 +138,7 @@ export class PlaywrightQaseReporter implements Reporter {
error: result.error
? PlaywrightQaseReporter.transformError(result.error)
: undefined,
startTime: result.startTime.valueOf(),
startTime: result.startTime.valueOf() / 1000,
duration: result.duration,
steps: PlaywrightQaseReporter.transformSteps(result.steps),
attachments: PlaywrightQaseReporter.transformAttachments(
Expand Down

0 comments on commit ea6d24e

Please sign in to comment.