Skip to content

Commit

Permalink
Fix test values of dom-size items
Browse files Browse the repository at this point in the history
  • Loading branch information
shogohida committed Nov 1, 2022
1 parent e87d529 commit aabd3db
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions cli/test/smokehouse/test-definitions/dobetterweb.js
Original file line number Diff line number Diff line change
Expand Up @@ -405,11 +405,29 @@ const expectations = {
numericValue: 153,
details: {
items: [
{statistic: 'Total DOM Elements', value: 153},
{statistic: 'Maximum DOM Depth', value: 4},
{
statistic: 'Total DOM Elements',
value: {
type: 'numeric',
granularity: 1,
value: 153,
},
},
{
statistic: 'Maximum DOM Depth',
value: {
type: 'numeric',
granularity: 1,
value: 4,
},
},
{
statistic: 'Maximum Child Elements',
value: 100,
value: {
type: 'numeric',
granularity: 1,
value: 100,
},
node: {snippet: '<div id="shadow-root-container">'},
},
],
Expand Down

0 comments on commit aabd3db

Please sign in to comment.