fix(ui-tests): Replace setText with keyboard input to fix SocketTimeoutException#433
Open
cx-anurag-dalke wants to merge 5 commits intomainfrom
Open
fix(ui-tests): Replace setText with keyboard input to fix SocketTimeoutException#433cx-anurag-dalke wants to merge 5 commits intomainfrom
cx-anurag-dalke wants to merge 5 commits intomainfrom
Conversation
|
Great job! No new security vulnerabilities introduced in this pull request |
…hTextField popup field.click() triggers SearchTextField's history popup which steals focus from the tool window, causing focusCxWindow() to loop indefinitely. Replace with requestFocusInWindow() and add hasFocus guard. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
JTextFieldFixture.setText()with keyboard-based input (Ctrl+A+enterText()) inScanResultsPannelPage.enterScanIdAndSelect()andTestGeneral.testInvalidScanId()TestGeneralx5,TestScax1,TestTriggerScanx3) caused bySocketTimeoutExceptionwhen setting text onSearchTextField's innerTextFieldWithProcessingcomponentsetText()call executed JavaScript via Remote Robot on the EDT, butSearchTextField's internal document processing blocked the EDT, causing the HTTP response to timeout after 30 secondsTest plan
testUIjob)TestAuthentication,TestAscaRealTime,TestOSSRealTime, andTestCxOneAssist(previously passing tests)TestGeneral.testInvalidScanIdworks correctly with keyboard-based input