Skip to content

Commit

Permalink
core(layout-shift-elements): hide audit
Browse files Browse the repository at this point in the history
  • Loading branch information
connorjclark committed Jan 5, 2024
1 parent 30d6200 commit 0ff259d
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 17 deletions.
2 changes: 1 addition & 1 deletion core/config/default-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand All @@ -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': {
Expand Down
27 changes: 15 additions & 12 deletions core/test/fixtures/user-flows/reports/sample-flow-result.json
Original file line number Diff line number Diff line change
Expand Up @@ -4072,10 +4072,6 @@
"id": "lcp-lazy-loaded",
"weight": 0
},
{
"id": "layout-shift-elements",
"weight": 0
},
{
"id": "layout-shifts",
"weight": 0
Expand Down Expand Up @@ -4167,6 +4163,11 @@
"id": "resource-summary",
"weight": 0,
"group": "hidden"
},
{
"id": "layout-shift-elements",
"weight": 0,
"group": "hidden"
}
],
"id": "performance",
Expand Down Expand Up @@ -11129,10 +11130,6 @@
"id": "third-party-summary",
"weight": 0
},
{
"id": "layout-shift-elements",
"weight": 0
},
{
"id": "layout-shifts",
"weight": 0
Expand Down Expand Up @@ -11204,6 +11201,11 @@
"id": "resource-summary",
"weight": 0,
"group": "hidden"
},
{
"id": "layout-shift-elements",
"weight": 0,
"group": "hidden"
}
],
"id": "performance",
Expand Down Expand Up @@ -22189,10 +22191,6 @@
"id": "lcp-lazy-loaded",
"weight": 0
},
{
"id": "layout-shift-elements",
"weight": 0
},
{
"id": "layout-shifts",
"weight": 0
Expand Down Expand Up @@ -22284,6 +22282,11 @@
"id": "resource-summary",
"weight": 0,
"group": "hidden"
},
{
"id": "layout-shift-elements",
"weight": 0,
"group": "hidden"
}
],
"id": "performance",
Expand Down
9 changes: 5 additions & 4 deletions core/test/results/sample_v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -6236,10 +6236,6 @@
"id": "lcp-lazy-loaded",
"weight": 0
},
{
"id": "layout-shift-elements",
"weight": 0
},
{
"id": "layout-shifts",
"weight": 0
Expand Down Expand Up @@ -6331,6 +6327,11 @@
"id": "resource-summary",
"weight": 0,
"group": "hidden"
},
{
"id": "layout-shift-elements",
"weight": 0,
"group": "hidden"
}
],
"id": "performance",
Expand Down
5 changes: 5 additions & 0 deletions core/test/scenarios/__snapshots__/api-test-pptr.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ Array [
"largest-contentful-paint",
"largest-contentful-paint-element",
"layout-shift-elements",
"layout-shifts",
"lcp-lazy-loaded",
"legacy-javascript",
"link-in-text-block",
Expand Down Expand Up @@ -454,6 +455,7 @@ Array [
"interaction-to-next-paint",
"is-on-https",
"layout-shift-elements",
"layout-shifts",
"legacy-javascript",
"long-tasks",
"main-thread-tasks",
Expand Down Expand Up @@ -492,6 +494,7 @@ Array [

exports[`Individual modes API startTimespan should compute ConsoleMessage results across a span of time 2`] = `
Array [
"layout-shifts",
"non-composited-animations",
"preload-fonts",
"third-party-summary",
Expand All @@ -515,6 +518,7 @@ Array [
"interaction-to-next-paint",
"is-on-https",
"layout-shift-elements",
"layout-shifts",
"legacy-javascript",
"long-tasks",
"main-thread-tasks",
Expand Down Expand Up @@ -556,6 +560,7 @@ Array [
"bootup-time",
"duplicated-javascript",
"efficient-animated-content",
"layout-shifts",
"legacy-javascript",
"modern-image-formats",
"network-rtt",
Expand Down

0 comments on commit 0ff259d

Please sign in to comment.