Skip to content

fix: improve e2e test stability with better synchronization#3608

Draft
zackverham wants to merge 1 commit intomainfrom
fix/e2e-test-stability-improvements
Draft

fix: improve e2e test stability with better synchronization#3608
zackverham wants to merge 1 commit intomainfrom
fix/e2e-test-stability-improvements

Conversation

@zackverham
Copy link
Collaborator

Summary

  • 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
  • Reduce retryWithBackoff max delay from 5s to 3s
  • Add centralized timeout configuration values in e2e.json

Test plan

  • Run e2e tests locally with just e2e from test/e2e/
  • Verify tests pass in CI across all Connect versions
  • Monitor for reduced flakiness in subsequent CI runs

🤖 Generated with Claude Code

- 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>
@zackverham zackverham requested a review from a team as a code owner February 24, 2026 18:24
@zackverham zackverham marked this pull request as draft February 24, 2026 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant