From 21c17767a394cb47450dc1c367a5c1a9e846e621 Mon Sep 17 00:00:00 2001 From: Connor Clark Date: Thu, 11 Jan 2024 14:56:42 -0800 Subject: [PATCH] core(layout-shift-elements): hide audit (#15730) --- core/config/default-config.js | 2 +- .../reports/sample-flow-result.json | 27 ++++++++++--------- core/test/results/sample_v2.json | 9 ++++--- 3 files changed, 21 insertions(+), 17 deletions(-) diff --git a/core/config/default-config.js b/core/config/default-config.js index dcfd8671dcdf..3624038483d8 100644 --- a/core/config/default-config.js +++ b/core/config/default-config.js @@ -478,7 +478,6 @@ const defaultConfig = { {id: 'third-party-facades', weight: 0}, {id: 'largest-contentful-paint-element', weight: 0}, {id: 'lcp-lazy-loaded', weight: 0}, - {id: 'layout-shift-elements', weight: 0}, {id: 'layout-shifts', weight: 0}, {id: 'uses-passive-event-listeners', weight: 0}, {id: 'no-document-write', weight: 0}, @@ -505,6 +504,7 @@ const defaultConfig = { {id: 'final-screenshot', weight: 0, group: 'hidden'}, {id: 'script-treemap-data', weight: 0, group: 'hidden'}, {id: 'resource-summary', weight: 0, group: 'hidden'}, + {id: 'layout-shift-elements', weight: 0, group: 'hidden'}, ], }, 'accessibility': { diff --git a/core/test/fixtures/user-flows/reports/sample-flow-result.json b/core/test/fixtures/user-flows/reports/sample-flow-result.json index 89b0e86ad8ba..da432023247d 100644 --- a/core/test/fixtures/user-flows/reports/sample-flow-result.json +++ b/core/test/fixtures/user-flows/reports/sample-flow-result.json @@ -4072,10 +4072,6 @@ "id": "lcp-lazy-loaded", "weight": 0 }, - { - "id": "layout-shift-elements", - "weight": 0 - }, { "id": "layout-shifts", "weight": 0 @@ -4167,6 +4163,11 @@ "id": "resource-summary", "weight": 0, "group": "hidden" + }, + { + "id": "layout-shift-elements", + "weight": 0, + "group": "hidden" } ], "id": "performance", @@ -11130,10 +11131,6 @@ "id": "third-party-summary", "weight": 0 }, - { - "id": "layout-shift-elements", - "weight": 0 - }, { "id": "layout-shifts", "weight": 0 @@ -11205,6 +11202,11 @@ "id": "resource-summary", "weight": 0, "group": "hidden" + }, + { + "id": "layout-shift-elements", + "weight": 0, + "group": "hidden" } ], "id": "performance", @@ -22192,10 +22194,6 @@ "id": "lcp-lazy-loaded", "weight": 0 }, - { - "id": "layout-shift-elements", - "weight": 0 - }, { "id": "layout-shifts", "weight": 0 @@ -22287,6 +22285,11 @@ "id": "resource-summary", "weight": 0, "group": "hidden" + }, + { + "id": "layout-shift-elements", + "weight": 0, + "group": "hidden" } ], "id": "performance", diff --git a/core/test/results/sample_v2.json b/core/test/results/sample_v2.json index 34f2bdebbdff..a55affd646c6 100644 --- a/core/test/results/sample_v2.json +++ b/core/test/results/sample_v2.json @@ -6236,10 +6236,6 @@ "id": "lcp-lazy-loaded", "weight": 0 }, - { - "id": "layout-shift-elements", - "weight": 0 - }, { "id": "layout-shifts", "weight": 0 @@ -6331,6 +6327,11 @@ "id": "resource-summary", "weight": 0, "group": "hidden" + }, + { + "id": "layout-shift-elements", + "weight": 0, + "group": "hidden" } ], "id": "performance",