cmux/cmuxTests
Matthew Z. 818864dd4a
Fix sidebar notification persisting after being read (#1933)
* Fix sidebar notification persisting after being read

latestNotification(forTabId:) fell back to latestByTabId when no
unread notifications existed, causing read notifications to persist
in the sidebar even after the user marked them as read, killed all
processes, or switched branches. The sidebar should only display
unread notifications.

Remove the fallback to latestByTabId so the sidebar notification
text clears once all notifications for a workspace are read.

Fixes #1642

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Update test expectation for unread-only latestNotification semantics

After markRead, latestNotification(forTabId:) now returns nil since
it no longer falls back to read notifications. Update the test
assertion to match.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: CHE-3 <schumannzheng@gmail.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 20:54:41 -07:00
..
AppDelegateShortcutRoutingTests.swift Fix CI test timeout: stream output, bump to 30m (#1783) 2026-03-18 22:19:37 -07:00
BrowserConfigTests.swift Fix browser back navigation history handoff (#1897) 2026-03-20 21:11:56 -07:00
BrowserFindJavaScriptTests.swift Add find-in-page (Cmd+F) for browser panels (#837) (#875) 2026-03-04 16:15:15 -08:00
BrowserImportMappingTests.swift Refine browser import minimal UI 2026-03-17 16:46:10 -07:00
BrowserPanelTests.swift Fix splitter hitbox overlap and terminal scrollbar width resync (#1950) 2026-03-22 18:06:11 -07:00
CJKIMEInputTests.swift fix(terminal): execute Return after Korean IME commit (#1671) 2026-03-17 22:07:45 -07:00
CommandPaletteSearchEngineTests.swift Prefer command palette title matches over keywords 2026-03-18 03:13:37 -07:00
GhosttyConfigTests.swift Self-heal tmux attention routing for cmux panes 2026-03-21 03:26:11 -07:00
GhosttyEnsureFocusWindowActivationTests.swift Add shortcut change notification regression 2026-03-15 22:09:34 -07:00
InactivePaneFirstClickFocusTests.swift Add optional single-click focus for inactive panes (#1796) 2026-03-19 01:01:10 -07:00
NotificationAndMenuBarTests.swift Fix sidebar notification persisting after being read (#1933) 2026-03-24 20:54:41 -07:00
OmnibarAndToolsTests.swift Split 16k-line mega test file, bump CI timeout, stream xcodebuild output (#1717) 2026-03-18 01:17:25 -07:00
SessionPersistenceTests.swift fix: skip identical session autosave writes (#1732) 2026-03-18 03:24:40 -07:00
ShortcutAndCommandPaletteTests.swift Show update-available banner automatically on launch (#1651) 2026-03-18 12:30:44 -07:00
SidebarOrderingTests.swift Make remote sidebar directory canonicalization preserve live paths 2026-03-19 01:23:53 -07:00
SidebarWidthPolicyTests.swift Allow smaller sidebar widths (#1420) 2026-03-13 21:40:25 -07:00
SocketControlPasswordStoreTests.swift Add command palette entries to install/uninstall cmux CLI in PATH (#626) 2026-02-27 01:53:13 -08:00
TabManagerSessionSnapshotTests.swift Fix SSH workspace priming and restore state 2026-03-13 20:01:26 -07:00
TabManagerUnitTests.swift Fix sidebar badges not refreshing on workspace state change (#2046) 2026-03-24 19:18:18 -07:00
TerminalAndGhosttyTests.swift test: clarify stale portal rebind sync points 2026-03-24 00:04:30 -07:00
TerminalControllerSocketSecurityTests.swift Add pinned workspace close regression tests 2026-03-20 19:27:37 -07:00
UpdatePillReleaseVisibilityTests.swift Fix titlebar shortcut hint clipping (#1259) 2026-03-12 03:27:10 -07:00
WindowAndDragTests.swift Tune navigation flash accent 2026-03-20 20:36:08 -07:00
WorkspaceContentViewVisibilityTests.swift Add tmux attention regression tests 2026-03-20 20:18:33 -07:00
WorkspaceManualUnreadTests.swift Fix test target build after split test sync 2026-03-18 03:49:24 -07:00
WorkspacePullRequestSidebarTests.swift Fix sidebar workspace PR status display and false positives (#1636) 2026-03-17 22:57:12 -07:00
WorkspaceRemoteConnectionTests.swift Merge pull request #1898 from manaflow-ai/feat-tmux-notification-attention-state 2026-03-22 15:36:36 -07:00
WorkspaceStressProfileTests.swift Add workspace stress profiling and reduce switch churn (#1218) 2026-03-13 04:44:16 -07:00
WorkspaceUnitTests.swift Clarify workspace insertion regression test 2026-03-23 19:16:39 -07:00