[gui-test] ExtendedButtonFixture: clickUntil - process another ignored exception

GitOrigin-RevId: ee3d4607c09e47d8383e50a1682c208158af4e6b
This commit is contained in:
Viktoria Shirunova
2019-04-28 14:52:03 +03:00
committed by intellij-monorepo-bot
parent 95ce02c1c5
commit c6d7083c35
@@ -45,6 +45,11 @@ class ExtendedButtonFixture(robot: Robot, button: JButton) : JButtonFixture(robo
catch (ignore: IllegalStateException){
true
}
catch (ignore: NullPointerException) {
// if button disappears at once after getting the NPE from fest might occur
// but it's ok - nothing to wait anymore
true
}
}
}