chore: resetting the test when top changes (#26797)

This commit is contained in:
Matt Schile
2023-05-23 08:53:26 -06:00
committed by GitHub
parent 569197c4fb
commit 20b5bb08d6
8 changed files with 26 additions and 3 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ import type { ReporterRunState, StudioRecorderState } from './reporter'
interface MochaRunnerState {
startTime?: number
currentId?: number | null
currentId?: string | null
emissions?: Emissions
tests?: Record<string, Cypress.ObjectLike>
passed?: number
+1
View File
@@ -24,6 +24,7 @@ export interface AppCaptureProtocolCommon {
afterSpec (): Promise<void>
connectToBrowser (cdpClient: CDPClient): Promise<void>
pageLoading (input: any): void
resetTest (testId: string): void
}
export interface AppCaptureProtocolInterface extends AppCaptureProtocolCommon {