Skip to content

Commit

Permalink
tests: refresh sample artifacts (#15962)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamraine committed Apr 19, 2024
1 parent 6613696 commit d582de6
Show file tree
Hide file tree
Showing 22 changed files with 294,099 additions and 138,448 deletions.
28 changes: 14 additions & 14 deletions cli/test/smokehouse/__snapshots__/report-assert-test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
exports[`getAssertionReport works (multiple failing) 1`] = `
"X difference at cumulative-layout-shift audit.details.items.length
expected: []
found: [{\\"cumulativeLayoutShiftMainFrame\\":0.13570762803819444,\\"newEngineResult\\":{\\"cumulativeLayoutShift\\":0.13570762803819444,\\"cumulativeLayoutShiftMainFrame\\":0.13570762803819444},\\"newEngineResultDiffered\\":false}]
found: [{\\"cumulativeLayoutShiftMainFrame\\":0.09957584751767748,\\"newEngineResult\\":{\\"cumulativeLayoutShift\\":0.09957584751767748,\\"cumulativeLayoutShiftMainFrame\\":0.09957584751767748},\\"newEngineResultDiffered\\":false}]
X difference at cumulative-layout-shift audit.details.blah
Expand All @@ -15,11 +15,11 @@ exports[`getAssertionReport works (multiple failing) 1`] = `
\\"id\\": \\"cumulative-layout-shift\\",
\\"title\\": \\"Cumulative Layout Shift\\",
\\"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).\\",
\\"score\\": 0.8,
\\"score\\": 0.9,
\\"scoreDisplayMode\\": \\"numeric\\",
\\"numericValue\\": 0.13570762803819444,
\\"numericValue\\": 0.09957584751767748,
\\"numericUnit\\": \\"unitless\\",
\\"displayValue\\": \\"0.136\\",
\\"displayValue\\": \\"0.1\\",
\\"scoringOptions\\": {
\\"p10\\": 0.1,
\\"median\\": 0.25
Expand All @@ -28,10 +28,10 @@ exports[`getAssertionReport works (multiple failing) 1`] = `
\\"type\\": \\"debugdata\\",
\\"items\\": [
{
\\"cumulativeLayoutShiftMainFrame\\": 0.13570762803819444,
\\"cumulativeLayoutShiftMainFrame\\": 0.09957584751767748,
\\"newEngineResult\\": {
\\"cumulativeLayoutShift\\": 0.13570762803819444,
\\"cumulativeLayoutShiftMainFrame\\": 0.13570762803819444
\\"cumulativeLayoutShift\\": 0.09957584751767748,
\\"cumulativeLayoutShiftMainFrame\\": 0.09957584751767748
},
\\"newEngineResultDiffered\\": false
}
Expand All @@ -43,18 +43,18 @@ exports[`getAssertionReport works (multiple failing) 1`] = `
exports[`getAssertionReport works (trivial failing) 1`] = `
"X difference at cumulative-layout-shift audit.details.items.length
expected: []
found: [{\\"cumulativeLayoutShiftMainFrame\\":0.13570762803819444,\\"newEngineResult\\":{\\"cumulativeLayoutShift\\":0.13570762803819444,\\"cumulativeLayoutShiftMainFrame\\":0.13570762803819444},\\"newEngineResultDiffered\\":false}]
found: [{\\"cumulativeLayoutShiftMainFrame\\":0.09957584751767748,\\"newEngineResult\\":{\\"cumulativeLayoutShift\\":0.09957584751767748,\\"cumulativeLayoutShiftMainFrame\\":0.09957584751767748},\\"newEngineResultDiffered\\":false}]
found result:
{
\\"id\\": \\"cumulative-layout-shift\\",
\\"title\\": \\"Cumulative Layout Shift\\",
\\"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).\\",
\\"score\\": 0.8,
\\"score\\": 0.9,
\\"scoreDisplayMode\\": \\"numeric\\",
\\"numericValue\\": 0.13570762803819444,
\\"numericValue\\": 0.09957584751767748,
\\"numericUnit\\": \\"unitless\\",
\\"displayValue\\": \\"0.136\\",
\\"displayValue\\": \\"0.1\\",
\\"scoringOptions\\": {
\\"p10\\": 0.1,
\\"median\\": 0.25
Expand All @@ -63,10 +63,10 @@ exports[`getAssertionReport works (trivial failing) 1`] = `
\\"type\\": \\"debugdata\\",
\\"items\\": [
{
\\"cumulativeLayoutShiftMainFrame\\": 0.13570762803819444,
\\"cumulativeLayoutShiftMainFrame\\": 0.09957584751767748,
\\"newEngineResult\\": {
\\"cumulativeLayoutShift\\": 0.13570762803819444,
\\"cumulativeLayoutShiftMainFrame\\": 0.13570762803819444
\\"cumulativeLayoutShift\\": 0.09957584751767748,
\\"cumulativeLayoutShiftMainFrame\\": 0.09957584751767748
},
\\"newEngineResultDiffered\\": false
}
Expand Down
Loading

0 comments on commit d582de6

Please sign in to comment.