Skip to content

Commit d582de6

Browse files
authored
tests: refresh sample artifacts (#15962)
1 parent 6613696 commit d582de6

22 files changed

+294099
-138448
lines changed

cli/test/smokehouse/__snapshots__/report-assert-test.js.snap

+14-14
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
exports[`getAssertionReport works (multiple failing) 1`] = `
44
"X difference at cumulative-layout-shift audit.details.items.length
55
expected: []
6-
found: [{\\"cumulativeLayoutShiftMainFrame\\":0.13570762803819444,\\"newEngineResult\\":{\\"cumulativeLayoutShift\\":0.13570762803819444,\\"cumulativeLayoutShiftMainFrame\\":0.13570762803819444},\\"newEngineResultDiffered\\":false}]
6+
found: [{\\"cumulativeLayoutShiftMainFrame\\":0.09957584751767748,\\"newEngineResult\\":{\\"cumulativeLayoutShift\\":0.09957584751767748,\\"cumulativeLayoutShiftMainFrame\\":0.09957584751767748},\\"newEngineResultDiffered\\":false}]
77
88
99
X difference at cumulative-layout-shift audit.details.blah
@@ -15,11 +15,11 @@ exports[`getAssertionReport works (multiple failing) 1`] = `
1515
\\"id\\": \\"cumulative-layout-shift\\",
1616
\\"title\\": \\"Cumulative Layout Shift\\",
1717
\\"description\\": \\"Cumulative Layout Shift measures the movement of visible elements within the viewport. [Learn more about the Cumulative Layout Shift metric](https://web.dev/articles/cls).\\",
18-
\\"score\\": 0.8,
18+
\\"score\\": 0.9,
1919
\\"scoreDisplayMode\\": \\"numeric\\",
20-
\\"numericValue\\": 0.13570762803819444,
20+
\\"numericValue\\": 0.09957584751767748,
2121
\\"numericUnit\\": \\"unitless\\",
22-
\\"displayValue\\": \\"0.136\\",
22+
\\"displayValue\\": \\"0.1\\",
2323
\\"scoringOptions\\": {
2424
\\"p10\\": 0.1,
2525
\\"median\\": 0.25
@@ -28,10 +28,10 @@ exports[`getAssertionReport works (multiple failing) 1`] = `
2828
\\"type\\": \\"debugdata\\",
2929
\\"items\\": [
3030
{
31-
\\"cumulativeLayoutShiftMainFrame\\": 0.13570762803819444,
31+
\\"cumulativeLayoutShiftMainFrame\\": 0.09957584751767748,
3232
\\"newEngineResult\\": {
33-
\\"cumulativeLayoutShift\\": 0.13570762803819444,
34-
\\"cumulativeLayoutShiftMainFrame\\": 0.13570762803819444
33+
\\"cumulativeLayoutShift\\": 0.09957584751767748,
34+
\\"cumulativeLayoutShiftMainFrame\\": 0.09957584751767748
3535
},
3636
\\"newEngineResultDiffered\\": false
3737
}
@@ -43,18 +43,18 @@ exports[`getAssertionReport works (multiple failing) 1`] = `
4343
exports[`getAssertionReport works (trivial failing) 1`] = `
4444
"X difference at cumulative-layout-shift audit.details.items.length
4545
expected: []
46-
found: [{\\"cumulativeLayoutShiftMainFrame\\":0.13570762803819444,\\"newEngineResult\\":{\\"cumulativeLayoutShift\\":0.13570762803819444,\\"cumulativeLayoutShiftMainFrame\\":0.13570762803819444},\\"newEngineResultDiffered\\":false}]
46+
found: [{\\"cumulativeLayoutShiftMainFrame\\":0.09957584751767748,\\"newEngineResult\\":{\\"cumulativeLayoutShift\\":0.09957584751767748,\\"cumulativeLayoutShiftMainFrame\\":0.09957584751767748},\\"newEngineResultDiffered\\":false}]
4747
4848
found result:
4949
{
5050
\\"id\\": \\"cumulative-layout-shift\\",
5151
\\"title\\": \\"Cumulative Layout Shift\\",
5252
\\"description\\": \\"Cumulative Layout Shift measures the movement of visible elements within the viewport. [Learn more about the Cumulative Layout Shift metric](https://web.dev/articles/cls).\\",
53-
\\"score\\": 0.8,
53+
\\"score\\": 0.9,
5454
\\"scoreDisplayMode\\": \\"numeric\\",
55-
\\"numericValue\\": 0.13570762803819444,
55+
\\"numericValue\\": 0.09957584751767748,
5656
\\"numericUnit\\": \\"unitless\\",
57-
\\"displayValue\\": \\"0.136\\",
57+
\\"displayValue\\": \\"0.1\\",
5858
\\"scoringOptions\\": {
5959
\\"p10\\": 0.1,
6060
\\"median\\": 0.25
@@ -63,10 +63,10 @@ exports[`getAssertionReport works (trivial failing) 1`] = `
6363
\\"type\\": \\"debugdata\\",
6464
\\"items\\": [
6565
{
66-
\\"cumulativeLayoutShiftMainFrame\\": 0.13570762803819444,
66+
\\"cumulativeLayoutShiftMainFrame\\": 0.09957584751767748,
6767
\\"newEngineResult\\": {
68-
\\"cumulativeLayoutShift\\": 0.13570762803819444,
69-
\\"cumulativeLayoutShiftMainFrame\\": 0.13570762803819444
68+
\\"cumulativeLayoutShift\\": 0.09957584751767748,
69+
\\"cumulativeLayoutShiftMainFrame\\": 0.09957584751767748
7070
},
7171
\\"newEngineResultDiffered\\": false
7272
}

0 commit comments

Comments
 (0)