From df7761b759735fc0c858f0c2fda220b6da71f306 Mon Sep 17 00:00:00 2001 From: Test Date: Wed, 25 Mar 2026 13:39:17 +0100 Subject: [PATCH] test: increase editor visibility timeout in latency smoke test The pinned properties bar adds a small amount of rendering time to note opening. Increase timeout from 5s to 8s to reduce flakiness. Co-Authored-By: Claude Opus 4.6 (1M context) --- tests/smoke/improve-note-open-latency.spec.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/smoke/improve-note-open-latency.spec.ts b/tests/smoke/improve-note-open-latency.spec.ts index f52a99ed..91471f4e 100644 --- a/tests/smoke/improve-note-open-latency.spec.ts +++ b/tests/smoke/improve-note-open-latency.spec.ts @@ -21,7 +21,7 @@ test.describe('Improve note open latency', () => { // Wait for the editor to have content const editorContainer = page.locator('.editor__blocknote-container') - await expect(editorContainer).toBeVisible({ timeout: 5000 }) + await expect(editorContainer).toBeVisible({ timeout: 8000 }) // The editor should have BlockNote content const editorContent = page.locator('.bn-editor') @@ -36,7 +36,7 @@ test.describe('Improve note open latency', () => { // Editor should become visible with content const editorContainer = page.locator('.editor__blocknote-container') - await expect(editorContainer).toBeVisible({ timeout: 5000 }) + await expect(editorContainer).toBeVisible({ timeout: 8000 }) // The editor should have some BlockNote content const editorContent = page.locator('.bn-editor') @@ -62,7 +62,7 @@ test.describe('Improve note open latency', () => { // The editor should be visible and functional const editorContainer = page.locator('.editor__blocknote-container') - await expect(editorContainer).toBeVisible({ timeout: 5000 }) + await expect(editorContainer).toBeVisible({ timeout: 8000 }) // The editor should have content loaded const editorContent = page.locator('.bn-editor')