fix: improve e2e test stability with better synchronization#3608
Draft
zackverham wants to merge 1 commit intomainfrom
Draft
fix: improve e2e test stability with better synchronization#3608zackverham wants to merge 1 commit intomainfrom
zackverham wants to merge 1 commit intomainfrom
Conversation
- Increase CI retry count from 2 to 3 for transient failures
- Add verifyServicesReady() command to check Connect and code-server
are responding before tests run
- Add cy.intercept() for credentials refresh API to wait for actual
response instead of arbitrary timeouts
- Add cy.intercept() for publish API in deployCurrentlySelected()
- Remove unnecessary cy.wait() calls and replace with proper assertions:
- checkbox click now relies on should('be.checked') retry
- section expansion uses visibility assertion
- workbench button uses aria-busy check
- Reduce retryWithBackoff max delay from 5s to 3s
- Add centralized timeout configuration values in e2e.json
Co-Authored-By: Claude Opus 4.5 <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
verifyServicesReady()command to check Connect and code-server are responding before tests runcy.intercept()for credentials refresh API to wait for actual response instead of arbitrary timeoutscy.intercept()for publish API indeployCurrentlySelected()cy.wait()calls and replace with proper assertionsretryWithBackoffmax delay from 5s to 3sTest plan
just e2efromtest/e2e/🤖 Generated with Claude Code