diff --git a/src/reporter.ts b/src/reporter.ts index b7e58eb..5ed7314 100644 --- a/src/reporter.ts +++ b/src/reporter.ts @@ -52,7 +52,7 @@ export const extendedReporterPlugin: ExtendedReporterPlugin = { report.withBrowserScreenshots(screenshots, browser); const callsiteErrors = (testRunInfo.errs || []).filter( - (err) => err.userAgent === browser, + (err) => err.testRunId === testRunId, ); if (Array.isArray(callsiteErrors) && callsiteErrors.length === 0) { return;