1
0
mirror of https://github.com/chylex/IntelliJ-IdeaVim.git synced 2025-04-22 01:15:48 +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() {
waitFor(duration = Duration.ofMinutes(5)) {
findAllText("Python Console").isNotEmpty() &&
findAllText("Version Control").isNotEmpty() &&
findAllText("Python Packages").isNotEmpty() &&
isSmartMode()
}
// waitFor(duration = Duration.ofMinutes(5)) {
// findAllText("Python Console").isNotEmpty() &&
// findAllText("Version Control").isNotEmpty() &&
// findAllText("Python Packages").isNotEmpty() &&
// isSmartMode()
// }
// Open tool window by id.
// id taken from PythonConsoleToolWindowFactory.ID but it's not resolved in robot by some reason