Skip to content

perf: optimize Playwright test speed by removing waitForTimeout#80

Merged
lewis617 merged 1 commit into
mainfrom
perf/optimize-playwright-test-speed
Jun 30, 2026
Merged

perf: optimize Playwright test speed by removing waitForTimeout#80
lewis617 merged 1 commit into
mainfrom
perf/optimize-playwright-test-speed

Conversation

@lewis617

Copy link
Copy Markdown
Contributor
  • Serve codicons locally from node_modules instead of CDN
  • Add waitForFileSuggestionRequest() helper for condition-based waits
  • Add getMessageCount() helper for tracking message state
  • Replace 61 waitForTimeout calls (~18s) with event-driven waits
  • Use expect().toPass() for scroll and render verification
  • Reduce test suite time from 60s to 50s (17% improvement)

- Serve codicons locally from node_modules instead of CDN
- Add waitForFileSuggestionRequest() helper for condition-based waits
- Add getMessageCount() helper for tracking message state
- Replace 61 waitForTimeout calls (~18s) with event-driven waits
- Use expect().toPass() for scroll and render verification
- Reduce test suite time from 60s to 50s (17% improvement)
@lewis617 lewis617 force-pushed the perf/optimize-playwright-test-speed branch from e0ca39e to c720e89 Compare June 30, 2026 11:00
@lewis617 lewis617 merged commit 72d091d into main Jun 30, 2026
1 check passed
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