Open roman91296 opened 1 month ago
Please share your project sources.
Unfortunately, I can provide only build files:
build.gradle.kts - https://pastebin.com/CQMX44bH settings.gradle.kts - https://pastebin.com/Z1aUr4ig gradle.properties - https://pastebin.com/b9f9eBsw libs.versions.toml - https://pastebin.com/ddhQCLhP
Are only UI Integration tests failing?
Not sure about some of the additional dependencies, e.g. implementation("org.slf4j:slf4j-api:2.0.7")
(see https://blog.jetbrains.com/platform/2022/02/removing-log4j-from-the-intellij-platform/)
Also try using latest Gradle GA Release always.
Yes, only UI Integration tests failing. Gradle version 8.4 has been and still exists . I only changed from org.jetbrains.intellij 1.17.4 to org.jetbrains.intellij.platform 2.1.0.
Ok, I will change org.slf4j:slf4j-api:2.0.7, but it is not resolve my problem.
The stacktrace from the first post mention file:///Users/medvedevrv/work/Axenix/Codax.AI/codax-jb/build/reports/tests/test/index.html
tests result.
What does this file say exactly?
com.intellij.remoterobot.utils.WaitForConditionTimeoutException: Exceeded timeout (PT20S) for condition function (Failed to find 'Dialog' by 'title New Project' in 20s) at com.intellij.remoterobot.utils.RepeatUtilsKt.waitFor(RepeatUtils.kt:51) at com.intellij.remoterobot.utils.RepeatUtilsKt.waitFor$default(RepeatUtils.kt:37) at com.intellij.remoterobot.SearchContext$find$1.invoke(SearchContext.kt:53) at com.intellij.remoterobot.SearchContext$find$1.invoke(SearchContext.kt:51) at com.intellij.remoterobot.stepsProcessing.StepWorkerKt.step(StepWorker.kt:23) at com.intellij.remoterobot.SearchContext$DefaultImpls.find(SearchContext.kt:51) at com.intellij.remoterobot.fixtures.ContainerFixture.find(ContainerFixture.kt:12) at com.codax.jetbrains.steps.IdeCommonSteps.lambda$createNewProject$0(IdeCommonSteps.java:36) at com.intellij.remoterobot.stepsProcessing.StepWorkerKt$step$1.invoke(StepWorker.kt:16) at com.intellij.remoterobot.stepsProcessing.StepWorkerKt$step$1.invoke(StepWorker.kt:15) at com.intellij.remoterobot.stepsProcessing.StepWorkerKt.step(StepWorker.kt:23) at com.intellij.remoterobot.stepsProcessing.StepWorkerKt.step(StepWorker.kt:15) at com.codax.jetbrains.steps.IdeCommonSteps.createNewProject(IdeCommonSteps.java:32) at com.codax.jetbrains.settings.SettingsTest.initLogging(SettingsTest.java:49) at java.base@17.0.5/java.lang.reflect.Method.invoke(Method.java:568) at java.base@17.0.5/java.util.ArrayList.forEach(ArrayList.java:1511)
com.intellij.remoterobot.utils.WaitForConditionTimeoutException: Exceeded timeout (PT10S) for condition function (Failed to find 'Idea frame' by 'IdeFrameImpl type' in 10s) at com.intellij.remoterobot.utils.RepeatUtilsKt.waitFor(RepeatUtils.kt:51) at com.intellij.remoterobot.utils.RepeatUtilsKt.waitFor$default(RepeatUtils.kt:37) at com.intellij.remoterobot.SearchContext$find$1.invoke(SearchContext.kt:53) at com.intellij.remoterobot.SearchContext$find$1.invoke(SearchContext.kt:51) at com.intellij.remoterobot.stepsProcessing.StepWorkerKt.step(StepWorker.kt:23) at com.intellij.remoterobot.SearchContext$DefaultImpls.find(SearchContext.kt:51) at com.intellij.remoterobot.RemoteRobot.find(RemoteRobot.kt:32) at com.intellij.remoterobot.SearchContext$DefaultImpls.find(SearchContext.kt:34) at com.intellij.remoterobot.RemoteRobot.find(RemoteRobot.kt:32) at com.codax.jetbrains.suggestion.SuggestionTest.when_TypingText_Expect_Suggestion(SuggestionTest.java:48) at java.base@17.0.5/java.lang.reflect.Method.invoke(Method.java:568) at java.base@17.0.5/java.util.ArrayList.forEach(ArrayList.java:1511) at java.base@17.0.5/java.util.ArrayList.forEach(ArrayList.java:1511)
Tests are still failing, can you help?
Could you give us any solving?
What happened?
After migration from 1.x to 2.x version tests always are failed
Relevant log output or stack trace
Gradle IntelliJ Plugin version
2.1.0
Gradle version
8.4
Operating System
macOS
Link to build, i.e. failing GitHub Action job
No response