-
Notifications
You must be signed in to change notification settings - Fork 251
ci: Update UI tests to use the 243 release #5388
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
/runUiTests |
...arter/tst-243+/software/aws/toolkits/jetbrains/uitests/OfflineAmazonQInlineCompletionTest.kt
Outdated
Show resolved
Hide resolved
...er/tst-241-242/software/aws/toolkits/jetbrains/uitests/OfflineAmazonQInlineCompletionTest.kt
Outdated
Show resolved
Hide resolved
@@ -28,6 +30,7 @@ class OfflineAmazonQInlineCompletionTest { | |||
di = DI { | |||
extend(di) | |||
bindSingleton<CIServer>(overrides = true) { TestCIServer } | |||
ConfigurationStorage.Companion.logEnvironmentVariables(false) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should override the defaults so reset() does not flip this back
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried doing that but the ConfigurationStorage class which has the default values cannot be directly inherited from...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
try
val defaults = ConfigurationStorage.instance().defaults.toMutableMap().apply {
put("LOG_ENVIRONMENT_VARIABLES", "false")
}
bindSingleton<ConfigurationStorage>(overrides = true) {
ConfigurationStorage(this, defaults)
}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, sorry, I could access the vars only in 243, I think I was trying in 242 earlier. The var is public
...arter/tst-243+/software/aws/toolkits/jetbrains/uitests/OfflineAmazonQInlineCompletionTest.kt
Outdated
Show resolved
Hide resolved
/runUiTests |
/runUiTests |
Types of changes
Description
Checklist
License
I confirm that my contribution is made under the terms of the Apache 2.0 license.