diff --git a/frontend/e2e/document-title-autosync.spec.ts b/frontend/e2e/document-title-autosync.spec.ts index 2f1bcb91..fc276151 100644 --- a/frontend/e2e/document-title-autosync.spec.ts +++ b/frontend/e2e/document-title-autosync.spec.ts @@ -26,7 +26,7 @@ test.describe('Document auto-title sync (#726)', () => { // 3. Add a YEAR-precision date WITHOUT touching the title, then save. await page.locator('#documentDate').fill('15.01.1928'); - await page.locator('#metaDatePrecision').selectOption('YEAR'); + await page.locator('#documentDatePrecision').selectOption('YEAR'); await page.getByRole('button', { name: 'Speichern', exact: true }).click(); // 4. The detail page shows the regenerated title carrying the new year.