Skip to content

Commit acfabe9

Browse files
author
rocketraccoon
committed
fix: time travel mode
1 parent 4cc65fd commit acfabe9

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/adapters/tool/testplane/test-results-handler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export const handleTestResults = (testplane: TestplaneWithHtmlReporter, reportBu
6262
reportPath: testplane.htmlReporter.config.path,
6363
events: testplane.events,
6464
eventName,
65-
timeTravelConfig: testplane.config.timeTravel,
65+
timeTravelConfig: testplane.config.browsers[formattedResultWithoutAttempt.browserId].timeTravel,
6666
snapshotsSaver: testplane.htmlReporter.snapshotsSaver
6767
});
6868

testplane.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ async function handleTestResults(testplane: TestplaneWithHtmlReporter, reportBui
145145
testResult: formattedResult,
146146
attempt,
147147
reportPath: testplane.htmlReporter.config.path,
148-
timeTravelConfig: testplane.config.timeTravel,
148+
timeTravelConfig: testplane.config.browsers[formattedResult.browserId].timeTravel,
149149
events: testplane.events,
150150
eventName,
151151
snapshotsSaver: testplane.htmlReporter.snapshotsSaver

0 commit comments

Comments
 (0)