Skip to content

Prove Cowork selection preservation portably#25

Merged
gitcommit90 merged 1 commit into
mainfrom
fix/cowork-selection-state-contract
Jul 27, 2026
Merged

Prove Cowork selection preservation portably#25
gitcommit90 merged 1 commit into
mainfrom
fix/cowork-selection-state-contract

Conversation

@gitcommit90

Copy link
Copy Markdown
Owner

Outcome

Replace platform-dependent DOM selection inspection with behavioral assertions against CodeMirror's authoritative selection. The tests now prove a selection survives a shell repaint by typing replacement text, on both Linux Chromium and macOS Chromium.

Verification

  • node --test test/cowork-browser.mjs (Linux)
  • npm run test:brief-browser (Linux, 39/39)
  • node --test test/cowork-browser.mjs (Mac Studio, pass)
  • git diff --check

Signed-off-by: Codex codex@openai.com

Signed-off-by: Joseph Yaksich <gitcommit90@users.noreply.github.com>
@gitcommit90
gitcommit90 merged commit 0b0dfcf into main Jul 27, 2026
5 checks passed
@gitcommit90
gitcommit90 deleted the fix/cowork-selection-state-contract branch July 27, 2026 08:01
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