File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed
tst-243+/software/aws/toolkits/jetbrains/uitests/chatTests Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -91,6 +91,7 @@ tasks.register<Test>("uiTest") {
91
91
dependsOn(testPlugins)
92
92
93
93
systemProperty(" ui.test.plugins" , testPlugins.get().asPath)
94
+ systemProperty(" org.gradle.project.ideProfileName" , ideProfile.name)
94
95
}
95
96
96
97
// hack to disable ui tests in ./gradlew check
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ package software.aws.toolkits.jetbrains.uitests.chatTests
5
5
6
6
import com.intellij.driver.sdk.waitForProjectOpen
7
7
import com.intellij.ide.starter.ci.CIServer
8
+ import com.intellij.ide.starter.config.ConfigurationStorage
8
9
import com.intellij.ide.starter.di.di
9
10
import com.intellij.ide.starter.driver.engine.runIdeWithDriver
10
11
import com.intellij.ide.starter.ide.IdeProductProvider
@@ -34,6 +35,13 @@ class AmazonQChatTest {
34
35
di = DI {
35
36
extend(di)
36
37
bindSingleton<CIServer >(overrides = true ) { TestCIServer }
38
+ val defaults = ConfigurationStorage .instance().defaults.toMutableMap().apply {
39
+ put(" LOG_ENVIRONMENT_VARIABLES" , (! System .getenv(" CI" ).toBoolean()).toString())
40
+ }
41
+
42
+ bindSingleton<ConfigurationStorage >(overrides = true ) {
43
+ ConfigurationStorage (this , defaults)
44
+ }
37
45
}
38
46
}
39
47
@@ -50,7 +58,7 @@ class AmazonQChatTest {
50
58
LocalProjectInfo (
51
59
Paths .get(" tstData" , " Hello" )
52
60
)
53
- ).useRelease(" 2024.3 " )
61
+ ).useRelease(System .getProperty( " org.gradle.project.ideProfileName " ) )
54
62
55
63
// inject connection
56
64
useExistingConnectionForTest()
File renamed without changes.
You can’t perform that action at this time.
0 commit comments