[remote-driver] JTreeTextFixture : threading issue

GitOrigin-RevId: 556d6e3fca4685d21553131a795950e07a742564
This commit is contained in:
vladislav.shishov
2024-09-09 12:19:26 +03:00
committed by intellij-monorepo-bot
parent e081e49d93
commit 5aa5fc8953

View File

@@ -51,7 +51,7 @@ open class JTreeTextFixture(robot: Robot, private val component: JTree) : JTreeF
return computeOnEdt {
component.selectionPaths
}?.map { path ->
path.path.map { cellReader.valueAt(component, it) ?: "" }.run {
path.path.map { computeOnEdt { cellReader.valueAt(component, it) } ?: "" }.run {
if (component.isRootVisible) subList(1, size)
else this
}