-
Notifications
You must be signed in to change notification settings - Fork 280
Expand file tree
/
Copy pathcanonical.test.ts.snap
More file actions
339 lines (284 loc) · 16.7 KB
/
Copy pathcanonical.test.ts.snap
File metadata and controls
339 lines (284 loc) · 16.7 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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
exports[`Canonical Photo Gallery Page A11y I can see the skip to content link 1`] = `"ข้ามไปยังเนื้อหา"`;
exports[`Canonical Photo Gallery Page Analytics ATI tracking pixel excluding src 1`] = `"<img height="1px" width="1px" alt="" style="position:absolute" >"`;
exports[`Canonical Photo Gallery Page Analytics ATI tracking pixel hostname 1`] = `"https://logws1363.ati-host.net/hit.xiti"`;
exports[`Canonical Photo Gallery Page Analytics ATI tracking pixel search params 1`] = `
[
{
"s": "598343",
},
{
"s2": "90",
},
{
"p": "thai.thailand.photo_gallery.49950038.page",
},
{
"x1": "[urn:bbc:cps:curie:asset:5858e31f-36a4-ac44-ab69-9c340b45dd49]",
},
{
"x2": "[responsive]",
},
{
"x3": "[news-thai]",
},
{
"x4": "[th]",
},
{
"x7": "[article-photo-gallery]",
},
{
"x8": "[simorgh-nojs]",
},
{
"x9": "[6%20ตุลา%20:%20ธรรมศาสตร์จัดกิจกรรมรำลึก%2043%20ปี%206%20ตุลา%202519%20-%20BBC%20News%20ไทย]",
},
{
"x11": "[2019-10-06T05:14:53.000Z]",
},
{
"x12": "[2019-10-06T05:14:53.000Z]",
},
{
"x16": "[WS - Keep me on trend]",
},
{
"x17": "[News]",
},
]
`;
exports[`Canonical Photo Gallery Page Footer Anchors should match text and url 1`] = `
{
"text": "BBC News, ไทย",
"url": "/thai",
}
`;
exports[`Canonical Photo Gallery Page Footer Anchors should match text and url 2`] = `
{
"text": "ทำไมคุณจึงไว้วางใจ บีบีซี ได้",
"url": "https://www.bbc.com/thai/institutional-49281839",
}
`;
exports[`Canonical Photo Gallery Page Footer Anchors should match text and url 3`] = `
{
"text": "เงื่อนไขการใช้งานของ บีบีซี",
"url": "https://www.bbc.com/thai/institutional-38403477",
}
`;
exports[`Canonical Photo Gallery Page Footer Anchors should match text and url 4`] = `
{
"text": "เกี่ยวกับบีบีซี",
"url": "https://www.bbc.com/thai/institutional-38403476",
}
`;
exports[`Canonical Photo Gallery Page Footer Anchors should match text and url 5`] = `
{
"text": "นโยบายความเป็นส่วนตัว",
"url": "https://www.bbc.com/thai/institutional-38497681",
}
`;
exports[`Canonical Photo Gallery Page Footer Anchors should match text and url 6`] = `
{
"text": "คุกกีส์",
"url": "https://www.bbc.com/usingthebbc/cookies/",
}
`;
exports[`Canonical Photo Gallery Page Footer Anchors should match text and url 7`] = `
{
"text": "ติดต่อบีบีซี",
"url": "https://www.bbc.co.uk/thai/send/u50853797",
}
`;
exports[`Canonical Photo Gallery Page Footer Anchors should match text and url 8`] = `
{
"text": "บีบีซีนิวส์ภาษาอื่น ๆ",
"url": "https://www.bbc.com/ws/languages",
}
`;
exports[`Canonical Photo Gallery Page Footer Anchors should match text and url 9`] = `
{
"text": "อ่านเกี่ยวกับแนวทางของเราในการติดต่อกับลิงก์ภายนอก",
"url": "https://www.bbc.com/editorialguidelines/guidance/links-and-feeds",
}
`;
exports[`Canonical Photo Gallery Page Footer I can click on the BBC branding and it would take me to the homepage 1`] = `"/thai"`;
exports[`Canonical Photo Gallery Page Footer Paragraphs should match text 1`] = `"© 2026 บีบีซี. บีบีซีไม่มีส่วนรับผิดชอบต่อเนื้อหาของเว็บไซต์ภายนอก. นโยบายของเราเรื่องการเชื่อมต่อไปยังลิงก์ภายนอก. อ่านเกี่ยวกับแนวทางของเราในการติดต่อกับลิงก์ภายนอก"`;
exports[`Canonical Photo Gallery Page Header I can see the branding 1`] = `
{
"brandLink": "BBC News, ไทย",
"svg": <path
d="M759.927 265.75a4646.67 4646.67 0 00-23.49-37.242 2633.129 2633.129 0 00-23.49-36.2v73.442h-22.002V159.452h23.192a2668.556 2668.556 0 0123.713 36.052 2774.159 2774.159 0 0123.266 36.647v-72.699h22.004V265.75h-23.193zM804.186 159.452h73.146v19.03h-50.25v23.044h44.6v19.029h-44.6v26.166h53.074v19.03h-75.97V159.451zM982.1 265.75a3174.441 3174.441 0 01-9.886-35.978 3159.855 3159.855 0 01-9.44-35.977 2391.54 2391.54 0 01-9.218 35.977 2452.296 2452.296 0 01-9.812 35.978h-24.233a2032.839 2032.839 0 01-14.57-52.628c-4.66-17.74-9.069-35.63-13.231-53.67h24.976a2003.215 2003.215 0 007.88 41.33 1444.404 1444.404 0 008.77 40.586 3259.894 3259.894 0 0018.882-77.456h22.3a3251.95 3251.95 0 0018.732 75.821 1999.976 1999.976 0 008.624-39.843 1455.41 1455.41 0 007.73-40.438h24.53a1845.28 1845.28 0 01-13.23 53.67 2041.61 2041.61 0 01-14.57 52.628H982.1zM1077.47 267.98c-5.849 0-11.621-.645-17.32-1.932a66.227 66.227 0 01-16.427-6.096v-20.516c10.604 6.444 21.854 9.663 33.747 9.663 6.74 0 11.869-1.138 15.388-3.419 3.517-2.28 5.277-5.45 5.277-9.515 0-3.07-.868-5.475-2.601-7.21-1.735-1.733-4.04-3.122-6.913-4.163-2.876-1.04-6.096-2.007-9.664-2.899-5.849-1.387-11.001-2.974-15.461-4.757-4.46-1.784-8.228-3.889-11.3-6.319-3.072-2.427-5.402-5.352-6.987-8.771-1.586-3.42-2.378-7.508-2.378-12.265 0-6.74 1.71-12.537 5.129-17.395 3.42-4.855 8.25-8.597 14.495-11.225 6.244-2.624 13.678-3.939 22.3-3.939 5.65 0 11.2.646 16.651 1.933 5.45 1.289 10.356 3.024 14.719 5.203v20.22c-4.363-2.677-9.292-4.758-14.793-6.245-5.5-1.487-11.027-2.23-16.577-2.23-6.046 0-10.73 1.04-14.049 3.122-3.321 2.081-4.98 5.055-4.98 8.92 0 2.776.792 4.98 2.378 6.616 1.585 1.635 3.84 2.973 6.765 4.014 2.922 1.04 6.367 2.058 10.332 3.047 5.055 1.29 9.761 2.702 14.124 4.238 4.36 1.537 8.2 3.493 11.522 5.872 3.32 2.379 5.895 5.403 7.73 9.069 1.834 3.668 2.75 8.177 2.75 13.529 0 7.038-1.735 13.06-5.202 18.063-3.47 5.006-8.475 8.823-15.016 11.447-6.541 2.626-14.421 3.94-23.639 3.94z"
/>,
}
`;
exports[`Canonical Photo Gallery Page Header Navigation link should match text and url 1`] = `
{
"text": "หน้าแรก",
"url": "/thai",
}
`;
exports[`Canonical Photo Gallery Page Header Navigation link should match text and url 2`] = `
{
"text": "ประเทศไทย",
"url": "/thai/topics/cjgn73g98rqt",
}
`;
exports[`Canonical Photo Gallery Page Header Navigation link should match text and url 3`] = `
{
"text": "ต่างประเทศ",
"url": "/thai/topics/c5v124k8lj7t",
}
`;
exports[`Canonical Photo Gallery Page Header Navigation link should match text and url 4`] = `
{
"text": "วิทยาศาสตร์",
"url": "/thai/topics/c5qvp1q33p0t",
}
`;
exports[`Canonical Photo Gallery Page Header Navigation link should match text and url 5`] = `
{
"text": "สุขภาพ",
"url": "/thai/topics/cyx5kz25zxdt",
}
`;
exports[`Canonical Photo Gallery Page Header Navigation link should match text and url 6`] = `
{
"text": "วิดีโอ",
"url": "/thai/topics/c5ljd3jng4nt",
}
`;
exports[`Canonical Photo Gallery Page Header Navigation link should match text and url 7`] = `
{
"text": "ยอดนิยม",
"url": "/thai/popular/read",
}
`;
exports[`Canonical Photo Gallery Page Image Caption should match text 1`] = `"คำบรรยายภาพ, ประติมานุสรณ์ ม. ธรรมศาสตร์ เป็นพื้นที่ความทรงจำในเหตุการณ์ 6 ตุลา 2519"`;
exports[`Canonical Photo Gallery Page Image should match snapshot 1`] = `
<img
alt="ดอกไม้ถูกนำมาวางไว้ที่ประติมานุสรณ์"
class="css-1seqhu9"
fetchpriority="high"
height="549"
loading="eager"
sizes="(min-width: 1008px) 760px, 100vw"
src="https://ichef.bbci.co.uk/ace/ws/640/cpsprodpb/17431/production/_109118259_01.jpg.webp"
srcset="https://ichef.bbci.co.uk/ace/ws/240/cpsprodpb/17431/production/_109118259_01.jpg.webp 240w, https://ichef.bbci.co.uk/ace/ws/320/cpsprodpb/17431/production/_109118259_01.jpg.webp 320w, https://ichef.bbci.co.uk/ace/ws/480/cpsprodpb/17431/production/_109118259_01.jpg.webp 480w, https://ichef.bbci.co.uk/ace/ws/624/cpsprodpb/17431/production/_109118259_01.jpg.webp 624w, https://ichef.bbci.co.uk/ace/ws/800/cpsprodpb/17431/production/_109118259_01.jpg.webp 800w"
style="aspect-ratio:976 / 549"
width="976"
/>
`;
exports[`Canonical Photo Gallery Page Main heading should match text 1`] = `"6 ตุลา : ธรรมศาสตร์จัดกิจกรรมรำลึก 43 ปี 6 ตุลา 2519"`;
exports[`Canonical Photo Gallery Page SEO Apple Touch Icon should match attributes 1`] = `
{
"sizes": null,
"url": "http://localhost:7081/thai/images/icons/icon-192x192.png",
}
`;
exports[`Canonical Photo Gallery Page SEO Apple Touch Icon should match attributes 2`] = `
{
"sizes": "152x152",
"url": "https://static.files.bbci.co.uk/ws/simorgh-assets/public/thai/images/icons/icon-152x152.png",
}
`;
exports[`Canonical Photo Gallery Page SEO Apple Touch Icon should match attributes 3`] = `
{
"sizes": "180x180",
"url": "https://static.files.bbci.co.uk/ws/simorgh-assets/public/thai/images/icons/icon-180x180.png",
}
`;
exports[`Canonical Photo Gallery Page SEO Apple Touch Icon should match attributes 4`] = `
{
"sizes": "384x384",
"url": "https://static.files.bbci.co.uk/ws/simorgh-assets/public/thai/images/icons/icon-384x384.png",
}
`;
exports[`Canonical Photo Gallery Page SEO Apple Touch Icon should match attributes 5`] = `
{
"sizes": "512x512",
"url": "https://static.files.bbci.co.uk/ws/simorgh-assets/public/thai/images/icons/icon-512x512.png",
}
`;
exports[`Canonical Photo Gallery Page SEO Canonical link 1`] = `"http://localhost:7081/thai/thailand-49950038"`;
exports[`Canonical Photo Gallery Page SEO Dir attribute 1`] = `"ltr"`;
exports[`Canonical Photo Gallery Page SEO FB app ID 1`] = `"1609039196070050"`;
exports[`Canonical Photo Gallery Page SEO Heading level 1 1`] = `"6 ตุลา : ธรรมศาสตร์จัดกิจกรรมรำลึก 43 ปี 6 ตุลา 2519"`;
exports[`Canonical Photo Gallery Page SEO Lang attribute 1`] = `"th"`;
exports[`Canonical Photo Gallery Page SEO Linked data should match text 1`] = `
{
"@context": "http://schema.org",
"@graph": [
{
"@type": "Article",
"author": {
"@type": "NewsMediaOrganization",
"logo": {
"@type": "ImageObject",
"height": 576,
"url": "https://static.files.bbci.co.uk/ws/simorgh-assets/public/thai/images/metadata/poster-1024x576.png",
"width": 1024,
},
"name": "BBC News ไทย",
"noBylinesPolicy": "https://www.bbc.com/thai/institutional-49281839#authorexpertise",
},
"dateModified": "2019-10-06T05:14:53.000Z",
"datePublished": "2019-10-06T05:14:53.000Z",
"description": "มหาวิทยาลัยธรรมศาสตร์ ซึ่งมีสภาพไม่ต่างจาก “ลานประหาร” ในวันล้อมปราบนักศึกษาและประชาชน ได้จัดกิจกรรมรำลึก 43 ปี 6 ตุลา 2519 มีพิธีทำบุญตักบาตรพระสงฆ์จำนวน 19 รูป พิธีวางพวงมาลาและดอกไม้ ณ ประติมานุสรณ์ และกล่าวไว้อาลัยแด่ผู้เสียชีวิตในเหตุการณ์ พร้อมอ่านรายชื่อของทุกคนด้วย",
"headline": "6 ตุลา : ธรรมศาสตร์จัดกิจกรรมรำลึก 43 ปี 6 ตุลา 2519",
"image": {
"@type": "ImageObject",
"height": 576,
"url": "https://ichef.bbci.co.uk/news/1024/branded_thai/17431/production/_109118259_01.jpg",
"width": 1024,
},
"inLanguage": {
"@type": "Language",
"alternateName": "th",
"name": "Thai",
},
"mainEntityOfPage": {
"@id": "http://localhost:7081/thai/thailand-49950038",
"@type": "WebPage",
"name": "6 ตุลา : ธรรมศาสตร์จัดกิจกรรมรำลึก 43 ปี 6 ตุลา 2519",
},
"publisher": {
"@type": "NewsMediaOrganization",
"logo": {
"@type": "ImageObject",
"height": 576,
"url": "https://static.files.bbci.co.uk/ws/simorgh-assets/public/thai/images/metadata/poster-1024x576.png",
"width": 1024,
},
"name": "BBC News ไทย",
"publishingPrinciples": "https://www.bbc.com/thai/institutional-49281839",
},
"thumbnailUrl": "https://ichef.bbci.co.uk/news/1024/branded_thai/17431/production/_109118259_01.jpg",
"url": "http://localhost:7081/thai/thailand-49950038",
},
],
}
`;
exports[`Canonical Photo Gallery Page SEO OG description 1`] = `"มหาวิทยาลัยธรรมศาสตร์ ซึ่งมีสภาพไม่ต่างจาก “ลานประหาร” ในวันล้อมปราบนักศึกษาและประชาชน ได้จัดกิจกรรมรำลึก 43 ปี 6 ตุลา 2519 มีพิธีทำบุญตักบาตรพระสงฆ์จำนวน 19 รูป พิธีวางพวงมาลาและดอกไม้ ณ ประติมานุสรณ์ และกล่าวไว้อาลัยแด่ผู้เสียชีวิตในเหตุการณ์ พร้อมอ่านรายชื่อของทุกคนด้วย"`;
exports[`Canonical Photo Gallery Page SEO OG image 1`] = `"https://ichef.bbci.co.uk/news/1024/branded_thai/17431/production/_109118259_01.jpg"`;
exports[`Canonical Photo Gallery Page SEO OG image alt 1`] = `"ดอกไม้ถูกนำมาวางไว้ที่ประติมานุสรณ์"`;
exports[`Canonical Photo Gallery Page SEO OG locale 1`] = `"th-TH"`;
exports[`Canonical Photo Gallery Page SEO OG site name 1`] = `"BBC News ไทย"`;
exports[`Canonical Photo Gallery Page SEO OG title 1`] = `"6 ตุลา : ธรรมศาสตร์จัดกิจกรรมรำลึก 43 ปี 6 ตุลา 2519 - BBC News ไทย"`;
exports[`Canonical Photo Gallery Page SEO OG type 1`] = `"article"`;
exports[`Canonical Photo Gallery Page SEO OG url 1`] = `"http://localhost:7081/thai/thailand-49950038"`;
exports[`Canonical Photo Gallery Page SEO Page title 1`] = `"6 ตุลา : ธรรมศาสตร์จัดกิจกรรมรำลึก 43 ปี 6 ตุลา 2519 - BBC News ไทย"`;
exports[`Canonical Photo Gallery Page SEO Robots meta tag 1`] = `"noodp, noydir, max-image-preview:large"`;
exports[`Canonical Photo Gallery Page SEO Twitter card 1`] = `"summary_large_image"`;
exports[`Canonical Photo Gallery Page SEO Twitter creator 1`] = `"@bbc_thailand"`;
exports[`Canonical Photo Gallery Page SEO Twitter description 1`] = `"มหาวิทยาลัยธรรมศาสตร์ ซึ่งมีสภาพไม่ต่างจาก “ลานประหาร” ในวันล้อมปราบนักศึกษาและประชาชน ได้จัดกิจกรรมรำลึก 43 ปี 6 ตุลา 2519 มีพิธีทำบุญตักบาตรพระสงฆ์จำนวน 19 รูป พิธีวางพวงมาลาและดอกไม้ ณ ประติมานุสรณ์ และกล่าวไว้อาลัยแด่ผู้เสียชีวิตในเหตุการณ์ พร้อมอ่านรายชื่อของทุกคนด้วย"`;
exports[`Canonical Photo Gallery Page SEO Twitter image alt 1`] = `"ดอกไม้ถูกนำมาวางไว้ที่ประติมานุสรณ์"`;
exports[`Canonical Photo Gallery Page SEO Twitter image src 1`] = `"https://ichef.bbci.co.uk/news/1024/branded_thai/17431/production/_109118259_01.jpg"`;
exports[`Canonical Photo Gallery Page SEO Twitter site 1`] = `"@bbc_thailand"`;
exports[`Canonical Photo Gallery Page SEO Twitter title 1`] = `"6 ตุลา : ธรรมศาสตร์จัดกิจกรรมรำลึก 43 ปี 6 ตุลา 2519 - BBC News ไทย"`;
exports[`Canonical Photo Gallery Page Timestamp should match text and date 1`] = `
{
"date": "2019-10-06",
"text": "6 ตุลาคม 2019",
}
`;