mirror of
https://github.com/microsoft/playwright.git
synced 2024-09-11 20:37:54 +03:00
chore: only patch callIds when there are multiple trace files (#30721)
This commit is contained in:
parent
cfde97b0a0
commit
1a22e06062
@ -178,7 +178,7 @@ function mergeActionsAndUpdateTiming(contexts: ContextEntry[]) {
|
||||
// traces from more than one file we make the ids unique across the
|
||||
// files. The code does not update snapshot ids as they are always
|
||||
// retrieved from a particular trace file.
|
||||
if (traceFileToContexts.size)
|
||||
if (traceFileToContexts.size > 1)
|
||||
makeCallIdsUniqueAcrossTraceFiles(contexts, ++traceFileId);
|
||||
// Align action times across runner and library contexts within each trace file.
|
||||
const map = mergeActionsAndUpdateTimingSameTrace(contexts);
|
||||
|
Loading…
Reference in New Issue
Block a user