diff --git a/content/de/messen.mdx b/content/de/messen.mdx index 538928755..c7e9864f2 100644 --- a/content/de/messen.mdx +++ b/content/de/messen.mdx @@ -20,9 +20,9 @@ layout: "fullBleed" showFairs={true} showJobs={false} fairs={[ - { name: 'Windenergietage Linstow', date: '10. - 12. November 2026', type: 'Fachkongress', location: 'Linstow', url: 'https://www.windenergietage.de/' }, { name: 'Werkstatt Kabel 2026', date: '24. - 25. November 2026', type: 'Fachtagung', location: 'Wiesbaden', url: 'https://werkstatt-kabel.essociation.de/' }, - { name: 'Intersolar München', date: '8. - 10. Juni 2027', type: 'Messe', location: 'München', url: 'https://www.intersolar.de/' } + { name: 'Intersolar München', date: '8. - 10. Juni 2027', type: 'Messe', location: 'München', url: 'https://www.intersolar.de/' }, + { name: 'Windenergietage Potsdam', date: '09. - 11. November 2027', type: 'Fachkongress', location: 'Potsdam', url: 'https://www.windenergietage.de/' } ]} /> diff --git a/content/en/messen.mdx b/content/en/messen.mdx index b83f4b24c..e0ceefefc 100644 --- a/content/en/messen.mdx +++ b/content/en/messen.mdx @@ -20,9 +20,9 @@ layout: "fullBleed" showFairs={true} showJobs={false} fairs={[ - { name: 'Wind Energy Days Linstow', date: 'November 10–12, 2026', type: 'Specialist Congress', location: 'Linstow', url: 'https://www.windenergietage.de/' }, { name: 'Werkstatt Kabel 2026', date: 'November 24–25, 2026', type: 'Symposium', location: 'Wiesbaden', url: 'https://werkstatt-kabel.essociation.de/' }, - { name: 'Intersolar Munich', date: 'June 8–10, 2027', type: 'Fair', location: 'Munich', url: 'https://www.intersolar.de/' } + { name: 'Intersolar Munich', date: 'June 8–10, 2027', type: 'Fair', location: 'Munich', url: 'https://www.intersolar.de/' }, + { name: 'Wind Energy Days Potsdam', date: 'November 9–11, 2027', type: 'Specialist Congress', location: 'Potsdam', url: 'https://www.windenergietage.de/' } ]} /> diff --git a/tests/messen-content.test.ts b/tests/messen-content.test.ts index 69dd90bf6..133f37721 100644 --- a/tests/messen-content.test.ts +++ b/tests/messen-content.test.ts @@ -15,18 +15,19 @@ describe('Messen Content and Translations', () => { expect(content).toContain("type: 'Messe'"); expect(content).toContain("location: 'München'"); - // 2. Windenergietage Linstow - expect(content).toContain("name: 'Windenergietage Linstow'"); - expect(content).toContain("date: '10. - 12. November 2026'"); - expect(content).toContain("type: 'Fachkongress'"); - expect(content).toContain("location: 'Linstow'"); - - // 3. Werkstatt Kabel 2026 (No "Kabel-Workshop") + // 2. Werkstatt Kabel 2026 (No "Kabel-Workshop") expect(content).not.toContain("Kabel-Workshop"); expect(content).toContain("name: 'Werkstatt Kabel 2026'"); expect(content).toContain("date: '24. - 25. November 2026'"); expect(content).toContain("type: 'Fachtagung'"); expect(content).toContain("location: 'Wiesbaden'"); + + // 3. Windenergietage Potsdam (replaces Linstow 2026) + expect(content).not.toContain("Linstow"); + expect(content).toContain("name: 'Windenergietage Potsdam'"); + expect(content).toContain("date: '09. - 11. November 2027'"); + expect(content).toContain("type: 'Fachkongress'"); + expect(content).toContain("location: 'Potsdam'"); }); it('should have updated English trade fair dates and names for 2026', () => { @@ -38,18 +39,19 @@ describe('Messen Content and Translations', () => { expect(content).toContain("type: 'Fair'"); expect(content).toContain("location: 'Munich'"); - // 2. Wind Energy Days Linstow - expect(content).toContain("name: 'Wind Energy Days Linstow'"); - expect(content).toContain("date: 'November 10–12, 2026'"); - expect(content).toContain("type: 'Specialist Congress'"); - expect(content).toContain("location: 'Linstow'"); - - // 3. Werkstatt Kabel 2026 (No "Cable Workshop" or "Kabel Workshop") + // 2. Werkstatt Kabel 2026 (No "Cable Workshop" or "Kabel Workshop") expect(content).not.toContain("Cable Workshop"); expect(content).not.toContain("Kabel Workshop"); expect(content).toContain("name: 'Werkstatt Kabel 2026'"); expect(content).toContain("date: 'November 24–25, 2026'"); expect(content).toContain("type: 'Symposium'"); expect(content).toContain("location: 'Wiesbaden'"); + + // 3. Wind Energy Days Potsdam (replaces Linstow 2026) + expect(content).not.toContain("Linstow"); + expect(content).toContain("name: 'Wind Energy Days Potsdam'"); + expect(content).toContain("date: 'November 9–11, 2027'"); + expect(content).toContain("type: 'Specialist Congress'"); + expect(content).toContain("location: 'Potsdam'"); }); });