From 4b3007fc8f0f06630d870b577668ad91a5f56ce3 Mon Sep 17 00:00:00 2001 From: jordit Date: Fri, 17 Jan 2025 09:15:52 +0000 Subject: [PATCH 1/2] Hindi nav: add Delhi elections --- src/app/lib/config/services/hindi.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/app/lib/config/services/hindi.ts b/src/app/lib/config/services/hindi.ts index e500aaaa97e..526a4b629dc 100644 --- a/src/app/lib/config/services/hindi.ts +++ b/src/app/lib/config/services/hindi.ts @@ -441,6 +441,10 @@ export const service: DefaultServiceConfig = { title: 'होम पेज', url: '/hindi', }, + { + title: 'दिल्ली विधानसभा चुनाव', + url: '/hindi/topics/c8dqegnm6d9t', + }, { title: 'भारत', url: '/hindi/topics/ckdxnkz7607t', From 1871f3306e58d1a8927ccc2afa73a28e43a72114 Mon Sep 17 00:00:00 2001 From: jordit Date: Fri, 17 Jan 2025 09:16:34 +0000 Subject: [PATCH 2/2] Update snapshots --- .../hindi/__snapshots__/amp.test.js.snap | 21 ++++++++++++------- .../__snapshots__/canonical.test.js.snap | 21 ++++++++++++------- 2 files changed, 28 insertions(+), 14 deletions(-) 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 334e2f84e71..160bc8420b7 100644 --- a/src/integration/pages/homePage/hindi/__snapshots__/amp.test.js.snap +++ b/src/integration/pages/homePage/hindi/__snapshots__/amp.test.js.snap @@ -213,55 +213,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": "/hindi/topics/c8dqegnm6d9t", +} +`; + +exports[`AMP Home Page Header Navigation link should match text and url 3`] = ` { "text": "भारत", "url": "/hindi/topics/ckdxnkz7607t", } `; -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": "/hindi/topics/c9wpm0en87xt", } `; -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": "/hindi/topics/c06gq3n0pp7t", } `; -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": "/hindi/topics/cwr9j8g1kj9t", } `; -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": "/hindi/topics/c2lej0594knt", } `; -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": "/hindi/topics/c2e4q0z9qznt", } `; -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": "/hindi/topics/cw9kv0kpxydt", } `; -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": "/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 d6a62308323..467306671eb 100644 --- a/src/integration/pages/homePage/hindi/__snapshots__/canonical.test.js.snap +++ b/src/integration/pages/homePage/hindi/__snapshots__/canonical.test.js.snap @@ -127,55 +127,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": "/hindi/topics/c8dqegnm6d9t", +} +`; + +exports[`Canonical Home Page Header Navigation link should match text and url 3`] = ` { "text": "भारत", "url": "/hindi/topics/ckdxnkz7607t", } `; -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": "/hindi/topics/c9wpm0en87xt", } `; -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": "/hindi/topics/c06gq3n0pp7t", } `; -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": "/hindi/topics/cwr9j8g1kj9t", } `; -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": "/hindi/topics/c2lej0594knt", } `; -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": "/hindi/topics/c2e4q0z9qznt", } `; -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": "/hindi/topics/cw9kv0kpxydt", } `; -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": "/hindi/institutional-61824775",