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