/** EXPORT-1: Einstellungen — Datenexport-Karte + Download-Smoke. */ import { de, expect, gotoSection, test } from './fixtures' const t = de.pages.datenexport test('Einstellungen zeigt die Datenexport-Karte und der Download startet', async ({ page }) => { await gotoSection(page, de.nav.settings) await expect(page.getByRole('heading', { name: de.pages.einstellungen.title })).toBeVisible() // Datenexport-Karte mit deutschem Erklärtext await expect(page.getByRole('heading', { name: t.title })).toBeVisible() await expect(page.getByText(t.intro)).toBeVisible() await expect(page.getByText(t.photoNote)).toBeVisible() // Klick startet den Zip-Download const downloadPromise = page.waitForEvent('download') await page.getByRole('link', { name: t.button }).click() const download = await downloadPromise expect(download.suggestedFilename()).toContain('rennmaus-export') })