From 2af883ad63a641c29f728ebc287d181e32c62cdc Mon Sep 17 00:00:00 2001 From: jordit Date: Mon, 2 Dec 2024 17:02:55 +0000 Subject: [PATCH 1/2] Mundo and Turkce navs: remove US election --- src/app/lib/config/services/mundo.ts | 8 -------- src/app/lib/config/services/turkce.ts | 4 ---- 2 files changed, 12 deletions(-) diff --git a/src/app/lib/config/services/mundo.ts b/src/app/lib/config/services/mundo.ts index 6e4af305aa8..99f6eebfae9 100644 --- a/src/app/lib/config/services/mundo.ts +++ b/src/app/lib/config/services/mundo.ts @@ -415,10 +415,6 @@ export const service: DefaultServiceConfig = { title: 'Internacional', url: '/mundo/topics/c2lej05epw5t', }, - { - title: 'Elecciones EE.UU. 2024', - url: '/mundo/topics/c1v8en6r2qgt', - }, { title: 'Hay Festival', url: '/mundo/topics/cr50y7p7qyqt', @@ -443,10 +439,6 @@ export const service: DefaultServiceConfig = { title: 'Tecnología', url: '/mundo/topics/cyx5krnw38vt', }, - { - title: 'Centroamérica Cuenta', - url: '/mundo/topics/c404v5z1k8wt', - }, ], }, }; diff --git a/src/app/lib/config/services/turkce.ts b/src/app/lib/config/services/turkce.ts index 554e79d9406..d44c139fd01 100644 --- a/src/app/lib/config/services/turkce.ts +++ b/src/app/lib/config/services/turkce.ts @@ -332,10 +332,6 @@ export const service: DefaultServiceConfig = { title: 'Orta Doğu', url: '/turkce/topics/cg726y2qxg1t', }, - { - title: 'ABD Seçimleri', - url: '/turkce/topics/c3gyjy0vy91t', - }, { title: 'Rusya-Ukrayna Savaşı', url: '/turkce/topics/cy0ryl4pvx6t', From 0df2a9d3cbdd17b6319f509a937e68c784f29b29 Mon Sep 17 00:00:00 2001 From: jordit Date: Mon, 2 Dec 2024 17:20:35 +0000 Subject: [PATCH 2/2] Update snapshots --- .../mundo/__snapshots__/amp.test.js.snap | 24 ++++--------------- .../__snapshots__/canonical.test.js.snap | 24 ++++--------------- .../mundo/__snapshots__/amp.test.js.snap | 24 ++++--------------- .../__snapshots__/canonical.test.js.snap | 24 ++++--------------- .../mundo/__snapshots__/amp.test.js.snap | 24 ++++--------------- .../__snapshots__/canonical.test.js.snap | 24 ++++--------------- .../__snapshots__/canonical.test.ts.snap | 24 ++++--------------- 7 files changed, 35 insertions(+), 133 deletions(-) diff --git a/src/integration/pages/mostReadPage/mundo/__snapshots__/amp.test.js.snap b/src/integration/pages/mostReadPage/mundo/__snapshots__/amp.test.js.snap index 75a1fca1dd9..c9512a2b463 100644 --- a/src/integration/pages/mostReadPage/mundo/__snapshots__/amp.test.js.snap +++ b/src/integration/pages/mostReadPage/mundo/__snapshots__/amp.test.js.snap @@ -236,61 +236,47 @@ exports[`AMP Most Read Page Header Navigation link should match text and url 3`] `; exports[`AMP Most Read Page Header Navigation link should match text and url 4`] = ` -{ - "text": "Elecciones EE.UU. 2024", - "url": "/mundo/topics/c1v8en6r2qgt", -} -`; - -exports[`AMP Most Read Page Header Navigation link should match text and url 5`] = ` { "text": "Hay Festival", "url": "/mundo/topics/cr50y7p7qyqt", } `; -exports[`AMP Most Read Page Header Navigation link should match text and url 6`] = ` +exports[`AMP Most Read Page Header Navigation link should match text and url 5`] = ` { "text": "Economía", "url": "/mundo/topics/c06gq9v4xp3t", } `; -exports[`AMP Most Read Page Header Navigation link should match text and url 7`] = ` +exports[`AMP Most Read Page Header Navigation link should match text and url 6`] = ` { "text": "Ciencia", "url": "/mundo/topics/ckdxnw959n7t", } `; -exports[`AMP Most Read Page Header Navigation link should match text and url 8`] = ` +exports[`AMP Most Read Page Header Navigation link should match text and url 7`] = ` { "text": "Salud", "url": "/mundo/topics/cpzd498zkxgt", } `; -exports[`AMP Most Read Page Header Navigation link should match text and url 9`] = ` +exports[`AMP Most Read Page Header Navigation link should match text and url 8`] = ` { "text": "Cultura", "url": "/mundo/topics/c2dwq9zyv4yt", } `; -exports[`AMP Most Read Page Header Navigation link should match text and url 10`] = ` +exports[`AMP Most Read Page Header Navigation link should match text and url 9`] = ` { "text": "Tecnología", "url": "/mundo/topics/cyx5krnw38vt", } `; -exports[`AMP Most Read Page Header Navigation link should match text and url 11`] = ` -{ - "text": "Centroamérica Cuenta", - "url": "/mundo/topics/c404v5z1k8wt", -} -`; - exports[`AMP Most Read Page I can see the headline 1`] = `"Más leídas"`; exports[`AMP Most Read Page I can see the list items 1`] = `"1"Sabes que tienen cosas muy diferentes y te angustia no saber por qué": la odisea de una madre hasta descubrir que sus hijos tienen altas capacidadesÚltima actualización: 19 junio 2023"`; diff --git a/src/integration/pages/mostReadPage/mundo/__snapshots__/canonical.test.js.snap b/src/integration/pages/mostReadPage/mundo/__snapshots__/canonical.test.js.snap index efde443db36..120af82da9e 100644 --- a/src/integration/pages/mostReadPage/mundo/__snapshots__/canonical.test.js.snap +++ b/src/integration/pages/mostReadPage/mundo/__snapshots__/canonical.test.js.snap @@ -142,61 +142,47 @@ exports[`Canonical Most Read Page Header Navigation link should match text and u `; exports[`Canonical Most Read Page Header Navigation link should match text and url 4`] = ` -{ - "text": "Elecciones EE.UU. 2024", - "url": "/mundo/topics/c1v8en6r2qgt", -} -`; - -exports[`Canonical Most Read Page Header Navigation link should match text and url 5`] = ` { "text": "Hay Festival", "url": "/mundo/topics/cr50y7p7qyqt", } `; -exports[`Canonical Most Read Page Header Navigation link should match text and url 6`] = ` +exports[`Canonical Most Read Page Header Navigation link should match text and url 5`] = ` { "text": "Economía", "url": "/mundo/topics/c06gq9v4xp3t", } `; -exports[`Canonical Most Read Page Header Navigation link should match text and url 7`] = ` +exports[`Canonical Most Read Page Header Navigation link should match text and url 6`] = ` { "text": "Ciencia", "url": "/mundo/topics/ckdxnw959n7t", } `; -exports[`Canonical Most Read Page Header Navigation link should match text and url 8`] = ` +exports[`Canonical Most Read Page Header Navigation link should match text and url 7`] = ` { "text": "Salud", "url": "/mundo/topics/cpzd498zkxgt", } `; -exports[`Canonical Most Read Page Header Navigation link should match text and url 9`] = ` +exports[`Canonical Most Read Page Header Navigation link should match text and url 8`] = ` { "text": "Cultura", "url": "/mundo/topics/c2dwq9zyv4yt", } `; -exports[`Canonical Most Read Page Header Navigation link should match text and url 10`] = ` +exports[`Canonical Most Read Page Header Navigation link should match text and url 9`] = ` { "text": "Tecnología", "url": "/mundo/topics/cyx5krnw38vt", } `; -exports[`Canonical Most Read Page Header Navigation link should match text and url 11`] = ` -{ - "text": "Centroamérica Cuenta", - "url": "/mundo/topics/c404v5z1k8wt", -} -`; - exports[`Canonical Most Read Page I can see the headline 1`] = `"Más leídas"`; exports[`Canonical Most Read Page I can see the list items 1`] = `"1"Sabes que tienen cosas muy diferentes y te angustia no saber por qué": la odisea de una madre hasta descubrir que sus hijos tienen altas capacidadesÚltima actualización: 19 junio 2023"`; diff --git a/src/integration/pages/photoGalleryPage/mundo/__snapshots__/amp.test.js.snap b/src/integration/pages/photoGalleryPage/mundo/__snapshots__/amp.test.js.snap index 7c4f2604711..371e67b60af 100644 --- a/src/integration/pages/photoGalleryPage/mundo/__snapshots__/amp.test.js.snap +++ b/src/integration/pages/photoGalleryPage/mundo/__snapshots__/amp.test.js.snap @@ -236,61 +236,47 @@ exports[`AMP Photo Gallery Page Header Navigation link should match text and url `; exports[`AMP Photo Gallery Page Header Navigation link should match text and url 4`] = ` -{ - "text": "Elecciones EE.UU. 2024", - "url": "/mundo/topics/c1v8en6r2qgt", -} -`; - -exports[`AMP Photo Gallery Page Header Navigation link should match text and url 5`] = ` { "text": "Hay Festival", "url": "/mundo/topics/cr50y7p7qyqt", } `; -exports[`AMP Photo Gallery Page Header Navigation link should match text and url 6`] = ` +exports[`AMP Photo Gallery Page Header Navigation link should match text and url 5`] = ` { "text": "Economía", "url": "/mundo/topics/c06gq9v4xp3t", } `; -exports[`AMP Photo Gallery Page Header Navigation link should match text and url 7`] = ` +exports[`AMP Photo Gallery Page Header Navigation link should match text and url 6`] = ` { "text": "Ciencia", "url": "/mundo/topics/ckdxnw959n7t", } `; -exports[`AMP Photo Gallery Page Header Navigation link should match text and url 8`] = ` +exports[`AMP Photo Gallery Page Header Navigation link should match text and url 7`] = ` { "text": "Salud", "url": "/mundo/topics/cpzd498zkxgt", } `; -exports[`AMP Photo Gallery Page Header Navigation link should match text and url 9`] = ` +exports[`AMP Photo Gallery Page Header Navigation link should match text and url 8`] = ` { "text": "Cultura", "url": "/mundo/topics/c2dwq9zyv4yt", } `; -exports[`AMP Photo Gallery Page Header Navigation link should match text and url 10`] = ` +exports[`AMP Photo Gallery Page Header Navigation link should match text and url 9`] = ` { "text": "Tecnología", "url": "/mundo/topics/cyx5krnw38vt", } `; -exports[`AMP Photo Gallery Page Header Navigation link should match text and url 11`] = ` -{ - "text": "Centroamérica Cuenta", - "url": "/mundo/topics/c404v5z1k8wt", -} -`; - exports[`AMP Photo Gallery Page Image Caption should match text 1`] = `"Pie de foto, En tenis, las competidoras en los juegos de principios del siglo XX utilizaban vestidos y medias largas, algo impensable para los estándares de la actualidad. Fue hasta 1920 en Amberes cuando las mujeres tuvieron participación reconocida oficialmente."`; exports[`AMP Photo Gallery Page Image should match snapshot 1`] = ` diff --git a/src/integration/pages/photoGalleryPage/mundo/__snapshots__/canonical.test.js.snap b/src/integration/pages/photoGalleryPage/mundo/__snapshots__/canonical.test.js.snap index 57fd9dd309d..fdf8fd965d1 100644 --- a/src/integration/pages/photoGalleryPage/mundo/__snapshots__/canonical.test.js.snap +++ b/src/integration/pages/photoGalleryPage/mundo/__snapshots__/canonical.test.js.snap @@ -145,61 +145,47 @@ exports[`Canonical Photo Gallery Page Header Navigation link should match text a `; exports[`Canonical Photo Gallery Page Header Navigation link should match text and url 4`] = ` -{ - "text": "Elecciones EE.UU. 2024", - "url": "/mundo/topics/c1v8en6r2qgt", -} -`; - -exports[`Canonical Photo Gallery Page Header Navigation link should match text and url 5`] = ` { "text": "Hay Festival", "url": "/mundo/topics/cr50y7p7qyqt", } `; -exports[`Canonical Photo Gallery Page Header Navigation link should match text and url 6`] = ` +exports[`Canonical Photo Gallery Page Header Navigation link should match text and url 5`] = ` { "text": "Economía", "url": "/mundo/topics/c06gq9v4xp3t", } `; -exports[`Canonical Photo Gallery Page Header Navigation link should match text and url 7`] = ` +exports[`Canonical Photo Gallery Page Header Navigation link should match text and url 6`] = ` { "text": "Ciencia", "url": "/mundo/topics/ckdxnw959n7t", } `; -exports[`Canonical Photo Gallery Page Header Navigation link should match text and url 8`] = ` +exports[`Canonical Photo Gallery Page Header Navigation link should match text and url 7`] = ` { "text": "Salud", "url": "/mundo/topics/cpzd498zkxgt", } `; -exports[`Canonical Photo Gallery Page Header Navigation link should match text and url 9`] = ` +exports[`Canonical Photo Gallery Page Header Navigation link should match text and url 8`] = ` { "text": "Cultura", "url": "/mundo/topics/c2dwq9zyv4yt", } `; -exports[`Canonical Photo Gallery Page Header Navigation link should match text and url 10`] = ` +exports[`Canonical Photo Gallery Page Header Navigation link should match text and url 9`] = ` { "text": "Tecnología", "url": "/mundo/topics/cyx5krnw38vt", } `; -exports[`Canonical Photo Gallery Page Header Navigation link should match text and url 11`] = ` -{ - "text": "Centroamérica Cuenta", - "url": "/mundo/topics/c404v5z1k8wt", -} -`; - exports[`Canonical Photo Gallery Page Image Caption should match text 1`] = `"Pie de foto, En tenis, las competidoras en los juegos de principios del siglo XX utilizaban vestidos y medias largas, algo impensable para los estándares de la actualidad. Fue hasta 1920 en Amberes cuando las mujeres tuvieron participación reconocida oficialmente."`; exports[`Canonical Photo Gallery Page Image should match snapshot 1`] = ` diff --git a/src/integration/pages/storyPage/mundo/__snapshots__/amp.test.js.snap b/src/integration/pages/storyPage/mundo/__snapshots__/amp.test.js.snap index c6932df3d03..8c96c705fd0 100644 --- a/src/integration/pages/storyPage/mundo/__snapshots__/amp.test.js.snap +++ b/src/integration/pages/storyPage/mundo/__snapshots__/amp.test.js.snap @@ -236,61 +236,47 @@ exports[`AMP Story Page Header Navigation link should match text and url 3`] = ` `; exports[`AMP Story Page Header Navigation link should match text and url 4`] = ` -{ - "text": "Elecciones EE.UU. 2024", - "url": "/mundo/topics/c1v8en6r2qgt", -} -`; - -exports[`AMP Story Page Header Navigation link should match text and url 5`] = ` { "text": "Hay Festival", "url": "/mundo/topics/cr50y7p7qyqt", } `; -exports[`AMP Story Page Header Navigation link should match text and url 6`] = ` +exports[`AMP Story Page Header Navigation link should match text and url 5`] = ` { "text": "Economía", "url": "/mundo/topics/c06gq9v4xp3t", } `; -exports[`AMP Story Page Header Navigation link should match text and url 7`] = ` +exports[`AMP Story Page Header Navigation link should match text and url 6`] = ` { "text": "Ciencia", "url": "/mundo/topics/ckdxnw959n7t", } `; -exports[`AMP Story Page Header Navigation link should match text and url 8`] = ` +exports[`AMP Story Page Header Navigation link should match text and url 7`] = ` { "text": "Salud", "url": "/mundo/topics/cpzd498zkxgt", } `; -exports[`AMP Story Page Header Navigation link should match text and url 9`] = ` +exports[`AMP Story Page Header Navigation link should match text and url 8`] = ` { "text": "Cultura", "url": "/mundo/topics/c2dwq9zyv4yt", } `; -exports[`AMP Story Page Header Navigation link should match text and url 10`] = ` +exports[`AMP Story Page Header Navigation link should match text and url 9`] = ` { "text": "Tecnología", "url": "/mundo/topics/cyx5krnw38vt", } `; -exports[`AMP Story Page Header Navigation link should match text and url 11`] = ` -{ - "text": "Centroamérica Cuenta", - "url": "/mundo/topics/c404v5z1k8wt", -} -`; - exports[`AMP Story Page Image Caption should match text 1`] = `"Pie de foto, Llegó el día de la salida de Reino Unido de la UE."`; exports[`AMP Story Page Image should match snapshot 1`] = ` diff --git a/src/integration/pages/storyPage/mundo/__snapshots__/canonical.test.js.snap b/src/integration/pages/storyPage/mundo/__snapshots__/canonical.test.js.snap index 5df70e70c72..f93a225fd81 100644 --- a/src/integration/pages/storyPage/mundo/__snapshots__/canonical.test.js.snap +++ b/src/integration/pages/storyPage/mundo/__snapshots__/canonical.test.js.snap @@ -158,61 +158,47 @@ exports[`Canonical Story Page Header Navigation link should match text and url 3 `; exports[`Canonical Story Page Header Navigation link should match text and url 4`] = ` -{ - "text": "Elecciones EE.UU. 2024", - "url": "/mundo/topics/c1v8en6r2qgt", -} -`; - -exports[`Canonical Story Page Header Navigation link should match text and url 5`] = ` { "text": "Hay Festival", "url": "/mundo/topics/cr50y7p7qyqt", } `; -exports[`Canonical Story Page Header Navigation link should match text and url 6`] = ` +exports[`Canonical Story Page Header Navigation link should match text and url 5`] = ` { "text": "Economía", "url": "/mundo/topics/c06gq9v4xp3t", } `; -exports[`Canonical Story Page Header Navigation link should match text and url 7`] = ` +exports[`Canonical Story Page Header Navigation link should match text and url 6`] = ` { "text": "Ciencia", "url": "/mundo/topics/ckdxnw959n7t", } `; -exports[`Canonical Story Page Header Navigation link should match text and url 8`] = ` +exports[`Canonical Story Page Header Navigation link should match text and url 7`] = ` { "text": "Salud", "url": "/mundo/topics/cpzd498zkxgt", } `; -exports[`Canonical Story Page Header Navigation link should match text and url 9`] = ` +exports[`Canonical Story Page Header Navigation link should match text and url 8`] = ` { "text": "Cultura", "url": "/mundo/topics/c2dwq9zyv4yt", } `; -exports[`Canonical Story Page Header Navigation link should match text and url 10`] = ` +exports[`Canonical Story Page Header Navigation link should match text and url 9`] = ` { "text": "Tecnología", "url": "/mundo/topics/cyx5krnw38vt", } `; -exports[`Canonical Story Page Header Navigation link should match text and url 11`] = ` -{ - "text": "Centroamérica Cuenta", - "url": "/mundo/topics/c404v5z1k8wt", -} -`; - exports[`Canonical Story Page Image Caption should match text 1`] = `"Pie de foto, Llegó el día de la salida de Reino Unido de la UE."`; exports[`Canonical Story Page Image should match snapshot 1`] = ` diff --git a/ws-nextjs-app/integration/pages/send/mundo/__snapshots__/canonical.test.ts.snap b/ws-nextjs-app/integration/pages/send/mundo/__snapshots__/canonical.test.ts.snap index b0b5eb999fe..12b4e87d7e4 100644 --- a/ws-nextjs-app/integration/pages/send/mundo/__snapshots__/canonical.test.ts.snap +++ b/ws-nextjs-app/integration/pages/send/mundo/__snapshots__/canonical.test.ts.snap @@ -93,61 +93,47 @@ exports[`Canonical Send Header Navigation link should match text and url 3`] = ` `; exports[`Canonical Send Header Navigation link should match text and url 4`] = ` -{ - "text": "Elecciones EE.UU. 2024", - "url": "/mundo/topics/c1v8en6r2qgt", -} -`; - -exports[`Canonical Send Header Navigation link should match text and url 5`] = ` { "text": "Hay Festival", "url": "/mundo/topics/cr50y7p7qyqt", } `; -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": "Economía", "url": "/mundo/topics/c06gq9v4xp3t", } `; -exports[`Canonical Send Header Navigation link should match text and url 7`] = ` +exports[`Canonical Send Header Navigation link should match text and url 6`] = ` { "text": "Ciencia", "url": "/mundo/topics/ckdxnw959n7t", } `; -exports[`Canonical Send Header Navigation link should match text and url 8`] = ` +exports[`Canonical Send Header Navigation link should match text and url 7`] = ` { "text": "Salud", "url": "/mundo/topics/cpzd498zkxgt", } `; -exports[`Canonical Send Header Navigation link should match text and url 9`] = ` +exports[`Canonical Send Header Navigation link should match text and url 8`] = ` { "text": "Cultura", "url": "/mundo/topics/c2dwq9zyv4yt", } `; -exports[`Canonical Send Header Navigation link should match text and url 10`] = ` +exports[`Canonical Send Header Navigation link should match text and url 9`] = ` { "text": "Tecnología", "url": "/mundo/topics/cyx5krnw38vt", } `; -exports[`Canonical Send Header Navigation link should match text and url 11`] = ` -{ - "text": "Centroamérica Cuenta", - "url": "/mundo/topics/c404v5z1k8wt", -} -`; - exports[`Canonical Send UGC form should render a heading 1`] = `"Escríbenos"`; exports[`Canonical Send UGC form should render a submit button 1`] = `"Enviar"`;