diff --git a/frontend/src/views/Layout/ContentFooter.spec.js b/frontend/src/views/Layout/ContentFooter.spec.js index ec4d3ff74..68f647481 100644 --- a/frontend/src/views/Layout/ContentFooter.spec.js +++ b/frontend/src/views/Layout/ContentFooter.spec.js @@ -98,6 +98,12 @@ describe('ContentFooter', () => { ) }) + it('links to the support', () => { + expect(wrapper.findAll('a.nav-link').at(4).attributes('href')).toEqual( + 'https://gradido.net/en/contact/', + ) + }) + describe('links are localized', () => { beforeEach(() => { mocks.$i18n.locale = 'de' @@ -132,6 +138,12 @@ describe('ContentFooter', () => { 'https://docs.google.com/document/d/1jZp-DiiMPI9ZPNXmjsvOQ1BtnfDFfx8BX7CDmA8KKjY/edit?usp=sharing', ) }) + + it('links to the German support-page when locale is de', () => { + expect(wrapper.findAll('a.nav-link').at(4).attributes('href')).toEqual( + 'https://gradido.net/de/contact/', + ) + }) }) }) }) diff --git a/frontend/src/views/Layout/ContentFooter.vue b/frontend/src/views/Layout/ContentFooter.vue index 82f04a5be..09a2418fd 100755 --- a/frontend/src/views/Layout/ContentFooter.vue +++ b/frontend/src/views/Layout/ContentFooter.vue @@ -4,7 +4,11 @@