From 79d2040fcfa24d0d1d258f6b8ae7e0d771ddfecc Mon Sep 17 00:00:00 2001
From: Alex Plate <aleksei.plate@jetbrains.com>
Date: Fri, 14 Mar 2025 14:09:48 +0200
Subject: [PATCH] Wait longer till PyCharm will detect the SDK

---
 tests/ui-py-tests/src/test/kotlin/PyCharmTest.kt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/ui-py-tests/src/test/kotlin/PyCharmTest.kt b/tests/ui-py-tests/src/test/kotlin/PyCharmTest.kt
index 5fd6d9580..6db134e8b 100644
--- a/tests/ui-py-tests/src/test/kotlin/PyCharmTest.kt
+++ b/tests/ui-py-tests/src/test/kotlin/PyCharmTest.kt
@@ -69,7 +69,7 @@ class PyCharmTest {
   private fun RemoteRobot.startNewProject() {
     welcomeFrame {
       createNewProjectLink.click()
-      waitFor {
+      waitFor(duration = Duration.ofSeconds(30)) {
         // Waiting till the SDK will be detected by PyCharm
         findAllText("detected in the system").isNotEmpty()
       }