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)