diff --git a/frontend/src/lib/geschichte/JourneyInterlude.svelte b/frontend/src/lib/geschichte/JourneyInterlude.svelte index 1bd8822c..1a517fd5 100644 --- a/frontend/src/lib/geschichte/JourneyInterlude.svelte +++ b/frontend/src/lib/geschichte/JourneyInterlude.svelte @@ -1,4 +1,6 @@
{ await expect.element(page.getByText('Eine kurze Pause auf der Reise.')).toBeVisible(); }); - it('has aria-label Kuratorennotiz', async () => { + it('has aria-label from i18n (journey_interlude_aria_label)', async () => { render(JourneyInterlude, { props: { note: 'Notiz' } }); - const el = document.querySelector('[aria-label="Kuratorennotiz"]'); + const el = document.querySelector(`[aria-label="${m.journey_interlude_aria_label()}"]`); expect(el).not.toBeNull(); });