From e137ea2658369c7461f64de5c51564aa4cbab559 Mon Sep 17 00:00:00 2001 From: "Viktoria.Shirunova" Date: Thu, 19 Jul 2018 22:41:58 +0300 Subject: [PATCH] [gui-test] waitAMoment: added waiting for idle --- .../src/com/intellij/testGuiFramework/impl/GuiTestCaseExt.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/platform/testGuiFramework/src/com/intellij/testGuiFramework/impl/GuiTestCaseExt.kt b/platform/testGuiFramework/src/com/intellij/testGuiFramework/impl/GuiTestCaseExt.kt index 9a639fbc3669..57d1a8b5a573 100644 --- a/platform/testGuiFramework/src/com/intellij/testGuiFramework/impl/GuiTestCaseExt.kt +++ b/platform/testGuiFramework/src/com/intellij/testGuiFramework/impl/GuiTestCaseExt.kt @@ -91,6 +91,7 @@ fun GuiTestCase.waitAMoment(extraTimeOut: Long = 2000L) { ideFrame { this.waitForBackgroundTasksToFinish() } + robot().waitForIdle() Pause.pause(extraTimeOut) }