-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathcollect.e2e.test.ts.snap
More file actions
137 lines (136 loc) · 4.46 KB
/
Copy pathcollect.e2e.test.ts.snap
File metadata and controls
137 lines (136 loc) · 4.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
exports[`PLUGIN collect report with lighthouse-plugin NPM package > should run plugin over CLI and creates report.json 1`] = `
{
"categories": [
{
"refs": [
{
"plugin": "lighthouse",
"slug": "performance",
"type": "group",
"weight": 1,
},
],
"slug": "performance",
"title": "Performance",
},
{
"refs": [
{
"plugin": "lighthouse",
"slug": "accessibility",
"type": "group",
"weight": 1,
},
],
"slug": "a11y",
"title": "Accessibility",
},
{
"refs": [
{
"plugin": "lighthouse",
"slug": "best-practices",
"type": "group",
"weight": 1,
},
],
"slug": "best-practices",
"title": "Best Practices",
},
{
"refs": [
{
"plugin": "lighthouse",
"slug": "seo",
"type": "group",
"weight": 1,
},
],
"slug": "seo",
"title": "SEO",
},
],
"packageName": "@code-pushup/core",
"plugins": [
{
"audits": [
{
"description": "Largest Contentful Paint marks the time at which the largest text or image is painted. [Learn more about the Largest Contentful Paint metric](https://developer.chrome.com/docs/lighthouse/performance/lighthouse-largest-contentful-paint/)",
"slug": "largest-contentful-paint",
"title": "Largest Contentful Paint",
},
{
"description": "Deprecated APIs will eventually be removed from the browser. [Learn more about deprecated APIs](https://developer.chrome.com/docs/lighthouse/best-practices/deprecations/).",
"slug": "deprecations",
"title": "Avoids deprecated APIs",
},
{
"description": "Each ARIA \`role\` supports a specific subset of \`aria-*\` attributes. Mismatching these invalidates the \`aria-*\` attributes. [Learn how to match ARIA attributes to their roles](https://dequeuniversity.com/rules/axe/4.10/aria-allowed-attr).",
"slug": "aria-allowed-attr",
"title": "\`[aria-*]\` attributes match their roles",
},
{
"description": "hreflang links tell search engines what version of a page they should list in search results for a given language or region. [Learn more about \`hreflang\`](https://developer.chrome.com/docs/lighthouse/seo/hreflang/).",
"slug": "hreflang",
"title": "Document has a valid \`hreflang\`",
},
],
"context": {
"urlCount": 1,
"weights": {
"1": 1,
},
},
"groups": [
{
"refs": [
{
"slug": "largest-contentful-paint",
"weight": 25,
},
],
"slug": "performance",
"title": "Performance",
},
{
"description": "These checks highlight opportunities to [improve the accessibility of your web app](https://developer.chrome.com/docs/lighthouse/accessibility/). Automatic detection can only detect a subset of issues and does not guarantee the accessibility of your web app, so [manual testing](https://web.dev/articles/how-to-review) is also encouraged.",
"refs": [
{
"slug": "aria-allowed-attr",
"weight": 10,
},
],
"slug": "accessibility",
"title": "Accessibility",
},
{
"refs": [
{
"slug": "deprecations",
"weight": 5,
},
],
"slug": "best-practices",
"title": "Best Practices",
},
{
"description": "These checks ensure that your page is following basic search engine optimization advice. There are many additional factors Lighthouse does not score here that may affect your search ranking, including performance on [Core Web Vitals](https://web.dev/explore/vitals). [Learn more about Google Search Essentials](https://support.google.com/webmasters/answer/35769).",
"refs": [
{
"slug": "hreflang",
"weight": 1,
},
],
"slug": "seo",
"title": "SEO",
},
],
"icon": "lighthouse",
"packageName": "@code-pushup/lighthouse-plugin",
"slug": "lighthouse",
"title": "Lighthouse",
},
],
}
`;