From 2f8fd0c49ed18de4b54dee88bf2db84ed8a95bfc Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Mon, 9 Dec 2024 10:41:53 +0100 Subject: [PATCH] Update Lighthouse defaults --- packages/e2e-test-utils-playwright/src/lighthouse/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/e2e-test-utils-playwright/src/lighthouse/index.ts b/packages/e2e-test-utils-playwright/src/lighthouse/index.ts index 0ba2c8e67ba610..699835f903d1e6 100644 --- a/packages/e2e-test-utils-playwright/src/lighthouse/index.ts +++ b/packages/e2e-test-utils-playwright/src/lighthouse/index.ts @@ -25,13 +25,13 @@ export class Lighthouse { * the summary. */ async getReport() { - // From https://github.com/GoogleChrome/lighthouse/blob/d149e9c1b628d5881ca9ca451278d99ff1b31d9a/core/config/default-config.js#L433-L503 + // From https://github.com/GoogleChrome/lighthouse/blob/36cac182a6c637b1671c57326d7c0241633d0076/core/config/default-config.js#L381-L446 const audits = { 'largest-contentful-paint': 'LCP', 'total-blocking-time': 'TBT', interactive: 'TTI', 'cumulative-layout-shift': 'CLS', - 'experimental-interaction-to-next-paint': 'INP', + 'interaction-to-next-paint': 'INP', }; const report = await lighthouse(