1
0
mirror of https://github.com/chylex/IntelliJ-IdeaVim.git synced 2025-05-01 07:34:03 +02:00

Try not to wait till stripes to appear in UI tests for PyCharm

This commit is contained in:
Alex Plate 2025-03-14 15:38:27 +02:00
parent 38b5879d37
commit 8a173c801c
No known key found for this signature in database
GPG Key ID: 0B97153C8FFEC09F

View File

@ -44,12 +44,12 @@ class PyCharmTest {
} }
private fun IdeaFrame.testEnterWorksInPyConsole() { private fun IdeaFrame.testEnterWorksInPyConsole() {
waitFor(duration = Duration.ofMinutes(5)) { // waitFor(duration = Duration.ofMinutes(5)) {
findAllText("Python Console").isNotEmpty() && // findAllText("Python Console").isNotEmpty() &&
findAllText("Version Control").isNotEmpty() && // findAllText("Version Control").isNotEmpty() &&
findAllText("Python Packages").isNotEmpty() && // findAllText("Python Packages").isNotEmpty() &&
isSmartMode() // isSmartMode()
} // }
// Open tool window by id. // Open tool window by id.
// id taken from PythonConsoleToolWindowFactory.ID but it's not resolved in robot by some reason // id taken from PythonConsoleToolWindowFactory.ID but it's not resolved in robot by some reason