-
由 wwwillchen-bot 提交于
## Summary - Set toast duration to 500ms when in test mode to speed up E2E tests - This reduces test flakiness and speeds up tests that wait for toasts to disappear ## Test plan - Run E2E tests to verify toasts now disappear faster in test mode - Verify regular app behavior is unchanged (toasts use default duration)
🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- devin-review-badge-begin --> --- <a href="https://app.devin.ai/review/dyad-sh/dyad/pull/2551" 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 --> <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Shorten toast duration to 500ms when test mode is enabled to speed up E2E runs and reduce flakiness. Production behavior is unchanged; toasts use the default duration outside test mode. <sup>Written for commit 5d38cc2b792a215b89c2c4c3a5f970c44a3fa120. Summary will update on new commits.</sup> <!-- End of auto-generated description by cubic. --> Co-authored-by:Will Chen <willchen90@gmail.com> Co-authored-by:
Claude Opus 4.5 <noreply@anthropic.com>