From cc723ffec5d17e252ad7723981b22ca67448dce0 Mon Sep 17 00:00:00 2001 From: Frederic Cabassut Date: Tue, 24 Mar 2026 14:54:24 +0100 Subject: [PATCH] fix: rename test note to avoid collision with offline test The auto-save test used "Survive Reload" which collides with the same title in offline.spec.ts when tests run in parallel with a shared DB. Co-Authored-By: Claude Opus 4.6 (1M context) --- tests/e2e/auto-save.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/e2e/auto-save.spec.ts b/tests/e2e/auto-save.spec.ts index 399cbd1..1c0fe94 100644 --- a/tests/e2e/auto-save.spec.ts +++ b/tests/e2e/auto-save.spec.ts @@ -62,7 +62,7 @@ test.describe('Auto-save', () => { test('Scenario: Auto-save persists note across page reload', async ({ authenticatedPage: page }) => { // When the user creates a note and waits for auto-save await page.getByTestId('new-note-btn').click(); - await page.getByTestId('note-title-input').fill('Survive Reload'); + await page.getByTestId('note-title-input').fill('Auto-save Survives Reload'); const editor = page.getByTestId('tiptap-editor').locator('.tiptap'); await editor.click(); await editor.pressSequentially('Content that survives'); @@ -78,6 +78,6 @@ test.describe('Auto-save', () => { await page.waitForLoadState('networkidle'); // Then the note is still visible - await expect(noteCard(page, 'Survive Reload')).toBeVisible(); + await expect(noteCard(page, 'Auto-save Survives Reload')).toBeVisible(); }); });