[gui-test] fix GuiTestRule::assumeOnlyWelcomeFrameShowing : do not check number of showing windows

GitOrigin-RevId: b8da664de17ed12977f7e1d3e3bbfd7c4f0bc6a1
This commit is contained in:
Vladislav Shishov
2019-10-16 16:47:47 +00:00
committed by intellij-monorepo-bot
parent 73b655a9a8
commit c6bb9232c9
@@ -322,7 +322,6 @@ class GuiTestRule(enableScreenshotsDuringTest: Boolean) : TestRule {
throw AssumptionViolatedException("didn't find welcome frame", e)
}
GuiTestUtilKt.waitUntil("Splash is gone") { !GuiTestUtilKt.windowsShowing().any { it is Splash } }
Assume.assumeTrue("Only welcome frame is showing", GuiTestUtilKt.windowsShowing().size == 1)
}
}