From a2b1b1aa8fc51deca8e04e942e8d615ef45fc08f Mon Sep 17 00:00:00 2001 From: nhthinh-axonivy Date: Fri, 27 Dec 2024 15:29:27 +0700 Subject: [PATCH] feature/IVYPORTAL-17377-Create-pipeline-to-run-Lighthouse-report --- .../portal-selenium-test/lighthouse/puppeteer-script.mjs | 2 -- 1 file changed, 2 deletions(-) diff --git a/AxonIvyPortal/portal-selenium-test/lighthouse/puppeteer-script.mjs b/AxonIvyPortal/portal-selenium-test/lighthouse/puppeteer-script.mjs index e3e786250f..e2bf1e9c2c 100644 --- a/AxonIvyPortal/portal-selenium-test/lighthouse/puppeteer-script.mjs +++ b/AxonIvyPortal/portal-selenium-test/lighthouse/puppeteer-script.mjs @@ -1,5 +1,4 @@ import fs from "fs"; -import path from "path"; import puppeteer from "puppeteer"; import lighthouse from "lighthouse"; import { fileURLToPath } from "url"; @@ -36,7 +35,6 @@ const __dirname = dirname(__filename); await page.setViewport({ width: 1920, height: 1080 }); // Login process - const user = users[0]; await page.goto("http://localhost:8080/Portal", { waitUntil: "networkidle0", });