remove category
This commit is contained in:
parent
9a9d789e9b
commit
e4786e0154
|
|
@ -27,7 +27,6 @@ const result: TestResult = {
|
|||
errors: [],
|
||||
steps: [{
|
||||
title: 'Outer step',
|
||||
category: 'test.step',
|
||||
startTime: new Date(100).toUTCString(),
|
||||
duration: 10,
|
||||
location: { file: 'test.spec.ts', line: 62, column: 0 },
|
||||
|
|
@ -35,7 +34,6 @@ const result: TestResult = {
|
|||
steps: [{
|
||||
title: 'Inner step',
|
||||
startTime: new Date(200).toUTCString(),
|
||||
category: 'test.step',
|
||||
duration: 10,
|
||||
location: { file: 'test.spec.ts', line: 82, column: 0 },
|
||||
steps: [],
|
||||
|
|
@ -138,7 +136,6 @@ const resultWithAttachment: TestResult = {
|
|||
errors: [],
|
||||
steps: [{
|
||||
title: 'Outer step',
|
||||
category: 'test.step',
|
||||
startTime: new Date(100).toUTCString(),
|
||||
duration: 10,
|
||||
location: { file: 'test.spec.ts', line: 62, column: 0 },
|
||||
|
|
|
|||
|
|
@ -102,7 +102,6 @@ export type TestResult = {
|
|||
|
||||
export type TestStep = {
|
||||
title: string;
|
||||
category: 'hook' | 'fixture' | 'test.step' | 'expect' | 'attach' | string;
|
||||
startTime: string;
|
||||
duration: number;
|
||||
location?: Location;
|
||||
|
|
|
|||
|
|
@ -498,7 +498,6 @@ class HtmlBuilder {
|
|||
const { step, duration, count } = dedupedStep;
|
||||
const testStep: TestStep = {
|
||||
title: step.title,
|
||||
category: step.category,
|
||||
startTime: step.startTime.toISOString(),
|
||||
duration,
|
||||
steps: dedupeSteps(step.steps).map(s => this._createTestStep(s, result)),
|
||||
|
|
|
|||
Loading…
Reference in a new issue