fix: deflake E2E tests (partial_response.spec.ts) (#2907)
## Summary
- Updated stale aria snapshot for `partial_response.spec.ts` that was
consistently failing
- Button text content now renders actual text (e.g., `file1.txt
file1.txt`, `Edit`, `Undo`, `Retry`) instead of empty strings
- Removed `wrote 1 file(s)` text entries that no longer appear in the UI
## Context
Scanned 5 recent CI runs on main and 13 open PRs by
wwwillchen/wwwillchen-bot/dyadbot. Found flaky tests across 16+ spec
files. Most flakiness is CI-specific (timing/load dependent) and cannot
be reproduced locally with 10x repeats. The `partial_response.spec.ts`
snapshot was the only consistently broken test.
## Test plan
- [x] `partial_response.spec.ts` passes 10/10 times locally with updated
snapshot
- [x] Full E2E suite passes (236/243, with only transient flaky failures
unrelated to this change)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
<!-- devin-review-badge-begin -->
---
<a href="https://app.devin.ai/review/dyad-sh/dyad/pull/2907"
target="_blank">
<picture>
<source media="(prefers-color-scheme: dark)"
srcset="https://static.devin.ai/assets/gh-open-in-devin-review-dark.svg?v=1">
<img
src="https://static.devin.ai/assets/gh-open-in-devin-review-light.svg?v=1"
alt="Open with Devin">
</picture>
</a>
<!-- devin-review-badge-end -->
Co-authored-by:
claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by:
Claude Opus 4.6 <noreply@anthropic.com>
正在显示
请
注册
或者
登录
后发表评论