Skip to content

Commit 5b8a5c8

Browse files
committed
Retain and rerun feature initial commit
1 parent 1b1b143 commit 5b8a5c8

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

packages/service/src/types.ts

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,3 +176,26 @@ export type StepDef = {
176176
line: number
177177
column: number
178178
}
179+
180+
export interface PreservedAttempt {
181+
testUid: string
182+
scope: 'test' | 'suite'
183+
capturedAt: number
184+
window: { start: number; end: number }
185+
test: {
186+
title?: string
187+
fullTitle?: string
188+
file?: string
189+
callSource?: string
190+
start?: number
191+
end?: number
192+
duration?: number
193+
state?: 'passed' | 'failed' | 'skipped' | 'pending' | 'running'
194+
error?: { message: string; name?: string; stack?: string }
195+
}
196+
commands: CommandLog[]
197+
consoleLogs: ConsoleLogs[]
198+
networkRequests: NetworkRequest[]
199+
mutations: TraceMutation[]
200+
sources: Record<string, string>
201+
}

0 commit comments

Comments
 (0)