fix: remove legacy title section fallback

This commit is contained in:
lucaronin
2026-04-11 23:51:58 +02:00
parent eb65bb8f05
commit 2ca8f1b2a6
24 changed files with 113 additions and 983 deletions

View File

@@ -56,8 +56,7 @@ test('vault loads entries from fixture files @smoke', async ({ page }) => {
// Open a note and verify editor shows its content from disk
await openNote(page, 'Alpha Project')
// Verify the stable title field rather than the editor heading rendering.
await expect(page.getByTestId('title-field-input')).toHaveValue('Alpha Project', { timeout: 5_000 })
await expect(page.getByRole('heading', { name: 'Alpha Project', level: 1 })).toBeVisible({ timeout: 5_000 })
})
// ---------------------------------------------------------------------------