diff --git a/src/modules/i18n/locales/de.json b/src/modules/i18n/locales/de.json index 50151abaa..655ff3d80 100644 --- a/src/modules/i18n/locales/de.json +++ b/src/modules/i18n/locales/de.json @@ -78,7 +78,7 @@ "choose_wms_url": "URL", "close": "Schliessen", "close_menu": "Menü schliessen", - "cms_link_button_title": "Mehr Informationen", + "cms_link_button_title": "Neuigkeiten", "cms_link_button_url": "https://www.geo.admin.ch/de/#News", "commune": "Gemeinde", "compare": "Vergleichen", diff --git a/src/modules/i18n/locales/en.json b/src/modules/i18n/locales/en.json index 87726fe11..8306d27cf 100644 --- a/src/modules/i18n/locales/en.json +++ b/src/modules/i18n/locales/en.json @@ -78,7 +78,7 @@ "choose_wms_url": "URL", "close": "Close", "close_menu": "Close menu", - "cms_link_button_title": "More infomations", + "cms_link_button_title": "News", "cms_link_button_url": "https://www.geo.admin.ch/en/#News", "commune": "City", "compare": "Compare", diff --git a/src/modules/i18n/locales/fr.json b/src/modules/i18n/locales/fr.json index 3ac9454dc..a1b38efbe 100644 --- a/src/modules/i18n/locales/fr.json +++ b/src/modules/i18n/locales/fr.json @@ -78,7 +78,7 @@ "choose_wms_url": "URL", "close": "Fermer", "close_menu": "Fermer menu", - "cms_link_button_title": "Plus d'information", + "cms_link_button_title": "Actualités", "cms_link_button_url": "https://www.geo.admin.ch/fr/#News", "commune": "Commune", "compare": "Comparer", diff --git a/src/modules/i18n/locales/it.json b/src/modules/i18n/locales/it.json index 0b4fe76ab..3f70ab497 100644 --- a/src/modules/i18n/locales/it.json +++ b/src/modules/i18n/locales/it.json @@ -78,7 +78,7 @@ "choose_wms_url": "URL", "close": "Chiudere", "close_menu": "Chiudere menu", - "cms_link_button_title": "Ulteriori informazioni", + "cms_link_button_title": "Notizie", "cms_link_button_url": "https://www.geo.admin.ch/it/#News", "commune": "Comune", "compare": "Confrontare", diff --git a/src/modules/i18n/locales/rm.json b/src/modules/i18n/locales/rm.json index 94af3dc2b..ad75454b7 100644 --- a/src/modules/i18n/locales/rm.json +++ b/src/modules/i18n/locales/rm.json @@ -78,7 +78,7 @@ "choose_wms_url": "URL", "close": "Serrar", "close_menu": "Serrar menu", - "cms_link_button_title": "Dapli infurmaziuns", + "cms_link_button_title": "Novitats", "cms_link_button_url": "https://www.geo.admin.ch/de/#News", "commune": "Vischnanca", "compare": "Confruntar", diff --git a/src/modules/menu/components/help/MoreInfo.vue b/src/modules/menu/components/help/MoreInfo.vue index 0da6fb2fb..493b2c4f0 100644 --- a/src/modules/menu/components/help/MoreInfo.vue +++ b/src/modules/menu/components/help/MoreInfo.vue @@ -22,7 +22,7 @@ function openCmsLink() { diff --git a/tests/cypress/tests-e2e/header.cy.js b/tests/cypress/tests-e2e/header.cy.js index d7953cb55..520ecee37 100644 --- a/tests/cypress/tests-e2e/header.cy.js +++ b/tests/cypress/tests-e2e/header.cy.js @@ -127,6 +127,15 @@ describe('Test functions for the header / search bar', () => { checkLangAndTopic('en', 'test-topic-standard') cy.readStoreValue('state.layers.activeLayers').should('have.length', 0) }) + // This test is not working because clicking the news button crashes cypress + // see https://github.com/cypress-io/cypress/issues/24084 for more information + it.skip('should show the news website when clicking on the News button', () => { + cy.viewport(1920, 1080) + cy.goToMapView() + cy.get('[data-cy="header-cms-link"]').click() + + cy.url().should('equal', 'https://www.geo.admin.ch/en/#News') + }) if (width >= BREAKPOINT_TABLET) { // desktop only it('reloads the app the same way as above when click on the confederation text', () => {