mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-19 21:11:28 +07:00
[ui-tests]: add exception if the click was not successful in the end
GitOrigin-RevId: 60443ec4c17e571b6479d30b4a555407b456bc7c
This commit is contained in:
committed by
intellij-monorepo-bot
parent
a35909acb2
commit
271209076c
@@ -144,6 +144,10 @@ internal class SmoothRobot : Robot {
|
||||
|
||||
component.removeMouseListener(mouseListener)
|
||||
}
|
||||
|
||||
if (!finished) {
|
||||
throw Exception("$attempt attempts failed to click on component $component.")
|
||||
}
|
||||
}
|
||||
|
||||
override fun click(component: Component, point: Point) {
|
||||
|
||||
Reference in New Issue
Block a user