src/integration/pages/homePage/serbianLat/__snapshots__/amp.test.js.snap
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`AMP Home Page A11y I can see the skip to content link 1`] = `"Pređite na sadržaj"`;
exports[`AMP Home Page AMP Consent config 1`] = `
{
"consents": {
"user-consent": {
"promptIfUnknownForGeoGroup": "eea",
"promptUI": "consent-prompt",
},
},
"policy": {
"default": {
"timeout": {
"fallbackAction": "reject",
"seconds": 0,
},
"waitFor": {
"user-consent": [],
},
},
},
}
`;
exports[`AMP Home Page AMP Geo config 1`] = `
{
"AmpBind": true,
"ISOCountryGroups": {
"eea": [
"at",
"ax",
"be",
"bg",
"bl",
"cy",
"cz",
"de",
"dk",
"ea",
"ee",
"es",
"fi",
"fr",
"gb",
"gf",
"gg",
"gi",
"gp",
"gr",
"hr",
"hu",
"ic",
"ie",
"im",
"is",
"it",
"je",
"li",
"lt",
"lu",
"lv",
"mf",
"mq",
"mt",
"nc",
"nl",
"no",
"pf",
"pl",
"pm",
"pt",
"re",
"ro",
"se",
"si",
"sj",
"sk",
"tf",
"va",
"wf",
"yt",
],
"gbOrUnknown": [
"gb",
"gg",
"im",
"je",
"uk",
"unknown",
],
},
}
`;
exports[`AMP Home Page Analytics ATI 1`] = `
{
"requests": {
"base": "https://logws1363.ati-host.net?",
"pageview": "\${base}s=598343&s2=81&p=serbianlat.page&r=\${screenWidth}x\${screenHeight}x\${screenColorDepth}&re=\${availableScreenWidth}x\${availableScreenHeight}&hl=\${timestamp}&lng=\${browserLanguage}&x1=[urn%3Abbc%3Atipo%3Atopic%3Ac6zr6pp47w7t]&x2=[amp]&x3=[news-serbian]&x4=[sr-latn]&x5=[\${sourceUrl}]&x6=[\${documentReferrer}]&x7=[index-home]&x8=[simorgh]&x9=[Po%C4%8Detna%2520stranica]&ref=\${documentReferrer}",
},
"transport": {
"beacon": false,
"image": true,
"xhrpost": false,
},
"triggers": {
"trackPageview": {
"on": "visible",
"request": "pageview",
},
},
}
`;
exports[`AMP Home Page Analytics chartbeat 1`] = `
{
"vars": {
"contentType": "home",
"domain": "test.bbc.co.uk",
"sections": "Serbian, Serbian - home",
"title": "Početna stranica",
"uid": 50924,
"virtualReferrer": "\${documentReferrer}",
},
}
`;
exports[`AMP Home Page Footer Anchors should match text and url 1`] = `
{
"text": "BBC News, na srpskom",
"url": "/serbian",
}
`;
exports[`AMP Home Page Footer Anchors should match text and url 2`] = `
{
"text": "Zašto BBC zaslužuje vaše poverenje",
"url": "https://www.bbc.com/serbian/lat/institutional-50173730",
}
`;
exports[`AMP Home Page Footer Anchors should match text and url 3`] = `
{
"text": "Pravila korišćenja",
"url": "https://www.bbc.com/terms",
}
`;
exports[`AMP Home Page Footer Anchors should match text and url 4`] = `
{
"text": "O BBC-ju",
"url": "https://www.bbc.co.uk/aboutthebbc/",
}
`;
exports[`AMP Home Page Footer Anchors should match text and url 5`] = `
{
"text": "Pravila privatnosti",
"url": "https://www.bbc.com/privacy/",
}
`;
exports[`AMP Home Page Footer Anchors should match text and url 6`] = `
{
"text": "Kolačići",
"url": "https://www.bbc.com/usingthebbc/cookies/",
}
`;
exports[`AMP Home Page Footer Anchors should match text and url 7`] = `
{
"text": "Kontaktirajte BBC",
"url": "https://www.bbc.co.uk/serbian/send/u50853665",
}
`;
exports[`AMP Home Page Footer Anchors should match text and url 8`] = `
{
"text": "Pročitajte naša pravila o linkovanju drugih sajtova.",
"url": "https://www.bbc.co.uk/editorialguidelines/guidance/feeds-and-links",
}
`;
exports[`AMP Home Page Footer Cookie Settings Button should match text and on handler 1`] = `
{
"on": "tap:consent.prompt, privacy.hide, cookie.show, AMP.setState({ isManagingSettings: true })",
"text": "Do not share or sell my info",
}
`;
exports[`AMP Home Page Footer I can click on the BBC branding and it would take me to the homepage 1`] = `"/serbian"`;
exports[`AMP Home Page Footer Paragraphs should match text 1`] = `"© 2024 BBC. BBC nije odgovoran za sadržaj drugih sajtova. Pročitajte naša pravila o linkovanju drugih sajtova."`;
exports[`AMP Home Page Header I can see the branding 1`] = `"BBC News, na srpskom"`;
exports[`AMP Home Page Header Navigation link should match text and url 1`] = `
{
"text": "Otvorena stranica, Početna strana",
"url": "/serbian/lat",
}
`;
exports[`AMP Home Page Header Navigation link should match text and url 2`] = `
{
"text": "Američki izbori",
"url": "/serbian/lat/topics/c1v8enng1npt",
}
`;
exports[`AMP Home Page Header Navigation link should match text and url 3`] = `
{
"text": "Srbija",
"url": "/serbian/lat/topics/cr50vdy9q6wt",
}
`;
exports[`AMP Home Page Header Navigation link should match text and url 4`] = `
{
"text": "Balkan",
"url": "/serbian/lat/topics/c06g87137jgt",
}
`;
exports[`AMP Home Page Header Navigation link should match text and url 5`] = `
{
"text": "Svet",
"url": "/serbian/lat/topics/c2lej05e1eqt",
}
`;
exports[`AMP Home Page Header Navigation link should match text and url 6`] = `
{
"text": "Video",
"url": "/serbian/lat/topics/c44vyp5g049t",
}
`;
exports[`AMP Home Page Header Navigation link should match text and url 7`] = `
{
"text": "Najpopularnije",
"url": "/serbian/lat/popular/read",
}
`;
exports[`AMP Home Page Main heading should match text 1`] = `"BBC News, na srpskom - Glavna stranica"`;
exports[`AMP Home Page Page content First item in the first curation is the correct headline 1`] = `"Prijateljstvo: Smanjuje li se broj bliskih ljudi kako starimo"`;
exports[`AMP Home Page Page content First item in the first curation is the correct image 1`] = `
<amp-img
alt="Koren, grane i lišće."
class="bbc-image"
fallback=""
layout="fill"
src="https://ichef.bbci.co.uk/ace/ws/240/cpsdevpb/8e80/test/de02d740-4e90-11ef-ae89-b10ee2354b32.jpg.webp"
/>
`;
exports[`AMP Home Page SEO Apple Touch Icon should match attributes 1`] = `
{
"sizes": null,
"url": "http://localhost:7080/serbian/images/icons/icon-192x192.png",
}
`;
exports[`AMP Home Page SEO Apple Touch Icon should match attributes 2`] = `
{
"sizes": "72x72",
"url": "https://static.files.bbci.co.uk/ws/simorgh-assets/public/serbian/images/icons/icon-72x72.png",
}
`;
exports[`AMP Home Page SEO Apple Touch Icon should match attributes 3`] = `
{
"sizes": "96x96",
"url": "https://static.files.bbci.co.uk/ws/simorgh-assets/public/serbian/images/icons/icon-96x96.png",
}
`;
exports[`AMP Home Page SEO Apple Touch Icon should match attributes 4`] = `
{
"sizes": "128x128",
"url": "https://static.files.bbci.co.uk/ws/simorgh-assets/public/serbian/images/icons/icon-128x128.png",
}
`;
exports[`AMP Home Page SEO Apple Touch Icon should match attributes 5`] = `
{
"sizes": "144x144",
"url": "https://static.files.bbci.co.uk/ws/simorgh-assets/public/serbian/images/icons/icon-144x144.png",
}
`;
exports[`AMP Home Page SEO Apple Touch Icon should match attributes 6`] = `
{
"sizes": "152x152",
"url": "https://static.files.bbci.co.uk/ws/simorgh-assets/public/serbian/images/icons/icon-152x152.png",
}
`;
exports[`AMP Home Page SEO Apple Touch Icon should match attributes 7`] = `
{
"sizes": "180x180",
"url": "https://static.files.bbci.co.uk/ws/simorgh-assets/public/serbian/images/icons/icon-180x180.png",
}
`;
exports[`AMP Home Page SEO Apple Touch Icon should match attributes 8`] = `
{
"sizes": "192x192",
"url": "https://static.files.bbci.co.uk/ws/simorgh-assets/public/serbian/images/icons/icon-192x192.png",
}
`;
exports[`AMP Home Page SEO Apple Touch Icon should match attributes 9`] = `
{
"sizes": "384x384",
"url": "https://static.files.bbci.co.uk/ws/simorgh-assets/public/serbian/images/icons/icon-384x384.png",
}
`;
exports[`AMP Home Page SEO Apple Touch Icon should match attributes 10`] = `
{
"sizes": "512x512",
"url": "https://static.files.bbci.co.uk/ws/simorgh-assets/public/serbian/images/icons/icon-512x512.png",
}
`;
exports[`AMP Home Page SEO Canonical link 1`] = `"http://localhost:7080/serbian/lat"`;
exports[`AMP Home Page SEO Dir attribute 1`] = `"ltr"`;
exports[`AMP Home Page SEO FB app ID 1`] = `"1609039196070050"`;
exports[`AMP Home Page SEO Heading level 1 1`] = `"BBC News, na srpskom - Glavna stranica"`;
exports[`AMP Home Page SEO Lang attribute 1`] = `"sr-latn"`;
exports[`AMP Home Page SEO Linked data should match text 1`] = `
{
"@context": "http://schema.org",
"@graph": [
{
"@type": "CollectionPage",
"headline": "Početna stranica",
"image": {
"@type": "ImageObject",
"height": 576,
"url": "https://news.files.bbci.co.uk/ws/img/logos/og/serbian.png",
"width": 1024,
},
"inLanguage": {
"@type": "Language",
"alternateName": "sr-latn",
"name": "Serbian",
},
"mainEntityOfPage": {
"@id": "http://localhost:7080/serbian/lat",
"@type": "WebPage",
"name": "Početna stranica",
},
"publisher": {
"@type": "NewsMediaOrganization",
"logo": {
"@type": "ImageObject",
"height": 576,
"url": "https://news.files.bbci.co.uk/ws/img/logos/og/serbian.png",
"width": 1024,
},
"name": "BBC News na srpskom",
"publishingPrinciples": "https://www.bbc.com/serbian/lat/institutional-50173730",
},
"thumbnailUrl": "https://news.files.bbci.co.uk/ws/img/logos/og/serbian.png",
"url": "http://localhost:7080/serbian/lat",
},
{
"@type": "ItemList",
"itemListElement": [
{
"@context": "http://schema.org",
"@type": "ListItem",
"position": 1,
"url": "https://www.bbc.com/serbian/articles/czmk8npevn0o",
},
{
"@context": "http://schema.org",
"@type": "ListItem",
"position": 2,
"url": "https://www.bbc.com/serbian/articles/c3x8zzpdy8ko/lat",
},
{
"@context": "http://schema.org",
"@type": "ListItem",
"position": 3,
"url": "https://www.bbc.com/serbian/articles/cqy6nykzpwmo/lat",
},
{
"@context": "http://schema.org",
"@type": "ListItem",
"position": 4,
"url": "https://www.bbc.com/serbian/articles/c3v223kzpzko",
},
],
"name": "BBC News na srpskom",
"numberOfItems": 4,
},
],
}
`;
exports[`AMP Home Page SEO OG description 1`] = `"Srpska početna stranica"`;
exports[`AMP Home Page SEO OG image 1`] = `"https://news.files.bbci.co.uk/ws/img/logos/og/serbian.png"`;
exports[`AMP Home Page SEO OG image alt 1`] = `"BBC News na srpskom"`;
exports[`AMP Home Page SEO OG locale 1`] = `"sr-latn"`;
exports[`AMP Home Page SEO OG site name 1`] = `"BBC News na srpskom"`;
exports[`AMP Home Page SEO OG title 1`] = `"Glavna stranica - BBC News na srpskom"`;
exports[`AMP Home Page SEO OG type 1`] = `"website"`;
exports[`AMP Home Page SEO OG url 1`] = `"http://localhost:7080/serbian/lat"`;
exports[`AMP Home Page SEO Page title 1`] = `"Glavna stranica - BBC News na srpskom"`;
exports[`AMP Home Page SEO Robots meta tag 1`] = `"noodp, noydir, max-image-preview:large"`;
exports[`AMP Home Page SEO Twitter card 1`] = `"summary_large_image"`;
exports[`AMP Home Page SEO Twitter creator 1`] = `"@bbcnasrpskom"`;
exports[`AMP Home Page SEO Twitter description 1`] = `"Srpska početna stranica"`;
exports[`AMP Home Page SEO Twitter image alt 1`] = `"BBC News na srpskom"`;
exports[`AMP Home Page SEO Twitter image src 1`] = `"https://news.files.bbci.co.uk/ws/img/logos/og/serbian.png"`;
exports[`AMP Home Page SEO Twitter site 1`] = `"@bbcnasrpskom"`;
exports[`AMP Home Page SEO Twitter title 1`] = `"Glavna stranica - BBC News na srpskom"`;
exports[`AMP Home Page Timestamp should match text and date 1`] = `
{
"date": "2024-07-30",
"text": "30 jul 2024",
}
`;