fix(e2e): deflake context_limit_banner, attach_image, and prompt_libr… (#2725)
…ary tests
- context_limit_banner: increase banner visibility timeout from MEDIUM
to LONG since token counting IPC fires asynchronously after streaming
ends
- attach_image: wait for file card button to render before taking aria
snapshot in the upload-to-codebase test
- prompt_library: replace flaky toMatchAriaSnapshot with explicit
assertions (toBeVisible, toContainText, getByRole) since Chrome's
accessibility tree non-deterministically merges heading and paragraph
text
<!-- devin-review-badge-begin -->
---
<a href="https://app.devin.ai/review/dyad-sh/dyad/pull/2725"
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>
正在显示
请
注册
或者
登录
后发表评论