Skip to content

Commit

Permalink
Use the 'expandTimeout' variable for expanding the tree by path
Browse files Browse the repository at this point in the history
This variable is already used by all expand functions except this one
  • Loading branch information
AlexPl292 authored and nizienko committed Jan 29, 2024
1 parent f3ab98f commit 183d186
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ open class JTreeFixture(remoteRobot: RemoteRobot, remoteComponent: RemoteCompone
const toStringConverter = function(obj) {return java.util.Objects.toString(obj)}
const visitor = new com.intellij.ui.tree.TreeVisitor.ByTreePath(ignoreRoot, treePath, toStringConverter);
com.intellij.util.ui.tree.TreeUtil.promiseExpand(component, visitor).blockingGet(5000)
com.intellij.util.ui.tree.TreeUtil.promiseExpand(component, visitor).blockingGet(ctx.get('expandTimeout'))
""")
return this
}
Expand Down

0 comments on commit 183d186

Please sign in to comment.