Skip to content

Align comment editor tests with retained drafts - #1551

Merged
max-sixty merged 3 commits into
mainfrom
fix/ci-36945384717-composer-tests
Oct 2, 2026
Merged

max-sixty merged 3 commits into
mainfrom
fix/ci-36945384717-composer-tests

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

The complete-suite run on main at 87983c2d found browser tests that still expected an open comment editor to leave with its passage. The runtime now keeps a writer's draft and focus in the usable window when the passage scrolls away, including inside a bounded pane. These tests now check that attachment while the passage is visible and the focused, word-preserving window posture after it leaves.

The five affected cases failed on current main before this change and pass locally after it. This updates test expectations for the behavior shipped in #1536; it does not change the runtime. Other failures in the run have separate causes.

An open comment now remains in the usable window when its passage scrolls away. Update the nightly browser cases to verify its words, focus, and attachment while the target is visible, then its window placement after the target leaves. A restored draft may choose another vertical side at its restored scroll position; its lane remains fixed.

@leaf-agent leaf-agent left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The existing four-case scroll-away/return test checks the editor only after the target comes back, and its description still says a pane hides the editor. The new pane test covers one of those cases, but the other target and scroller combinations could lose the focused draft while away without failing. The matrix should check the visible editor, focus, and draft before scrolling back.

@max-sixty
max-sixty merged commit cd010dd into main Oct 2, 2026
3 checks passed
@max-sixty
max-sixty deleted the fix/ci-36945384717-composer-tests branch October 2, 2026 03:26
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.

2 participants