mirror of https://github.com/laurent22/joplin.git
Chore: Improve note list test reliability (#12019)
parent
6b881b226e
commit
ff0321e906
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue