From 062662a2767ba637936edbdf8b7949b6771e814b Mon Sep 17 00:00:00 2001 From: jordit Date: Tue, 12 Nov 2024 14:25:03 +0000 Subject: [PATCH 1/3] Nav updates after US elections: ar, fr, hi,ja, ko, so,ti, ur --- src/app/lib/config/services/afrique.ts | 8 ++++---- src/app/lib/config/services/arabic.ts | 4 ++++ src/app/lib/config/services/hindi.ts | 4 ---- src/app/lib/config/services/japanese.ts | 4 ---- src/app/lib/config/services/korean.ts | 4 ---- src/app/lib/config/services/somali.ts | 4 ---- src/app/lib/config/services/tigrinya.ts | 6 +++--- src/app/lib/config/services/urdu.ts | 4 ---- 8 files changed, 11 insertions(+), 27 deletions(-) diff --git a/src/app/lib/config/services/afrique.ts b/src/app/lib/config/services/afrique.ts index 8b5ad15ced4..40d3d8653fd 100644 --- a/src/app/lib/config/services/afrique.ts +++ b/src/app/lib/config/services/afrique.ts @@ -337,6 +337,10 @@ export const service: DefaultServiceConfig = { title: 'Accueil', url: '/afrique', }, + { + title: 'Ecoutez en direct', + url: '/afrique/bbc_afrique_radio/liveradio', + }, { title: 'Afrique', url: '/afrique/topics/cvqxn2k7kv7t', @@ -369,10 +373,6 @@ export const service: DefaultServiceConfig = { title: 'Nos émissions', url: '/afrique/topics/c88nzggm8gxt', }, - { - title: 'Ecoutez en direct', - url: '/afrique/bbc_afrique_radio/liveradio', - }, ], }, }; diff --git a/src/app/lib/config/services/arabic.ts b/src/app/lib/config/services/arabic.ts index f9d019c7cda..daad9ce557f 100644 --- a/src/app/lib/config/services/arabic.ts +++ b/src/app/lib/config/services/arabic.ts @@ -418,6 +418,10 @@ export const service: DefaultServiceConfig = { title: 'رئيسية', url: '/arabic', }, + { + title: 'شاهد البث المباشر', + url: '/arabic/media-49522519', + }, { title: 'أخبار', url: '/arabic/topics/cv2xyrnr8dnt', diff --git a/src/app/lib/config/services/hindi.ts b/src/app/lib/config/services/hindi.ts index b77cdb59136..f3ff8418f32 100644 --- a/src/app/lib/config/services/hindi.ts +++ b/src/app/lib/config/services/hindi.ts @@ -441,10 +441,6 @@ export const service: DefaultServiceConfig = { title: 'भारत', url: '/hindi/topics/ckdxnkz7607t', }, - { - title: 'अमेरिकी चुनाव 2024', - url: '/hindi/topics/cp9r94x30m5t', - }, { title: 'विदेश', url: '/hindi/topics/c9wpm0en87xt', diff --git a/src/app/lib/config/services/japanese.ts b/src/app/lib/config/services/japanese.ts index df175d85741..a4e0d2d1c78 100644 --- a/src/app/lib/config/services/japanese.ts +++ b/src/app/lib/config/services/japanese.ts @@ -318,10 +318,6 @@ export const service: DefaultServiceConfig = { title: 'ウクライナ侵攻', url: '/japanese/topics/c50vpymk750t', }, - { - title: '米大統領選', - url: '/japanese/topics/c5qx4zgm86et', - }, { title: '気候変動', url: '/japanese/topics/c2dwqjr27zjt', diff --git a/src/app/lib/config/services/korean.ts b/src/app/lib/config/services/korean.ts index 621ecb14baf..5c0b843036f 100644 --- a/src/app/lib/config/services/korean.ts +++ b/src/app/lib/config/services/korean.ts @@ -328,10 +328,6 @@ export const service: DefaultServiceConfig = { title: '뉴스', url: '/korean', }, - { - title: '2024 미국 대선', - url: '/korean/topics/cxdyjwpx5v0t', - }, { title: '비디오', url: '/korean/topics/cnwng7v0e54t', diff --git a/src/app/lib/config/services/somali.ts b/src/app/lib/config/services/somali.ts index afc6e15e6a3..44e49e809ec 100644 --- a/src/app/lib/config/services/somali.ts +++ b/src/app/lib/config/services/somali.ts @@ -334,10 +334,6 @@ export const service: DefaultServiceConfig = { title: 'War', url: '/somali', }, - { - title: 'Doorashada Mareykanka 2024', - url: '/somali/topics/cv2g4v31x97t', - }, { title: 'Ganacsi', url: '/somali/topics/c2dwqd32v4yt', diff --git a/src/app/lib/config/services/tigrinya.ts b/src/app/lib/config/services/tigrinya.ts index df367203c9b..8ec3cbd136b 100644 --- a/src/app/lib/config/services/tigrinya.ts +++ b/src/app/lib/config/services/tigrinya.ts @@ -317,12 +317,12 @@ export const service: DefaultServiceConfig = { url: '/tigrinya/topics/c5qvp11n2vzt', }, { - title: 'ቅልውላው ማእከላይ ምብራቕ', + title: 'ማእከላይ ምብራቕ', url: '/tigrinya/topics/c5qvp1qz3q6t', }, { - title: 'ምርጫ ኣመሪካ', - url: '/tigrinya/topics/cxdyjg4kpxpt', + title: 'ሳይንስን ጥዕናን', + url: '/tigrinya/topics/cx2yler1d05t', }, { title: 'ቪድዮ', diff --git a/src/app/lib/config/services/urdu.ts b/src/app/lib/config/services/urdu.ts index 4db97deecaa..e45b0bf0746 100644 --- a/src/app/lib/config/services/urdu.ts +++ b/src/app/lib/config/services/urdu.ts @@ -413,10 +413,6 @@ export const service: DefaultServiceConfig = { title: 'صفحۂ اول', url: '/urdu', }, - { - title: 'امریکی صدارتی انتخاب 2024', - url: '/urdu/topics/c0w3wed04e3t', - }, { title: 'پاکستان', url: '/urdu/topics/cjgn7n9zzq7t', From 47172a2f4883bbbbfa2f1badd66da95566512e39 Mon Sep 17 00:00:00 2001 From: jordit Date: Tue, 12 Nov 2024 14:43:16 +0000 Subject: [PATCH 2/3] Update snapshots --- .../afrique/__snapshots__/amp.test.js.snap | 28 +++++++++---------- .../__snapshots__/canonical.test.js.snap | 28 +++++++++---------- .../urdu/__snapshots__/amp.test.js.snap | 19 ++++--------- .../urdu/__snapshots__/canonical.test.js.snap | 19 ++++--------- .../arabic/__snapshots__/amp.test.js.snap | 21 +++++++++----- .../__snapshots__/canonical.test.js.snap | 21 +++++++++----- .../hindi/__snapshots__/amp.test.js.snap | 19 ++++--------- .../__snapshots__/canonical.test.js.snap | 19 ++++--------- .../__snapshots__/canonical.test.js.snap | 13 ++------- .../arabicTC2/__snapshots__/amp.test.js.snap | 21 +++++++++----- .../__snapshots__/canonical.test.js.snap | 21 +++++++++----- 11 files changed, 111 insertions(+), 118 deletions(-) diff --git a/src/integration/pages/featureIdxPage/afrique/__snapshots__/amp.test.js.snap b/src/integration/pages/featureIdxPage/afrique/__snapshots__/amp.test.js.snap index 20cee670fa1..4797f294947 100644 --- a/src/integration/pages/featureIdxPage/afrique/__snapshots__/amp.test.js.snap +++ b/src/integration/pages/featureIdxPage/afrique/__snapshots__/amp.test.js.snap @@ -222,68 +222,68 @@ exports[`AMP Feature Index page Header Navigation link should match text and url `; exports[`AMP Feature Index page Header Navigation link should match text and url 2`] = ` +{ + "text": "Ecoutez en direct", + "url": "/afrique/bbc_afrique_radio/liveradio", +} +`; + +exports[`AMP Feature Index page Header Navigation link should match text and url 3`] = ` { "text": "Afrique", "url": "/afrique/topics/cvqxn2k7kv7t", } `; -exports[`AMP Feature Index page Header Navigation link should match text and url 3`] = ` +exports[`AMP Feature Index page Header Navigation link should match text and url 4`] = ` { "text": "Monde", "url": "/afrique/topics/cvqxn21vx11t", } `; -exports[`AMP Feature Index page Header Navigation link should match text and url 4`] = ` +exports[`AMP Feature Index page Header Navigation link should match text and url 5`] = ` { "text": "Santé", "url": "/afrique/topics/c06gq9jxz3rt", } `; -exports[`AMP Feature Index page Header Navigation link should match text and url 5`] = ` +exports[`AMP Feature Index page Header Navigation link should match text and url 6`] = ` { "text": "Science et technologie", "url": "/afrique/topics/crezq2zk0q4t", } `; -exports[`AMP Feature Index page Header Navigation link should match text and url 6`] = ` +exports[`AMP Feature Index page Header Navigation link should match text and url 7`] = ` { "text": "Economie", "url": "/afrique/topics/cnq687nr9v1t", } `; -exports[`AMP Feature Index page Header Navigation link should match text and url 7`] = ` +exports[`AMP Feature Index page Header Navigation link should match text and url 8`] = ` { "text": "Culture", "url": "/afrique/topics/cnq687nrrw8t", } `; -exports[`AMP Feature Index page Header Navigation link should match text and url 8`] = ` +exports[`AMP Feature Index page Header Navigation link should match text and url 9`] = ` { "text": "Vidéos", "url": "/afrique/topics/cz4vn9gyd6rt", } `; -exports[`AMP Feature Index page Header Navigation link should match text and url 9`] = ` +exports[`AMP Feature Index page Header Navigation link should match text and url 10`] = ` { "text": "Nos émissions", "url": "/afrique/topics/c88nzggm8gxt", } `; -exports[`AMP Feature Index page Header Navigation link should match text and url 10`] = ` -{ - "text": "Ecoutez en direct", - "url": "/afrique/bbc_afrique_radio/liveradio", -} -`; - exports[`AMP Feature Index page Main heading should match text 1`] = `"Tout savoir sur la CAN 2019"`; exports[`AMP Feature Index page SEO Apple Touch Icon should match attributes 1`] = ` diff --git a/src/integration/pages/featureIdxPage/afrique/__snapshots__/canonical.test.js.snap b/src/integration/pages/featureIdxPage/afrique/__snapshots__/canonical.test.js.snap index e74b8df649d..4e67e728df9 100644 --- a/src/integration/pages/featureIdxPage/afrique/__snapshots__/canonical.test.js.snap +++ b/src/integration/pages/featureIdxPage/afrique/__snapshots__/canonical.test.js.snap @@ -81,68 +81,68 @@ exports[`Canonical Feature Index page Header Navigation link should match text a `; exports[`Canonical Feature Index page Header Navigation link should match text and url 2`] = ` +{ + "text": "Ecoutez en direct", + "url": "/afrique/bbc_afrique_radio/liveradio", +} +`; + +exports[`Canonical Feature Index page Header Navigation link should match text and url 3`] = ` { "text": "Afrique", "url": "/afrique/topics/cvqxn2k7kv7t", } `; -exports[`Canonical Feature Index page Header Navigation link should match text and url 3`] = ` +exports[`Canonical Feature Index page Header Navigation link should match text and url 4`] = ` { "text": "Monde", "url": "/afrique/topics/cvqxn21vx11t", } `; -exports[`Canonical Feature Index page Header Navigation link should match text and url 4`] = ` +exports[`Canonical Feature Index page Header Navigation link should match text and url 5`] = ` { "text": "Santé", "url": "/afrique/topics/c06gq9jxz3rt", } `; -exports[`Canonical Feature Index page Header Navigation link should match text and url 5`] = ` +exports[`Canonical Feature Index page Header Navigation link should match text and url 6`] = ` { "text": "Science et technologie", "url": "/afrique/topics/crezq2zk0q4t", } `; -exports[`Canonical Feature Index page Header Navigation link should match text and url 6`] = ` +exports[`Canonical Feature Index page Header Navigation link should match text and url 7`] = ` { "text": "Economie", "url": "/afrique/topics/cnq687nr9v1t", } `; -exports[`Canonical Feature Index page Header Navigation link should match text and url 7`] = ` +exports[`Canonical Feature Index page Header Navigation link should match text and url 8`] = ` { "text": "Culture", "url": "/afrique/topics/cnq687nrrw8t", } `; -exports[`Canonical Feature Index page Header Navigation link should match text and url 8`] = ` +exports[`Canonical Feature Index page Header Navigation link should match text and url 9`] = ` { "text": "Vidéos", "url": "/afrique/topics/cz4vn9gyd6rt", } `; -exports[`Canonical Feature Index page Header Navigation link should match text and url 9`] = ` +exports[`Canonical Feature Index page Header Navigation link should match text and url 10`] = ` { "text": "Nos émissions", "url": "/afrique/topics/c88nzggm8gxt", } `; -exports[`Canonical Feature Index page Header Navigation link should match text and url 10`] = ` -{ - "text": "Ecoutez en direct", - "url": "/afrique/bbc_afrique_radio/liveradio", -} -`; - exports[`Canonical Feature Index page Main heading should match text 1`] = `"Tout savoir sur la CAN 2019"`; exports[`Canonical Feature Index page SEO Apple Touch Icon should match attributes 1`] = ` diff --git a/src/integration/pages/featureIdxPage/urdu/__snapshots__/amp.test.js.snap b/src/integration/pages/featureIdxPage/urdu/__snapshots__/amp.test.js.snap index b81e3f9eb2a..dd5c6daf37f 100644 --- a/src/integration/pages/featureIdxPage/urdu/__snapshots__/amp.test.js.snap +++ b/src/integration/pages/featureIdxPage/urdu/__snapshots__/amp.test.js.snap @@ -222,55 +222,48 @@ exports[`AMP Feature Index page Header Navigation link should match text and url `; exports[`AMP Feature Index page Header Navigation link should match text and url 2`] = ` -{ - "text": "امریکی صدارتی انتخاب 2024", - "url": "/urdu/topics/c0w3wed04e3t", -} -`; - -exports[`AMP Feature Index page Header Navigation link should match text and url 3`] = ` { "text": "پاکستان", "url": "/urdu/topics/cjgn7n9zzq7t", } `; -exports[`AMP Feature Index page Header Navigation link should match text and url 4`] = ` +exports[`AMP Feature Index page Header Navigation link should match text and url 3`] = ` { "text": "آس پاس", "url": "/urdu/topics/cl8l9mveql2t", } `; -exports[`AMP Feature Index page Header Navigation link should match text and url 5`] = ` +exports[`AMP Feature Index page Header Navigation link should match text and url 4`] = ` { "text": "ورلڈ", "url": "/urdu/topics/cw57v2pmll9t", } `; -exports[`AMP Feature Index page Header Navigation link should match text and url 6`] = ` +exports[`AMP Feature Index page Header Navigation link should match text and url 5`] = ` { "text": "کھیل", "url": "/urdu/topics/c340q0p2585t", } `; -exports[`AMP Feature Index page Header Navigation link should match text and url 7`] = ` +exports[`AMP Feature Index page Header Navigation link should match text and url 6`] = ` { "text": "فن فنکار", "url": "/urdu/topics/ckdxnx900n5t", } `; -exports[`AMP Feature Index page Header Navigation link should match text and url 8`] = ` +exports[`AMP Feature Index page Header Navigation link should match text and url 7`] = ` { "text": "سائنس", "url": "/urdu/topics/c40379e2ymxt", } `; -exports[`AMP Feature Index page Header Navigation link should match text and url 9`] = ` +exports[`AMP Feature Index page Header Navigation link should match text and url 8`] = ` { "text": "ویڈیو", "url": "/urdu/topics/c1e0mzr3r2yt", diff --git a/src/integration/pages/featureIdxPage/urdu/__snapshots__/canonical.test.js.snap b/src/integration/pages/featureIdxPage/urdu/__snapshots__/canonical.test.js.snap index 6c8ecdba51d..6f25e8d1826 100644 --- a/src/integration/pages/featureIdxPage/urdu/__snapshots__/canonical.test.js.snap +++ b/src/integration/pages/featureIdxPage/urdu/__snapshots__/canonical.test.js.snap @@ -81,55 +81,48 @@ exports[`Canonical Feature Index page Header Navigation link should match text a `; exports[`Canonical Feature Index page Header Navigation link should match text and url 2`] = ` -{ - "text": "امریکی صدارتی انتخاب 2024", - "url": "/urdu/topics/c0w3wed04e3t", -} -`; - -exports[`Canonical Feature Index page Header Navigation link should match text and url 3`] = ` { "text": "پاکستان", "url": "/urdu/topics/cjgn7n9zzq7t", } `; -exports[`Canonical Feature Index page Header Navigation link should match text and url 4`] = ` +exports[`Canonical Feature Index page Header Navigation link should match text and url 3`] = ` { "text": "آس پاس", "url": "/urdu/topics/cl8l9mveql2t", } `; -exports[`Canonical Feature Index page Header Navigation link should match text and url 5`] = ` +exports[`Canonical Feature Index page Header Navigation link should match text and url 4`] = ` { "text": "ورلڈ", "url": "/urdu/topics/cw57v2pmll9t", } `; -exports[`Canonical Feature Index page Header Navigation link should match text and url 6`] = ` +exports[`Canonical Feature Index page Header Navigation link should match text and url 5`] = ` { "text": "کھیل", "url": "/urdu/topics/c340q0p2585t", } `; -exports[`Canonical Feature Index page Header Navigation link should match text and url 7`] = ` +exports[`Canonical Feature Index page Header Navigation link should match text and url 6`] = ` { "text": "فن فنکار", "url": "/urdu/topics/ckdxnx900n5t", } `; -exports[`Canonical Feature Index page Header Navigation link should match text and url 8`] = ` +exports[`Canonical Feature Index page Header Navigation link should match text and url 7`] = ` { "text": "سائنس", "url": "/urdu/topics/c40379e2ymxt", } `; -exports[`Canonical Feature Index page Header Navigation link should match text and url 9`] = ` +exports[`Canonical Feature Index page Header Navigation link should match text and url 8`] = ` { "text": "ویڈیو", "url": "/urdu/topics/c1e0mzr3r2yt", diff --git a/src/integration/pages/homePage/arabic/__snapshots__/amp.test.js.snap b/src/integration/pages/homePage/arabic/__snapshots__/amp.test.js.snap index b843d6cf931..2b234a76fa0 100644 --- a/src/integration/pages/homePage/arabic/__snapshots__/amp.test.js.snap +++ b/src/integration/pages/homePage/arabic/__snapshots__/amp.test.js.snap @@ -261,55 +261,62 @@ exports[`AMP Home Page Header Navigation link should match text and url 1`] = ` `; exports[`AMP Home Page Header Navigation link should match text and url 2`] = ` +{ + "text": "شاهد البث المباشر", + "url": "/arabic/media-49522519", +} +`; + +exports[`AMP Home Page Header Navigation link should match text and url 3`] = ` { "text": "أخبار", "url": "/arabic/topics/cv2xyrnr8dnt", } `; -exports[`AMP Home Page Header Navigation link should match text and url 3`] = ` +exports[`AMP Home Page Header Navigation link should match text and url 4`] = ` { "text": "اقتصاد", "url": "/arabic/topics/cqywj97d487t", } `; -exports[`AMP Home Page Header Navigation link should match text and url 4`] = ` +exports[`AMP Home Page Header Navigation link should match text and url 5`] = ` { "text": "صحة وعلوم", "url": "/arabic/topics/clmj3d7282gt", } `; -exports[`AMP Home Page Header Navigation link should match text and url 5`] = ` +exports[`AMP Home Page Header Navigation link should match text and url 6`] = ` { "text": "رياضة", "url": "/arabic/topics/cyx5kw7g1j2t", } `; -exports[`AMP Home Page Header Navigation link should match text and url 6`] = ` +exports[`AMP Home Page Header Navigation link should match text and url 7`] = ` { "text": "فيديو", "url": "/arabic/topics/cz9mm6r1q5et", } `; -exports[`AMP Home Page Header Navigation link should match text and url 7`] = ` +exports[`AMP Home Page Header Navigation link should match text and url 8`] = ` { "text": "تحقيقات", "url": "/arabic/topics/c51nnzdeg9zt", } `; -exports[`AMP Home Page Header Navigation link should match text and url 8`] = ` +exports[`AMP Home Page Header Navigation link should match text and url 9`] = ` { "text": "بودكاست", "url": "/arabic/topics/cljddp5lw0dt", } `; -exports[`AMP Home Page Header Navigation link should match text and url 9`] = ` +exports[`AMP Home Page Header Navigation link should match text and url 10`] = ` { "text": "برامجنا", "url": "/arabic/topics/crgyknwdlwnt", diff --git a/src/integration/pages/homePage/arabic/__snapshots__/canonical.test.js.snap b/src/integration/pages/homePage/arabic/__snapshots__/canonical.test.js.snap index 99e35a63146..038b7bd9513 100644 --- a/src/integration/pages/homePage/arabic/__snapshots__/canonical.test.js.snap +++ b/src/integration/pages/homePage/arabic/__snapshots__/canonical.test.js.snap @@ -102,55 +102,62 @@ exports[`Canonical Home Page Header Navigation link should match text and url 1` `; exports[`Canonical Home Page Header Navigation link should match text and url 2`] = ` +{ + "text": "شاهد البث المباشر", + "url": "/arabic/media-49522519", +} +`; + +exports[`Canonical Home Page Header Navigation link should match text and url 3`] = ` { "text": "أخبار", "url": "/arabic/topics/cv2xyrnr8dnt", } `; -exports[`Canonical Home Page Header Navigation link should match text and url 3`] = ` +exports[`Canonical Home Page Header Navigation link should match text and url 4`] = ` { "text": "اقتصاد", "url": "/arabic/topics/cqywj97d487t", } `; -exports[`Canonical Home Page Header Navigation link should match text and url 4`] = ` +exports[`Canonical Home Page Header Navigation link should match text and url 5`] = ` { "text": "صحة وعلوم", "url": "/arabic/topics/clmj3d7282gt", } `; -exports[`Canonical Home Page Header Navigation link should match text and url 5`] = ` +exports[`Canonical Home Page Header Navigation link should match text and url 6`] = ` { "text": "رياضة", "url": "/arabic/topics/cyx5kw7g1j2t", } `; -exports[`Canonical Home Page Header Navigation link should match text and url 6`] = ` +exports[`Canonical Home Page Header Navigation link should match text and url 7`] = ` { "text": "فيديو", "url": "/arabic/topics/cz9mm6r1q5et", } `; -exports[`Canonical Home Page Header Navigation link should match text and url 7`] = ` +exports[`Canonical Home Page Header Navigation link should match text and url 8`] = ` { "text": "تحقيقات", "url": "/arabic/topics/c51nnzdeg9zt", } `; -exports[`Canonical Home Page Header Navigation link should match text and url 8`] = ` +exports[`Canonical Home Page Header Navigation link should match text and url 9`] = ` { "text": "بودكاست", "url": "/arabic/topics/cljddp5lw0dt", } `; -exports[`Canonical Home Page Header Navigation link should match text and url 9`] = ` +exports[`Canonical Home Page Header Navigation link should match text and url 10`] = ` { "text": "برامجنا", "url": "/arabic/topics/crgyknwdlwnt", diff --git a/src/integration/pages/homePage/hindi/__snapshots__/amp.test.js.snap b/src/integration/pages/homePage/hindi/__snapshots__/amp.test.js.snap index 3060542d127..a7d826cd57f 100644 --- a/src/integration/pages/homePage/hindi/__snapshots__/amp.test.js.snap +++ b/src/integration/pages/homePage/hindi/__snapshots__/amp.test.js.snap @@ -220,55 +220,48 @@ exports[`AMP Home Page Header Navigation link should match text and url 2`] = ` `; exports[`AMP Home Page Header Navigation link should match text and url 3`] = ` -{ - "text": "अमेरिकी चुनाव 2024", - "url": "/hindi/topics/cp9r94x30m5t", -} -`; - -exports[`AMP Home Page Header Navigation link should match text and url 4`] = ` { "text": "विदेश", "url": "/hindi/topics/c9wpm0en87xt", } `; -exports[`AMP Home Page Header Navigation link should match text and url 5`] = ` +exports[`AMP Home Page Header Navigation link should match text and url 4`] = ` { "text": "मनोरंजन", "url": "/hindi/topics/c06gq3n0pp7t", } `; -exports[`AMP Home Page Header Navigation link should match text and url 6`] = ` +exports[`AMP Home Page Header Navigation link should match text and url 5`] = ` { "text": "खेल", "url": "/hindi/topics/cwr9j8g1kj9t", } `; -exports[`AMP Home Page Header Navigation link should match text and url 7`] = ` +exports[`AMP Home Page Header Navigation link should match text and url 6`] = ` { "text": "विज्ञान-टेक्नॉलॉजी", "url": "/hindi/topics/c2lej0594knt", } `; -exports[`AMP Home Page Header Navigation link should match text and url 8`] = ` +exports[`AMP Home Page Header Navigation link should match text and url 7`] = ` { "text": "सोशल", "url": "/hindi/topics/c2e4q0z9qznt", } `; -exports[`AMP Home Page Header Navigation link should match text and url 9`] = ` +exports[`AMP Home Page Header Navigation link should match text and url 8`] = ` { "text": "वीडियो", "url": "/hindi/topics/cw9kv0kpxydt", } `; -exports[`AMP Home Page Header Navigation link should match text and url 10`] = ` +exports[`AMP Home Page Header Navigation link should match text and url 9`] = ` { "text": "पॉडकास्ट", "url": "/hindi/institutional-61824775", diff --git a/src/integration/pages/homePage/hindi/__snapshots__/canonical.test.js.snap b/src/integration/pages/homePage/hindi/__snapshots__/canonical.test.js.snap index 671df288a85..f4e06da6ad6 100644 --- a/src/integration/pages/homePage/hindi/__snapshots__/canonical.test.js.snap +++ b/src/integration/pages/homePage/hindi/__snapshots__/canonical.test.js.snap @@ -90,55 +90,48 @@ exports[`Canonical Home Page Header Navigation link should match text and url 2` `; exports[`Canonical Home Page Header Navigation link should match text and url 3`] = ` -{ - "text": "अमेरिकी चुनाव 2024", - "url": "/hindi/topics/cp9r94x30m5t", -} -`; - -exports[`Canonical Home Page Header Navigation link should match text and url 4`] = ` { "text": "विदेश", "url": "/hindi/topics/c9wpm0en87xt", } `; -exports[`Canonical Home Page Header Navigation link should match text and url 5`] = ` +exports[`Canonical Home Page Header Navigation link should match text and url 4`] = ` { "text": "मनोरंजन", "url": "/hindi/topics/c06gq3n0pp7t", } `; -exports[`Canonical Home Page Header Navigation link should match text and url 6`] = ` +exports[`Canonical Home Page Header Navigation link should match text and url 5`] = ` { "text": "खेल", "url": "/hindi/topics/cwr9j8g1kj9t", } `; -exports[`Canonical Home Page Header Navigation link should match text and url 7`] = ` +exports[`Canonical Home Page Header Navigation link should match text and url 6`] = ` { "text": "विज्ञान-टेक्नॉलॉजी", "url": "/hindi/topics/c2lej0594knt", } `; -exports[`Canonical Home Page Header Navigation link should match text and url 8`] = ` +exports[`Canonical Home Page Header Navigation link should match text and url 7`] = ` { "text": "सोशल", "url": "/hindi/topics/c2e4q0z9qznt", } `; -exports[`Canonical Home Page Header Navigation link should match text and url 9`] = ` +exports[`Canonical Home Page Header Navigation link should match text and url 8`] = ` { "text": "वीडियो", "url": "/hindi/topics/cw9kv0kpxydt", } `; -exports[`Canonical Home Page Header Navigation link should match text and url 10`] = ` +exports[`Canonical Home Page Header Navigation link should match text and url 9`] = ` { "text": "पॉडकास्ट", "url": "/hindi/institutional-61824775", diff --git a/src/integration/pages/liveRadio/korean/__snapshots__/canonical.test.js.snap b/src/integration/pages/liveRadio/korean/__snapshots__/canonical.test.js.snap index 283ceda69f8..4e86f277cf9 100644 --- a/src/integration/pages/liveRadio/korean/__snapshots__/canonical.test.js.snap +++ b/src/integration/pages/liveRadio/korean/__snapshots__/canonical.test.js.snap @@ -81,34 +81,27 @@ exports[`Canonical Korean Live Radio Page Header Navigation link should match te `; exports[`Canonical Korean Live Radio Page Header Navigation link should match text and url 2`] = ` -{ - "text": "2024 미국 대선", - "url": "/korean/topics/cxdyjwpx5v0t", -} -`; - -exports[`Canonical Korean Live Radio Page Header Navigation link should match text and url 3`] = ` { "text": "비디오", "url": "/korean/topics/cnwng7v0e54t", } `; -exports[`Canonical Korean Live Radio Page Header Navigation link should match text and url 4`] = ` +exports[`Canonical Korean Live Radio Page Header Navigation link should match text and url 3`] = ` { "text": "라디오", "url": "/korean/bbc_korean_radio/programmes/w13xttll", } `; -exports[`Canonical Korean Live Radio Page Header Navigation link should match text and url 5`] = ` +exports[`Canonical Korean Live Radio Page Header Navigation link should match text and url 4`] = ` { "text": "다운로드", "url": "/korean/downloads", } `; -exports[`Canonical Korean Live Radio Page Header Navigation link should match text and url 6`] = ` +exports[`Canonical Korean Live Radio Page Header Navigation link should match text and url 5`] = ` { "text": "TOP 뉴스", "url": "/korean/popular/read", diff --git a/src/integration/pages/mediaAssetPage/arabicTC2/__snapshots__/amp.test.js.snap b/src/integration/pages/mediaAssetPage/arabicTC2/__snapshots__/amp.test.js.snap index 585526f55b2..7d25f7bd483 100644 --- a/src/integration/pages/mediaAssetPage/arabicTC2/__snapshots__/amp.test.js.snap +++ b/src/integration/pages/mediaAssetPage/arabicTC2/__snapshots__/amp.test.js.snap @@ -222,55 +222,62 @@ exports[`AMP Media Asset Page Header Navigation link should match text and url 1 `; exports[`AMP Media Asset Page Header Navigation link should match text and url 2`] = ` +{ + "text": "شاهد البث المباشر", + "url": "/arabic/media-49522519", +} +`; + +exports[`AMP Media Asset Page Header Navigation link should match text and url 3`] = ` { "text": "أخبار", "url": "/arabic/topics/cv2xyrnr8dnt", } `; -exports[`AMP Media Asset Page Header Navigation link should match text and url 3`] = ` +exports[`AMP Media Asset Page Header Navigation link should match text and url 4`] = ` { "text": "اقتصاد", "url": "/arabic/topics/cqywj97d487t", } `; -exports[`AMP Media Asset Page Header Navigation link should match text and url 4`] = ` +exports[`AMP Media Asset Page Header Navigation link should match text and url 5`] = ` { "text": "صحة وعلوم", "url": "/arabic/topics/clmj3d7282gt", } `; -exports[`AMP Media Asset Page Header Navigation link should match text and url 5`] = ` +exports[`AMP Media Asset Page Header Navigation link should match text and url 6`] = ` { "text": "رياضة", "url": "/arabic/topics/cyx5kw7g1j2t", } `; -exports[`AMP Media Asset Page Header Navigation link should match text and url 6`] = ` +exports[`AMP Media Asset Page Header Navigation link should match text and url 7`] = ` { "text": "فيديو", "url": "/arabic/topics/cz9mm6r1q5et", } `; -exports[`AMP Media Asset Page Header Navigation link should match text and url 7`] = ` +exports[`AMP Media Asset Page Header Navigation link should match text and url 8`] = ` { "text": "تحقيقات", "url": "/arabic/topics/c51nnzdeg9zt", } `; -exports[`AMP Media Asset Page Header Navigation link should match text and url 8`] = ` +exports[`AMP Media Asset Page Header Navigation link should match text and url 9`] = ` { "text": "بودكاست", "url": "/arabic/topics/cljddp5lw0dt", } `; -exports[`AMP Media Asset Page Header Navigation link should match text and url 9`] = ` +exports[`AMP Media Asset Page Header Navigation link should match text and url 10`] = ` { "text": "برامجنا", "url": "/arabic/topics/crgyknwdlwnt", diff --git a/src/integration/pages/mediaAssetPage/arabicTC2/__snapshots__/canonical.test.js.snap b/src/integration/pages/mediaAssetPage/arabicTC2/__snapshots__/canonical.test.js.snap index bf9dc2fb42a..06554deeca9 100644 --- a/src/integration/pages/mediaAssetPage/arabicTC2/__snapshots__/canonical.test.js.snap +++ b/src/integration/pages/mediaAssetPage/arabicTC2/__snapshots__/canonical.test.js.snap @@ -81,55 +81,62 @@ exports[`Canonical Media Asset Page Header Navigation link should match text and `; exports[`Canonical Media Asset Page Header Navigation link should match text and url 2`] = ` +{ + "text": "شاهد البث المباشر", + "url": "/arabic/media-49522519", +} +`; + +exports[`Canonical Media Asset Page Header Navigation link should match text and url 3`] = ` { "text": "أخبار", "url": "/arabic/topics/cv2xyrnr8dnt", } `; -exports[`Canonical Media Asset Page Header Navigation link should match text and url 3`] = ` +exports[`Canonical Media Asset Page Header Navigation link should match text and url 4`] = ` { "text": "اقتصاد", "url": "/arabic/topics/cqywj97d487t", } `; -exports[`Canonical Media Asset Page Header Navigation link should match text and url 4`] = ` +exports[`Canonical Media Asset Page Header Navigation link should match text and url 5`] = ` { "text": "صحة وعلوم", "url": "/arabic/topics/clmj3d7282gt", } `; -exports[`Canonical Media Asset Page Header Navigation link should match text and url 5`] = ` +exports[`Canonical Media Asset Page Header Navigation link should match text and url 6`] = ` { "text": "رياضة", "url": "/arabic/topics/cyx5kw7g1j2t", } `; -exports[`Canonical Media Asset Page Header Navigation link should match text and url 6`] = ` +exports[`Canonical Media Asset Page Header Navigation link should match text and url 7`] = ` { "text": "فيديو", "url": "/arabic/topics/cz9mm6r1q5et", } `; -exports[`Canonical Media Asset Page Header Navigation link should match text and url 7`] = ` +exports[`Canonical Media Asset Page Header Navigation link should match text and url 8`] = ` { "text": "تحقيقات", "url": "/arabic/topics/c51nnzdeg9zt", } `; -exports[`Canonical Media Asset Page Header Navigation link should match text and url 8`] = ` +exports[`Canonical Media Asset Page Header Navigation link should match text and url 9`] = ` { "text": "بودكاست", "url": "/arabic/topics/cljddp5lw0dt", } `; -exports[`Canonical Media Asset Page Header Navigation link should match text and url 9`] = ` +exports[`Canonical Media Asset Page Header Navigation link should match text and url 10`] = ` { "text": "برامجنا", "url": "/arabic/topics/crgyknwdlwnt", From 8dcd291a34e7aea80591667c29d86c81357713e4 Mon Sep 17 00:00:00 2001 From: Karina Thomas Date: Tue, 12 Nov 2024 16:03:18 +0000 Subject: [PATCH 3/3] Update snapshots --- .../__snapshots__/canonical.test.ts.snap | 21 ++++++++++++------- .../__snapshots__/canonical.test.ts.snap | 13 +++--------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/ws-nextjs-app/integration/pages/live/arabic/__snapshots__/canonical.test.ts.snap b/ws-nextjs-app/integration/pages/live/arabic/__snapshots__/canonical.test.ts.snap index 8f8a7490c25..389367c4b9b 100644 --- a/ws-nextjs-app/integration/pages/live/arabic/__snapshots__/canonical.test.ts.snap +++ b/ws-nextjs-app/integration/pages/live/arabic/__snapshots__/canonical.test.ts.snap @@ -10,55 +10,62 @@ exports[`Canonical Live Header Navigation link should match text and url 1`] = ` `; exports[`Canonical Live Header Navigation link should match text and url 2`] = ` +{ + "text": "شاهد البث المباشر", + "url": "/arabic/media-49522519", +} +`; + +exports[`Canonical Live Header Navigation link should match text and url 3`] = ` { "text": "أخبار", "url": "/arabic/topics/cv2xyrnr8dnt", } `; -exports[`Canonical Live Header Navigation link should match text and url 3`] = ` +exports[`Canonical Live Header Navigation link should match text and url 4`] = ` { "text": "اقتصاد", "url": "/arabic/topics/cqywj97d487t", } `; -exports[`Canonical Live Header Navigation link should match text and url 4`] = ` +exports[`Canonical Live Header Navigation link should match text and url 5`] = ` { "text": "صحة وعلوم", "url": "/arabic/topics/clmj3d7282gt", } `; -exports[`Canonical Live Header Navigation link should match text and url 5`] = ` +exports[`Canonical Live Header Navigation link should match text and url 6`] = ` { "text": "رياضة", "url": "/arabic/topics/cyx5kw7g1j2t", } `; -exports[`Canonical Live Header Navigation link should match text and url 6`] = ` +exports[`Canonical Live Header Navigation link should match text and url 7`] = ` { "text": "فيديو", "url": "/arabic/topics/cz9mm6r1q5et", } `; -exports[`Canonical Live Header Navigation link should match text and url 7`] = ` +exports[`Canonical Live Header Navigation link should match text and url 8`] = ` { "text": "تحقيقات", "url": "/arabic/topics/c51nnzdeg9zt", } `; -exports[`Canonical Live Header Navigation link should match text and url 8`] = ` +exports[`Canonical Live Header Navigation link should match text and url 9`] = ` { "text": "بودكاست", "url": "/arabic/topics/cljddp5lw0dt", } `; -exports[`Canonical Live Header Navigation link should match text and url 9`] = ` +exports[`Canonical Live Header Navigation link should match text and url 10`] = ` { "text": "برامجنا", "url": "/arabic/topics/crgyknwdlwnt", diff --git a/ws-nextjs-app/integration/pages/send/somaliFileUpload/__snapshots__/canonical.test.ts.snap b/ws-nextjs-app/integration/pages/send/somaliFileUpload/__snapshots__/canonical.test.ts.snap index b7edaeb397d..a066adc79b4 100644 --- a/ws-nextjs-app/integration/pages/send/somaliFileUpload/__snapshots__/canonical.test.ts.snap +++ b/ws-nextjs-app/integration/pages/send/somaliFileUpload/__snapshots__/canonical.test.ts.snap @@ -79,34 +79,27 @@ exports[`Canonical Send Header Navigation link should match text and url 1`] = ` `; exports[`Canonical Send Header Navigation link should match text and url 2`] = ` -{ - "text": "Doorashada Mareykanka 2024", - "url": "/somali/topics/cv2g4v31x97t", -} -`; - -exports[`Canonical Send Header Navigation link should match text and url 3`] = ` { "text": "Ganacsi", "url": "/somali/topics/c2dwqd32v4yt", } `; -exports[`Canonical Send Header Navigation link should match text and url 4`] = ` +exports[`Canonical Send Header Navigation link should match text and url 3`] = ` { "text": "Cayaaraha", "url": "/somali/topics/cpzd4zj1pn2t", } `; -exports[`Canonical Send Header Navigation link should match text and url 5`] = ` +exports[`Canonical Send Header Navigation link should match text and url 4`] = ` { "text": "Muuqaal", "url": "/somali/topics/c7pl4k5r9xxt", } `; -exports[`Canonical Send Header Navigation link should match text and url 6`] = ` +exports[`Canonical Send Header Navigation link should match text and url 5`] = ` { "text": "Barnaamijyada Idaacadda", "url": "/somali/topics/cn6rqlrkm0pt",