You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-08-10 22:11:50 +02:00
Chore: Improve note list test reliability (#12019)
This commit is contained in:
@@ -25,6 +25,7 @@ export default class NoteList {
|
|||||||
|
|
||||||
public async focusContent(electronApp: ElectronApplication) {
|
public async focusContent(electronApp: ElectronApplication) {
|
||||||
await activateMainMenuItem(electronApp, 'Note list', 'Focus');
|
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
|
// The resultant locator may fail to resolve if the item is not visible
|
||||||
|
Reference in New Issue
Block a user