From ff0321e9063b4d50aaf47ee8e87692f2b1d5f98a Mon Sep 17 00:00:00 2001 From: Henry Heino <46334387+personalizedrefrigerator@users.noreply.github.com> Date: Thu, 27 Mar 2025 13:58:43 -0700 Subject: [PATCH] Chore: Improve note list test reliability (#12019) --- packages/app-desktop/integration-tests/models/NoteList.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/app-desktop/integration-tests/models/NoteList.ts b/packages/app-desktop/integration-tests/models/NoteList.ts index 72eb70612e..577c32d51c 100644 --- a/packages/app-desktop/integration-tests/models/NoteList.ts +++ b/packages/app-desktop/integration-tests/models/NoteList.ts @@ -25,6 +25,7 @@ export default class NoteList { public async focusContent(electronApp: ElectronApplication) { await activateMainMenuItem(electronApp, 'Note list', 'Focus'); + await expect(this.container.locator(':focus')).toBeAttached(); } // The resultant locator may fail to resolve if the item is not visible