Repository navigation
[test] Wait for the assistant turn before editing the next draft - #551
Merged
wangtiance merged 1 commit intoNov 28, 2026
Merged
wangtiance merged 1 commit into
wangtiance merged 1 commit into
Conversation
wangtiance
requested review from
hsliuustc0106 and
princepride
as code owners
November 28, 2026 04:39
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The extended Nightly job finished the first reply but timed out waiting for the next draft and attachment. The test waited for the persisted reply to become complete, while the assistant could still be applying its terminal stream event and replacing the composer state.
Wait for the active turn to clear on the server and for the stop button to disappear before entering the next draft. Keep the existing draft and attachment assertions.
Validation
Node syntax, browser manifest and diff checks passed. A targeted check exercised the actual polling predicate with a completed reply whose active turn remained set during two further reads. Browser CI still needs to run the full scenario.
中文摘要
助手会话测试在填写下一条草稿前,同时等待服务端活动轮次结束和页面停止按钮消失,避免与上一轮的结束事件竞争。原有草稿及附件断言保留。