-
Notifications
You must be signed in to change notification settings - Fork 241
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
ci: UI test for feature availability in chat panel #5393
base: main
Are you sure you want to change the base?
Conversation
ui-tests-starter/tst-243+/software/aws/toolkits/jetbrains/uitests/chatTests/TestCaseScripts.kt
Show resolved
Hide resolved
.useDriverAndCloseIde { | ||
waitForProjectOpen() | ||
// required wait time for the system to be fully ready | ||
Thread.sleep(30000) |
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.
isnt there a wait for index done or something?
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.
There is a waitForIndicator() but that doesn't still doesn't add enough time
assertTrue(result.contains("/review")) | ||
assertTrue(result.contains("/test")) | ||
|
||
Thread.sleep(20000) |
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 get the first sleep but why the one here?
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.
This one was mainly so that we could capture the exact output on the textbox cause otherwise it ends instantaneously. It doesnt need to be 20000 though, I'll try to make it shorter.
Description
Checklist
License
I confirm that my contribution is made under the terms of the Apache 2.0 license.