Skip to content

Commit aabd3db

Browse files
committed
Fix test values of dom-size items
1 parent e87d529 commit aabd3db

File tree

1 file changed

+21
-3
lines changed

1 file changed

+21
-3
lines changed

cli/test/smokehouse/test-definitions/dobetterweb.js

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -405,11 +405,29 @@ const expectations = {
405405
numericValue: 153,
406406
details: {
407407
items: [
408-
{statistic: 'Total DOM Elements', value: 153},
409-
{statistic: 'Maximum DOM Depth', value: 4},
408+
{
409+
statistic: 'Total DOM Elements',
410+
value: {
411+
type: 'numeric',
412+
granularity: 1,
413+
value: 153,
414+
},
415+
},
416+
{
417+
statistic: 'Maximum DOM Depth',
418+
value: {
419+
type: 'numeric',
420+
granularity: 1,
421+
value: 4,
422+
},
423+
},
410424
{
411425
statistic: 'Maximum Child Elements',
412-
value: 100,
426+
value: {
427+
type: 'numeric',
428+
granularity: 1,
429+
value: 100,
430+
},
413431
node: {snippet: '<div id="shadow-root-container">'},
414432
},
415433
],

0 commit comments

Comments
 (0)