src/integration/pages/articles/persian/__snapshots__/amp.test.js.snap
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`AMP Articles A11y I can see the skip to content link 1`] = `"مشاهده محتوا"`;
exports[`AMP Articles AMP Consent config 1`] = `
{
"consents": {
"user-consent": {
"promptIfUnknownForGeoGroup": "eea",
"promptUI": "consent-prompt",
},
},
"policy": {
"default": {
"timeout": {
"fallbackAction": "reject",
"seconds": 0,
},
"waitFor": {
"user-consent": [],
},
},
},
}
`;
exports[`AMP Articles 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 Articles Footer Anchors should match text and url 1`] = `
{
"text": "BBC News, فارسی",
"url": "/persian",
}
`;
exports[`AMP Articles Footer Anchors should match text and url 2`] = `
{
"text": "چرا میتوانید به بیبیسی اطمینان کنید؟",
"url": "https://www.bbc.com/persian/institutional-49283091",
}
`;
exports[`AMP Articles Footer Anchors should match text and url 3`] = `
{
"text": "شرایط استفاده",
"url": "https://www.bbc.com/persian/institutional-37474133",
}
`;
exports[`AMP Articles Footer Anchors should match text and url 4`] = `
{
"text": "درباره بی بی سی",
"url": "https://www.bbc.com/persian/institutional-37474136",
}
`;
exports[`AMP Articles Footer Anchors should match text and url 5`] = `
{
"text": "سیاست حفظ حریم خصوصی",
"url": "https://www.bbc.com/persian/institutional-37540067",
}
`;
exports[`AMP Articles Footer Anchors should match text and url 6`] = `
{
"text": "کوکی ها",
"url": "https://www.bbc.com/usingthebbc/cookies/",
}
`;
exports[`AMP Articles Footer Anchors should match text and url 7`] = `
{
"text": "تماس با بی بی سی",
"url": "https://www.bbc.co.uk/persian/send/u50853555",
}
`;
exports[`AMP Articles Footer Anchors should match text and url 8`] = `
{
"text": "سیاست ما درباره لینک دادن به سایت های دیگر.",
"url": "https://www.bbc.com/persian/institutional/2011/04/000001_links",
}
`;
exports[`AMP Articles 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 Articles Footer I can click on the BBC branding and it would take me to the homepage 1`] = `"/persian"`;
exports[`AMP Articles Footer Paragraphs should match text 1`] = `"© 2024 بی بی سی. بی بی سی مسئول محتوای سایت های دیگر نیست. سیاست ما درباره لینک دادن به سایت های دیگر."`;
exports[`AMP Articles Header I can see the branding 1`] = `"BBC News, فارسی"`;
exports[`AMP Articles Header Navigation link should match text and url 1`] = `
{
"text": "صفحه اول",
"url": "/persian",
}
`;
exports[`AMP Articles Header Navigation link should match text and url 2`] = `
{
"text": "بحران خاورمیانه",
"url": "/persian/topics/cj31ldvmg1et",
}
`;
exports[`AMP Articles Header Navigation link should match text and url 3`] = `
{
"text": "پخش زنده",
"url": "/persian/media-49522521",
}
`;
exports[`AMP Articles Header Navigation link should match text and url 4`] = `
{
"text": "ویدیو",
"url": "/persian/topics/c6z7mnr559gt",
}
`;
exports[`AMP Articles Header Navigation link should match text and url 5`] = `
{
"text": "تلویزیون",
"url": "/persian/tv-and-radio-37434377",
}
`;
exports[`AMP Articles Header Navigation link should match text and url 6`] = `
{
"text": "ايران",
"url": "/persian/topics/ckdxnwvwwjnt",
}
`;
exports[`AMP Articles Header Navigation link should match text and url 7`] = `
{
"text": "افغانستان",
"url": "/persian/afghanistan",
}
`;
exports[`AMP Articles Header Navigation link should match text and url 8`] = `
{
"text": "جهان",
"url": "/persian/topics/c1d8ye58xl8t",
}
`;
exports[`AMP Articles Header Navigation link should match text and url 9`] = `
{
"text": "هنر",
"url": "/persian/topics/c9wpm0epm45t",
}
`;
exports[`AMP Articles Header Navigation link should match text and url 10`] = `
{
"text": "ورزش",
"url": "/persian/topics/cnq6879k7yjt",
}
`;
exports[`AMP Articles Header Navigation link should match text and url 11`] = `
{
"text": "اقتصاد",
"url": "/persian/topics/cl8l9mvlllqt",
}
`;
exports[`AMP Articles Header Navigation link should match text and url 12`] = `
{
"text": "دانش",
"url": "/persian/topics/ckdxnwr4r1yt",
}
`;
exports[`AMP Articles Header Navigation link should match text and url 13`] = `
{
"text": "فراتر از خبر",
"url": "/persian/topics/cxr3ex12k6et",
}
`;
exports[`AMP Articles Image Caption should match text 1`] = `"توضیح تصویر، نوشیدنیها داغ در بستههای سربسته توزیع میشوند "`;
exports[`AMP Articles Image Copyright Non BBC should match snapshot 1`] = `
<span
lang="en-GB"
>
Getty Images
</span>
`;
exports[`AMP Articles Image should match snapshot 1`] = `
<amp-img
alt="قهوه"
attribution="Getty Images"
class="bbc-image"
data-hero="true"
fallback=""
height="360"
layout="responsive"
src="https://ichef.bbci.co.uk/ace/ws/640/cpsdevpb/1e4e/test/60a1cf00-814e-11e9-b0be-cb6d2b512d8b.jpg.webp"
srcset="https://ichef.bbci.co.uk/ace/ws/240/cpsdevpb/1e4e/test/60a1cf00-814e-11e9-b0be-cb6d2b512d8b.jpg.webp 240w, https://ichef.bbci.co.uk/ace/ws/320/cpsdevpb/1e4e/test/60a1cf00-814e-11e9-b0be-cb6d2b512d8b.jpg.webp 320w, https://ichef.bbci.co.uk/ace/ws/480/cpsdevpb/1e4e/test/60a1cf00-814e-11e9-b0be-cb6d2b512d8b.jpg.webp 480w, https://ichef.bbci.co.uk/ace/ws/624/cpsdevpb/1e4e/test/60a1cf00-814e-11e9-b0be-cb6d2b512d8b.jpg.webp 624w, https://ichef.bbci.co.uk/ace/ws/640/cpsdevpb/1e4e/test/60a1cf00-814e-11e9-b0be-cb6d2b512d8b.jpg.webp 640w"
width="640"
/>
`;
exports[`AMP Articles Main heading should match text 1`] = `"پهپادی که برایتان قهوه میآورد"`;
exports[`AMP Articles Paragraph should match paragraph text 1`] = `"شاید خیلی طول نکشد که زمانی برسد که وقتی خسته هستید و مثلا هوس فنجان قهوهای را کردید، پهپادی را ببینید که با قهوه سراغتان میآید."`;
exports[`AMP Articles SEO Apple Touch Icon should match attributes 1`] = `
{
"sizes": null,
"url": "http://localhost:7080/persian/images/icons/icon-192x192.png",
}
`;
exports[`AMP Articles SEO Apple Touch Icon should match attributes 2`] = `
{
"sizes": "72x72",
"url": "https://static.files.bbci.co.uk/ws/simorgh-assets/public/persian/images/icons/icon-72x72.png",
}
`;
exports[`AMP Articles SEO Apple Touch Icon should match attributes 3`] = `
{
"sizes": "96x96",
"url": "https://static.files.bbci.co.uk/ws/simorgh-assets/public/persian/images/icons/icon-96x96.png",
}
`;
exports[`AMP Articles SEO Apple Touch Icon should match attributes 4`] = `
{
"sizes": "128x128",
"url": "https://static.files.bbci.co.uk/ws/simorgh-assets/public/persian/images/icons/icon-128x128.png",
}
`;
exports[`AMP Articles SEO Apple Touch Icon should match attributes 5`] = `
{
"sizes": "144x144",
"url": "https://static.files.bbci.co.uk/ws/simorgh-assets/public/persian/images/icons/icon-144x144.png",
}
`;
exports[`AMP Articles SEO Apple Touch Icon should match attributes 6`] = `
{
"sizes": "152x152",
"url": "https://static.files.bbci.co.uk/ws/simorgh-assets/public/persian/images/icons/icon-152x152.png",
}
`;
exports[`AMP Articles SEO Apple Touch Icon should match attributes 7`] = `
{
"sizes": "180x180",
"url": "https://static.files.bbci.co.uk/ws/simorgh-assets/public/persian/images/icons/icon-180x180.png",
}
`;
exports[`AMP Articles SEO Apple Touch Icon should match attributes 8`] = `
{
"sizes": "192x192",
"url": "https://static.files.bbci.co.uk/ws/simorgh-assets/public/persian/images/icons/icon-192x192.png",
}
`;
exports[`AMP Articles SEO Apple Touch Icon should match attributes 9`] = `
{
"sizes": "384x384",
"url": "https://static.files.bbci.co.uk/ws/simorgh-assets/public/persian/images/icons/icon-384x384.png",
}
`;
exports[`AMP Articles SEO Apple Touch Icon should match attributes 10`] = `
{
"sizes": "512x512",
"url": "https://static.files.bbci.co.uk/ws/simorgh-assets/public/persian/images/icons/icon-512x512.png",
}
`;
exports[`AMP Articles SEO Canonical link 1`] = `"http://localhost:7080/persian/articles/c4vlle3q337o"`;
exports[`AMP Articles SEO Dir attribute 1`] = `"rtl"`;
exports[`AMP Articles SEO FB app ID 1`] = `"1609039196070050"`;
exports[`AMP Articles SEO Heading level 1 1`] = `"پهپادی که برایتان قهوه میآورد"`;
exports[`AMP Articles SEO Lang attribute 1`] = `"fa"`;
exports[`AMP Articles SEO Linked data should match text 1`] = `
{
"@context": "http://schema.org",
"@graph": [
{
"@type": "NewsArticle",
"author": {
"@type": "NewsMediaOrganization",
"logo": {
"@type": "ImageObject",
"height": 576,
"url": "https://news.files.bbci.co.uk/ws/img/logos/og/persian.png",
"width": 1024,
},
"name": "BBC News فارسی",
"noBylinesPolicy": "https://www.bbc.com/persian/institutional-49283091#authorexpertise",
},
"dateModified": "2019-07-23T15:47:11.893Z",
"datePublished": "2019-05-28T13:42:44.996Z",
"description": "پهپادی که برایتان قهوه میآورد",
"headline": "پهپادی که برایتان قهوه میآورد",
"image": {
"@type": "ImageObject",
"height": 576,
"url": "https://news.files.bbci.co.uk/ws/img/logos/og/persian.png",
"width": 1024,
},
"inLanguage": {
"@type": "Language",
"alternateName": "fa",
"name": "Persian",
},
"mainEntityOfPage": {
"@id": "http://localhost:7080/persian/articles/c4vlle3q337o",
"@type": "WebPage",
"name": "پهپادی که برایتان قهوه میآورد",
},
"publisher": {
"@type": "NewsMediaOrganization",
"logo": {
"@type": "ImageObject",
"height": 576,
"url": "https://news.files.bbci.co.uk/ws/img/logos/og/persian.png",
"width": 1024,
},
"name": "BBC News فارسی",
"publishingPrinciples": "https://www.bbc.com/persian/institutional-49283091",
},
"thumbnailUrl": "https://news.files.bbci.co.uk/ws/img/logos/og/persian.png",
"url": "http://localhost:7080/persian/articles/c4vlle3q337o",
},
],
}
`;
exports[`AMP Articles SEO OG description 1`] = `"پهپادی که برایتان قهوه میآورد"`;
exports[`AMP Articles SEO OG image 1`] = `"https://news.files.bbci.co.uk/ws/img/logos/og/persian.png"`;
exports[`AMP Articles SEO OG image alt 1`] = `"BBC News فارسی"`;
exports[`AMP Articles SEO OG locale 1`] = `"fa"`;
exports[`AMP Articles SEO OG site name 1`] = `"BBC News فارسی"`;
exports[`AMP Articles SEO OG title 1`] = `"پهپادی که برایتان قهوه میآورد - BBC News فارسی"`;
exports[`AMP Articles SEO OG type 1`] = `"article"`;
exports[`AMP Articles SEO OG url 1`] = `"http://localhost:7080/persian/articles/c4vlle3q337o"`;
exports[`AMP Articles SEO Page title 1`] = `"پهپادی که برایتان قهوه میآورد - BBC News فارسی"`;
exports[`AMP Articles SEO Robots meta tag 1`] = `"noodp, noydir, max-image-preview:large"`;
exports[`AMP Articles SEO Twitter card 1`] = `"summary_large_image"`;
exports[`AMP Articles SEO Twitter creator 1`] = `"@bbcpersian"`;
exports[`AMP Articles SEO Twitter description 1`] = `"پهپادی که برایتان قهوه میآورد"`;
exports[`AMP Articles SEO Twitter image alt 1`] = `"BBC News فارسی"`;
exports[`AMP Articles SEO Twitter image src 1`] = `"https://news.files.bbci.co.uk/ws/img/logos/og/persian.png"`;
exports[`AMP Articles SEO Twitter site 1`] = `"@bbcpersian"`;
exports[`AMP Articles SEO Twitter title 1`] = `"پهپادی که برایتان قهوه میآورد - BBC News فارسی"`;
exports[`AMP Articles Timestamp should match text and date 1`] = `
{
"date": "2019-05-28",
"text": "۷ خرداد ۱۳۹۸ - ۲۸ مه ۲۰۱۹",
}
`;