diff --git a/packages/playwright-core/src/web/htmlReport/htmlReport.tsx b/packages/playwright-core/src/web/htmlReport/htmlReport.tsx index 4cfabf5c81..8ee1175201 100644 --- a/packages/playwright-core/src/web/htmlReport/htmlReport.tsx +++ b/packages/playwright-core/src/web/htmlReport/htmlReport.tsx @@ -89,7 +89,7 @@ const TestFileSummaryView: React.FC<{ {file.fileName} }> - {file.tests.map((test, i) => + {file.tests.map((test, i) =>
{msToString(test.duration)} {statusIcon(test.outcome)} @@ -113,7 +113,7 @@ const TestCaseView: React.FC<{ const fileId = testId.split('-')[0]; if (!fileId) return; - const result = await fetch(`/data/${fileId}.json`, { cache: 'no-cache' }); + const result = await fetch(`data/${fileId}.json`, { cache: 'no-cache' }); const file = await result.json() as TestFile; for (const t of file.tests) { if (t.testId === testId) {