Skip to content

[test] Wait for the assistant turn before editing the next draft - #551

Merged
wangtiance merged 1 commit into
ThinkFlowLab:mainfrom
wangtiance:codex/settle-assistant-session-draft
Nov 28, 2026
Merged

wangtiance merged 1 commit into
ThinkFlowLab:mainfrom
wangtiance:codex/settle-assistant-session-draft

Conversation

@wangtiance

Copy link
Copy Markdown
Collaborator

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.

中文摘要

助手会话测试在填写下一条草稿前,同时等待服务端活动轮次结束和页面停止按钮消失,避免与上一轮的结束事件竞争。原有草稿及附件断言保留。

@wangtiance
wangtiance merged commit 81d53ac into ThinkFlowLab:main Nov 28, 2026
13 checks passed
@wangtiance
wangtiance deleted the codex/settle-assistant-session-draft branch November 28, 2026 07:05
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