codeburn/mac/Tests/CodeBurnMenubarTests
iamtoruk 58c6cce6db fix(menubar): the selection fallback showed another provider's totals under the selected tab
Switching providers stashed the outgoing payload and rendered it under the new
tab until that tab's own fetch landed. That is not continuity, it is a wrong
number: opening the Hermes tab printed the all-provider total, and the test
suite pinned that behaviour by asserting $12 under Hermes and $12.34 under
Cursor.

The fallback is gone. With no cached data for the selection, `payload` is
empty, `hasCachedData` is false, and the popover renders the loading state it
already has for a cold key, so no dollar figure is shown for a provider whose
data has not arrived. AgentTabStrip and MenuBarContent take the same
hasCachedData gate for the same reason.
2026-09-02 07:55:43 -07:00
..
AgentTabProviderVisibilityTests.swift fix(menubar,app): absent hasUsage hid every provider with no period spend 2026-09-02 07:32:02 -07:00
AntigravityQuotaPresentationTests.swift feat(menubar): live Antigravity quota — local language-server probe, Settings pane, Plan tab 2026-08-24 09:40:04 -07:00
AntigravityQuotaTests.swift feat(menubar): add native Capacity Dock (#1167) 2026-08-29 00:37:30 -07:00
AppStoreRefreshConcurrencyTests.swift fix(menubar): a twice-contradicting scoped payload threw instead of being served 2026-09-02 07:54:55 -07:00
AppStoreRefreshRecoveryTests.swift fix(menubar): the selection fallback showed another provider's totals under the selected tab 2026-09-02 07:55:43 -07:00
AppVersionTests.swift Normalize menubar version display 2026-05-11 11:21:39 -07:00
CapacityDockConnectionActionTests.swift feat(menubar): add native Capacity Dock (#1167) 2026-08-29 00:37:30 -07:00
CapacityDockGlanceTests.swift test(mac): compare the pill fade start with a tolerance 2026-09-02 06:24:28 -07:00
CapacityDockInteractionStateTests.swift feat(menubar): add native Capacity Dock (#1167) 2026-08-29 00:37:30 -07:00
CapacityDockMotionTests.swift feat(menubar): add native Capacity Dock (#1167) 2026-08-29 00:37:30 -07:00
CapacityDockPlacementTests.swift fix(menubar): keep Capacity Dock hover alive after app deactivation (#1170) 2026-08-29 18:42:27 +02:00
CapacityDockPreferencesTests.swift test(menubar): default-scale expectation follows the 60 percent default 2026-08-31 10:57:35 -07:00
CapacityDockPresentationTests.swift feat(dock): glance popover with hero window, sessions and today strip 2026-09-02 06:09:06 -07:00
CapacityDockProviderQuotaServiceTests.swift feat(mac): add native Grok Build provider 2026-09-01 18:46:02 +05:30
CapacityEstimatorTests.swift feat(mac): native Swift menubar app + one-command install 2026-04-17 16:55:56 -07:00
ClaudeRateLimitTests.swift menubar: honor Retry-After on Claude quota 429s, back off failed refreshes (#702) 2026-07-16 14:52:47 -07:00
ClaudeSubscriptionParsingTests.swift fix(menubar): provider-correct plan tab copy; surface model-scoped weekly limits 2026-07-02 19:37:51 +02:00
CLIDevinConfigTests.swift feat: add devin provider (#444) 2026-06-09 21:58:31 +02:00
ClinePassQuotaTests.swift feat(menubar): add native Capacity Dock (#1167) 2026-08-29 00:37:30 -07:00
CLIWatchdogTests.swift fix(menubar): no-output watchdog, lock signal cleanup, dead-pid takeover, serve orphan reaping 2026-08-23 05:35:17 -07:00
CodeBurnCacheDirectoryTests.swift perf(desktop): share cache state and eliminate duplicate cold hydration 2026-08-12 17:16:41 +03:00
CodeburnCLIPathTests.swift fix(macos): launch mise-installed CLI from Spotlight (#1138) 2026-08-25 04:20:00 -07:00
CodexPlanParsingTests.swift feat(codex): show the credit limit on credit-metered ChatGPT workspaces 2026-07-27 08:19:59 -04:00
CodexQuotaSummaryTests.swift fix(codex): align credit/dollar footer formatting across desktop and menubar 2026-08-01 22:32:53 +02:00
CodexResetCreditsTests.swift menubar: surface Codex limit-reset credits (count and next expiry) in the Plan tab (#723) (#724) 2026-07-17 05:58:21 -07:00
CodexTerminalFailureTests.swift test(menubar): lock in Codex terminal-failure classification 2026-05-30 12:32:19 -07:00
ContributionHeatmapTests.swift fix(menubar-tests): add missing localModelSavings/savingsUSD args so swift tests compile (#465) 2026-06-09 21:56:13 +02:00
CopilotQuotaPresentationTests.swift feat(menubar): live GitHub Copilot quota — service, Settings pane, Plan tab 2026-08-24 09:10:09 -07:00
CopilotQuotaTests.swift fix(quota): skip zero-entitlement and unlimited Copilot windows instead of showing 100% used 2026-08-31 03:26:19 -07:00
CredentialKeychainCacheRedTests.swift fix(menubar): migrate Claude/Codex caches to namespaced Keychain 2026-08-19 15:21:28 +05:30
CredentialKeychainContinuityTests.swift feat(menubar): add native Capacity Dock (#1167) 2026-08-29 00:37:30 -07:00
CursorQuotaTests.swift fix(menubar): harden the Cursor quota adapter 2026-08-29 14:17:15 -07:00
DataClientProcessTests.swift fix(menubar): no-output watchdog, lock signal cleanup, dead-pid takeover, serve orphan reaping 2026-08-23 05:35:17 -07:00
GeminiQuotaTests.swift test(menubar): align Gemini retired-tier expectation with the em-dash-free message 2026-08-24 10:08:33 -07:00
GrokBuildSubscriptionServiceTests.swift feat(mac): add native Grok Build provider 2026-09-01 18:46:02 +05:30
KimiQuotaPresentationTests.swift fix(menubar): keep showing Kimi quota when the login is idle, stamp stale data 2026-07-26 06:35:13 -07:00
KimiUsageParsingTests.swift menubar: add Kimi Code subscription quota tracking 2026-07-23 21:31:55 +02:00
LiveKeychainCredentialCacheTests.swift fix(menubar): never let a Keychain read raise UI on the refresh timer 2026-08-19 11:43:22 -07:00
MenubarPayloadCombinedTests.swift feat(menubar): add Local/Combined usage toggle (#566) (#568) 2026-06-28 22:01:01 +02:00
MenubarPeriodSettingsTests.swift fix(clients): display CLI-computed values verbatim, align period windows across app/dash/menubar 2026-07-20 06:26:15 -07:00
MenubarStatusCacheTests.swift feat(menubar): add Local/Combined usage toggle (#566) (#568) 2026-06-28 22:01:01 +02:00
ProviderConnectionCatalogTests.swift feat(mac): add native Grok Build provider 2026-09-01 18:46:02 +05:30
ProviderIconTests.swift feat(menubar): add native Capacity Dock (#1167) 2026-08-29 00:37:30 -07:00
ProviderReconnectPresentationTests.swift fix menubar provider usage contracts 2026-09-02 16:17:28 +05:30
ProviderSettingsEditorStateTests.swift fix(mac): document the main-queue serialization and harden the deadlock test cleanup 2026-09-01 04:58:16 -07:00
ProviderStripPagingStateTests.swift harden provider period and cache contracts 2026-09-02 16:18:05 +05:30
QuotaPaceTests.swift menubar: linear pace on Codex quota windows — deficit/reserve, projection, run-out ETA (#726) (#728) 2026-07-20 05:21:43 -07:00
QuotaSummaryHeadlineTests.swift feat(menubar): add native Capacity Dock (#1167) 2026-08-29 00:37:30 -07:00
RefreshCadenceTests.swift menubar: skip unchanged background refreshes, 120s AC idle cadence, utility QoS for tick spawns (#703) (#704) 2026-07-16 15:11:25 -07:00
ServeConnectionTests.swift prevent provider-scoped false zeros 2026-09-02 19:16:08 +05:30
StatusItemContextMenuPolicyTests.swift test(mac): lock status-item context menu policy (#802) 2026-07-24 19:27:25 +07:00
StatusItemPlacementPolicyTests.swift fix(menubar): recover parked status item (#1161) 2026-08-28 13:20:48 -07:00
TerminalLauncherTests.swift feat(menubar): add preferred terminal setting with Terminal.app fallback 2026-08-04 00:19:00 +03:00
UpdateCheckerTests.swift fix(menubar): clarify update failure status 2026-07-26 15:20:13 +08:00
UsageDataChangeGuardTests.swift menubar: skip unchanged background refreshes, 120s AC idle cadence, utility QoS for tick spawns (#703) (#704) 2026-07-16 15:11:25 -07:00
ZaiQuotaTests.swift fix(mac): map Z.ai body auth errors 2026-08-31 13:51:46 -03:00