From 8e518e32ca7777ac3380f129f694f9385f550474 Mon Sep 17 00:00:00 2001 From: nhthinh-axonivy Date: Fri, 27 Dec 2024 15:34:51 +0700 Subject: [PATCH] feature/IVYPORTAL-17377-Create-pipeline-to-run-Lighthouse-report --- .../portal-selenium-test/lighthouse/puppeteer-script.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AxonIvyPortal/portal-selenium-test/lighthouse/puppeteer-script.mjs b/AxonIvyPortal/portal-selenium-test/lighthouse/puppeteer-script.mjs index e2bf1e9c2c..67a2e44086 100644 --- a/AxonIvyPortal/portal-selenium-test/lighthouse/puppeteer-script.mjs +++ b/AxonIvyPortal/portal-selenium-test/lighthouse/puppeteer-script.mjs @@ -68,7 +68,7 @@ const __dirname = dirname(__filename); }); // Save reports - fs.writeFileSync("lighthouse-report.html", lhr.report[0]); + fs.writeFileSync("lighthouse-report.html", lhr.report); fs.writeFileSync( "lighthouse-reports/report.json", JSON.stringify(lhr, null, 2)