From c3c77e6427660da9b5000b4b55058f6201723501 Mon Sep 17 00:00:00 2001 From: Philippe Serhal Date: Tue, 25 Jun 2024 03:04:50 -0400 Subject: [PATCH] chore(e2e): fix links to source in new e2e report (#2507) --- e2e-report/components/table.js | 2 +- e2e-report/utils/data.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/e2e-report/components/table.js b/e2e-report/components/table.js index 85b55a0fd6..ddce9310e6 100644 --- a/e2e-report/components/table.js +++ b/e2e-report/components/table.js @@ -34,7 +34,7 @@ function TestSuiteRow({ suite, idx }) { <> - + {suite.name} diff --git a/e2e-report/utils/data.js b/e2e-report/utils/data.js index 6f874c67a6..77e81e5ac2 100644 --- a/e2e-report/utils/data.js +++ b/e2e-report/utils/data.js @@ -12,6 +12,7 @@ nonEmptySuites.forEach((suite) => { suite.failedKnown = actualFailed.filter((t) => !!t.reason).length || 0 suite.failedUnknown = suite.failed - suite.failedKnown + suite.sourceUrl = `https://github.com/vercel/next.js/blob/${fileData.nextVersion}/${suite.file}` }) const suitesWithFailures = nonEmptySuites.filter((suite) => suite.failed > 0)