src/integration/pages/homePage/serbianCyr/__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`] = `"Пређите на садржај"`;
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=serbiancyr.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-cyrl]&x5=[\${sourceUrl}]&x6=[\${documentReferrer}]&x7=[index-home]&x8=[simorgh]&x9=[%D0%9F%D0%BE%D1%87%D0%B5%D1%82%D0%BD%D0%B0%2520%D1%81%D1%82%D1%80%D0%B0%D0%BD%D0%B8%D1%86%D0%B0]&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": "Почетна страница",
"uid": 50924,
"virtualReferrer": "\${documentReferrer}",
},
}
`;
exports[`AMP Home Page Footer Anchors should match text and url 1`] = `
{
"text": "BBC News, на српском",
"url": "/serbian",
}
`;
exports[`AMP Home Page Footer Anchors should match text and url 2`] = `
{
"text": "Зашто ББЦ заслужује ваше поверење",
"url": "https://www.bbc.com/serbian/cyr/institutional-50173730",
}
`;
exports[`AMP Home Page Footer Anchors should match text and url 3`] = `
{
"text": "Правила коришћења",
"url": "https://www.bbc.com/terms",
}
`;
exports[`AMP Home Page Footer Anchors should match text and url 4`] = `
{
"text": "О ББЦ-ју",
"url": "https://www.bbc.co.uk/aboutthebbc/",
}
`;
exports[`AMP Home Page Footer Anchors should match text and url 5`] = `
{
"text": "Правила приватности",
"url": "https://www.bbc.com/privacy/",
}
`;
exports[`AMP Home Page Footer Anchors should match text and url 6`] = `
{
"text": "Колачићи",
"url": "https://www.bbc.com/usingthebbc/cookies/",
}
`;
exports[`AMP Home Page Footer Anchors should match text and url 7`] = `
{
"text": "Контактирајте ББЦ",
"url": "https://www.bbc.co.uk/serbian/send/u50853665",
}
`;
exports[`AMP Home Page Footer Anchors should match text and url 8`] = `
{
"text": "Прочитајте наша правила о линковању других сајтова.",
"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. ББЦ није одговоран за садржај других сајтова. Прочитајте наша правила о линковању других сајтова."`;
exports[`AMP Home Page Header I can see the branding 1`] = `"BBC News, на српском"`;
exports[`AMP Home Page Header Navigation link should match text and url 1`] = `
{
"text": "Отворена страница, Почетна страна",
"url": "/serbian/cyr",
}
`;
exports[`AMP Home Page Header Navigation link should match text and url 2`] = `
{
"text": "Најпопуларније",
"url": "/serbian/cyr/popular/read",
}
`;
exports[`AMP Home Page Main heading should match text 1`] = `"BBC News, на српском - Главна страница"`;
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/cyr"`;
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, на српском - Главна страница"`;
exports[`AMP Home Page SEO Lang attribute 1`] = `"sr-cyrl"`;
exports[`AMP Home Page SEO Linked data should match text 1`] = `
{
"@context": "http://schema.org",
"@graph": [
{
"@type": "CollectionPage",
"headline": "Почетна страница",
"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-cyrl",
"name": "Serbian",
},
"mainEntityOfPage": {
"@id": "http://localhost:7080/serbian/cyr",
"@type": "WebPage",
"name": "Почетна страница",
},
"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 на српском",
"publishingPrinciples": "https://www.bbc.com/serbian/cyr/institutional-50173730",
},
"thumbnailUrl": "https://news.files.bbci.co.uk/ws/img/logos/og/serbian.png",
"url": "http://localhost:7080/serbian/cyr",
},
{
"@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 на српском",
"numberOfItems": 4,
},
],
}
`;
exports[`AMP Home Page SEO OG description 1`] = `"Српска почетна страница"`;
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`] = `"ББЦ News на српском"`;
exports[`AMP Home Page SEO OG locale 1`] = `"sr-cyrl"`;
exports[`AMP Home Page SEO OG site name 1`] = `"BBC News на српском"`;
exports[`AMP Home Page SEO OG title 1`] = `"Главна страница - BBC News на српском"`;
exports[`AMP Home Page SEO OG type 1`] = `"website"`;
exports[`AMP Home Page SEO OG url 1`] = `"http://localhost:7080/serbian/cyr"`;
exports[`AMP Home Page SEO Page title 1`] = `"Главна страница - BBC News на српском"`;
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`] = `"Српска почетна страница"`;
exports[`AMP Home Page SEO Twitter image alt 1`] = `"ББЦ News на српском"`;
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`] = `"Главна страница - BBC News на српском"`;
exports[`AMP Home Page Timestamp should match text and date 1`] = `
{
"date": "2024-07-30",
"text": "30 јул 2024",
}
`;