mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-20 13:31:28 +07:00
[driver][ui-tests] Fix flaky popup focus in BookmarksUiTest
GitOrigin-RevId: 6cf2d1a087173f61bb3dbb3e1790c3b5d1bb673c
This commit is contained in:
committed by
intellij-monorepo-bot
parent
fd04da37bf
commit
8927043da8
@@ -74,5 +74,8 @@ class BookmarksPopupUiComponent(data: ComponentData) : UiComponent(data) {
|
||||
.map { it.toString().replace("TreePathToRow{path=[", "").dropLast(2) }
|
||||
|
||||
fun clickBookmark(textContains: String, doubleClick: Boolean = false) =
|
||||
bookmarksTree.waitAnyTextsContains(text = textContains).first().apply { if (doubleClick) doubleClick() else click() }
|
||||
bookmarksTree.waitAnyTextsContains(text = textContains).first().apply { if (doubleClick) {
|
||||
click()
|
||||
doubleClick()
|
||||
} else click() }
|
||||
}
|
||||
Reference in New Issue
Block a user