Stabilizing UI tests after migration to Cody agent v1.66 and v1.114 - #278
Merged
Conversation
abeatrix
approved these changes
May 27, 2025
PiotrKarczmarz
force-pushed
the
piotr/updating-ui-tests-to-match-agent
branch
from
August 14, 2025 10:51
73fc3a1 to
05fb47f
Compare
- added Active_File_Name_And_Line_Selection_Is_Changing_In_Chat_Input() test
… (no files open).
… state (they are remembered between open solution "sessions").
Updated agent to vscode-v1.114.0 DefaultServerEndpoint is now pointing to sourcegraph.sourcegraph.com
PiotrKarczmarz
force-pushed
the
piotr/updating-ui-tests-to-match-agent
branch
from
August 15, 2025 11:23
d3f2a2a to
5b9b1d2
Compare
PiotrKarczmarz
force-pushed
the
piotr/updating-ui-tests-to-match-agent
branch
from
August 15, 2025 18:15
269c2d2 to
5b9b1d2
Compare
tomaszgolebiowski
approved these changes
Aug 18, 2025
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.
CLOSE https://linear.app/sourcegraph/issue/CODY-5899/stabilizing-ui-tests-after-migration-to-cody-agent-v166
1. UI Test Improvements
data-testidattributes instead of roles/text for more reliable selectionActive_File_Name_And_Line_Selection_Is_Changing_In_Chat_Input2. Solution Loading and Document Handling
CloseAllDocuments()to ensure clean state between tests3. Authentication and Token Handling
AccessTokenRefreshedevent toISecretStorageService4. General Stability Improvements
Test plan