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 4, 2024
1 parent ce106f0 commit 6123b75
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 @@ -4068,10 +4068,6 @@
"id": "lcp-lazy-loaded",
"weight": 0
},
{
"id": "layout-shift-elements",
"weight": 0
},
{
"id": "layout-shifts",
"weight": 0
Expand Down Expand Up @@ -4163,6 +4159,11 @@
"id": "resource-summary",
"weight": 0,
"group": "hidden"
},
{
"id": "layout-shift-elements",
"weight": 0,
"group": "hidden"
}
],
"id": "performance",
Expand Down Expand Up @@ -11125,10 +11126,6 @@
"id": "third-party-summary",
"weight": 0
},
{
"id": "layout-shift-elements",
"weight": 0
},
{
"id": "layout-shifts",
"weight": 0
Expand Down Expand Up @@ -11200,6 +11197,11 @@
"id": "resource-summary",
"weight": 0,
"group": "hidden"
},
{
"id": "layout-shift-elements",
"weight": 0,
"group": "hidden"
}
],
"id": "performance",
Expand Down Expand Up @@ -22177,10 +22179,6 @@
"id": "lcp-lazy-loaded",
"weight": 0
},
{
"id": "layout-shift-elements",
"weight": 0
},
{
"id": "layout-shifts",
"weight": 0
Expand Down Expand Up @@ -22272,6 +22270,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 @@ -6232,10 +6232,6 @@
"id": "lcp-lazy-loaded",
"weight": 0
},
{
"id": "layout-shift-elements",
"weight": 0
},
{
"id": "layout-shifts",
"weight": 0
Expand Down Expand Up @@ -6327,6 +6323,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 6123b75

Please sign in to comment.