codeburn/mac/Tests/CodeBurnMenubarTests
Resham Joshi 6ddd8b6735
fix(quota): say when Cline's saved login expired and how to renew it (#1736)
* fix(clinepass): say when the Cline login expired and how to renew it

An expired saved Cline login only said "Run cline to refresh it". It now
reads "Cline login expired 3h ago" (age from the saved expiry, when known)
and asks to send a message in Cline or run `cline auth cline`, then press
Retry. Still a retryable state, so the last quota is kept. CLI and menubar.

* fix(menubar): title an expired Cline login instead of "Retrying"

A provider failure can now carry a short status title. The expired Cline
login sets "Cline login expired", which the settings pane and the dock
caption show in place of the generic retrying text. It stays a retryable
state and keeps the last quota; the title clears with the error.

* fix(clinepass): match the expired-login hint to the visible control

"Then press Retry" only fits where a Retry button shows: the settings pane
with no last quota. Everywhere else, including the CLI, the hint now ends
with "CodeBurn picks up the new login on its next refresh."
2026-10-10 21:40:52 +02:00
..
AgentTabProviderVisibilityTests.swift
AntigravityQuotaPresentationTests.swift
AntigravityQuotaTests.swift feat: Google AI plan presets and the Antigravity tier label (#1683) 2026-10-07 23:34:49 +02:00
AppStoreCopilotDisconnectTests.swift test(mac): fixed names for scratch settings suites (#1576) 2026-10-02 16:18:38 +02:00
AppStoreRefreshConcurrencyTests.swift
AppStoreRefreshRecoveryTests.swift
AppVersionTests.swift
CapacityDockConnectionActionTests.swift feat(quota): Command Code quota and ClinePass from the Cline sign-in (#1682) 2026-10-07 23:34:31 +02:00
CapacityDockGlanceTests.swift fix(menubar): record Codex early resets at 0% and stop reconnect text clipping at 0.9 dock scale (#1490) 2026-09-18 15:09:37 -07:00
CapacityDockGlanceWindowTests.swift test(mac): fixed names for scratch settings suites (#1576) 2026-10-02 16:18:38 +02:00
CapacityDockInteractionStateTests.swift test(mac): fixed names for scratch settings suites (#1576) 2026-10-02 16:18:38 +02:00
CapacityDockMotionTests.swift
CapacityDockPlacementTests.swift
CapacityDockPointerUpdateCoalescerTests.swift
CapacityDockPreferencesTests.swift fix(menubar): check a provider when its settings open, keep the dock order (#1735) 2026-10-10 21:40:47 +02:00
CapacityDockPresentationTests.swift feat(quota): Command Code quota and ClinePass from the Cline sign-in (#1682) 2026-10-07 23:34:31 +02:00
CapacityDockProviderQuotaServiceTests.swift fix(quota): say when Cline's saved login expired and how to renew it (#1736) 2026-10-10 21:40:52 +02:00
CapacityDockTodayTests.swift menubar: size and pad the Capacity Dock glance popover (#1470) 2026-09-17 16:57:39 +02:00
CapacityEstimatorTests.swift
ClaudeRateLimitTests.swift
ClaudeSubscriptionParsingTests.swift Claude plan label: read subscriptionType so a Team seat is not shown as Max 5x (#1492) 2026-09-19 11:25:17 -07:00
ClinePassQuotaTests.swift fix(quota): say when Cline's saved login expired and how to renew it (#1736) 2026-10-10 21:40:52 +02:00
CLIWatchdogTests.swift 0.9.25: correctness, energy, menu bar and installer fixes (#1511) 2026-09-21 00:16:21 +02:00
CodeBurnCacheDirectoryTests.swift
CodeburnCLIPathTests.swift
CodexBankedResetTests.swift test(mac): fixed names for scratch settings suites (#1576) 2026-10-02 16:18:38 +02:00
CodexPlanParsingTests.swift
CodexQuotaSummaryTests.swift
CodexResetCreditsTests.swift feat(codex): read the per-credit fields the reset-credits payload already carries 2026-09-12 14:37:24 -07:00
CodexTerminalFailureTests.swift
CommandCodeQuotaTests.swift fix(commandcode): show the monthly window (#1734) 2026-10-10 21:40:43 +02:00
ContributionHeatmapTests.swift
CopilotHostEndpointTests.swift
CopilotQuotaPresentationTests.swift test(mac): fixed names for scratch settings suites (#1576) 2026-10-02 16:18:38 +02:00
CopilotQuotaTests.swift
CredentialKeychainCacheRedTests.swift test(mac): fixed names for scratch settings suites (#1576) 2026-10-02 16:18:38 +02:00
CredentialKeychainContinuityTests.swift test(mac): fixed names for scratch settings suites (#1576) 2026-10-02 16:18:38 +02:00
CursorQuotaTests.swift fix(cursor): connect Enterprise team seats on the team on-demand meter (#1553) 2026-09-25 01:33:41 +02:00
CursorSyncStatusTests.swift feat(cursor): show the Cursor sync status and an on/off switch in the apps (#1638) 2026-10-05 17:11:41 +02:00
DataClientProcessTests.swift
DefaultsKeyObserverTests.swift test(mac): fixed names for scratch settings suites (#1576) 2026-10-02 16:18:38 +02:00
DevinQuotaTests.swift feat(devin): plan and quota from the Devin CLI cache (#1606) 2026-10-02 16:43:15 +02:00
EarlyQuotaResetTests.swift test(mac): fixed names for scratch settings suites (#1576) 2026-10-02 16:18:38 +02:00
GeminiQuotaTests.swift
GrokBotSubscriptionServiceTests.swift Grok Bot: sessions, estimated spend and the weekly allowance on all three surfaces (#1462) 2026-09-16 21:17:48 +02:00
GrokBuildSubscriptionServiceTests.swift
KimiQuotaPresentationTests.swift
KimiUsageParsingTests.swift
LanguagePreferenceTests.swift test(mac): fixed names for scratch settings suites (#1576) 2026-10-02 16:18:38 +02:00
LiveKeychainCredentialCacheTests.swift 0.9.25: correctness, energy, menu bar and installer fixes (#1511) 2026-09-21 00:16:21 +02:00
LocalizationCatalogTests.swift desktop and menu bar: six-language localization (#1493) 2026-09-19 03:25:46 -07:00
LocalizationCoverageTests.swift fix(menubar): pin multi-argument catalog keys to positional specifiers 2026-09-15 01:33:28 +03:00
LocalizationSourceScanner.swift fix(menubar): pin multi-argument catalog keys to positional specifiers 2026-09-15 01:33:28 +03:00
LocalizationSwitchTests.swift 0.9.25 round 2: fixes found testing the built apps (#1517) 2026-09-21 13:53:45 +02:00
MenubarPayloadCombinedTests.swift
MenubarPeriodSettingsTests.swift test(mac): fixed names for scratch settings suites (#1576) 2026-10-02 16:18:38 +02:00
MenubarRemoteCommandTests.swift 0.9.25 round 2: fixes found testing the built apps (#1517) 2026-09-21 13:53:45 +02:00
MenubarSecondRowTests.swift test(mac): fixed names for scratch settings suites (#1576) 2026-10-02 16:18:38 +02:00
MenubarStatusCacheTests.swift
ModelEntryTokenCountsTests.swift feat: mark estimated dollars the same way in every view (#1657) 2026-10-06 22:27:13 +02:00
ModelsSectionTokenLineTests.swift fix: uncap the Overview model table, billions token rung, unpriced calls dimming (#1443) 2026-09-17 13:53:10 +02:00
ModelsSectionUnpricedLineTests.swift fix: name the usage that prices at $0 instead of hiding it (#1491) 2026-09-18 16:48:26 -07:00
ProviderConnectionCatalogTests.swift feat(quota): Command Code quota and ClinePass from the Cline sign-in (#1682) 2026-10-07 23:34:31 +02:00
ProviderIconTests.swift
ProviderReconnectPresentationTests.swift
ProviderSettingsEditorStateTests.swift test(mac): fixed names for scratch settings suites (#1576) 2026-10-02 16:18:38 +02:00
ProviderStripPagingStateTests.swift
QuotaCrossingTests.swift test(mac): fixed names for scratch settings suites (#1576) 2026-10-02 16:18:38 +02:00
QuotaFreshnessTests.swift
QuotaPaceTests.swift
QuotaRefreshDecisionTests.swift Force a quota refresh when a window rolls over 2026-09-13 13:49:46 -07:00
QuotaSummaryHeadlineTests.swift menubar: one set of quota colour bands, 60/70/95, for the flame, popover and dock 2026-09-13 12:50:25 -07:00
QuotaWarningRowTests.swift test(menubar): spell the 2d 3h 5m offset as one literal so Swift 6.2 can type-check it 2026-09-13 06:30:25 -07:00
RefreshCadenceTests.swift
ServeConnectionTests.swift 0.9.25: correctness, energy, menu bar and installer fixes (#1511) 2026-09-21 00:16:21 +02:00
SessionCountLabelTests.swift
SessionFocusTests.swift fix: stop a stuck cursor, pick the right Claude session file, skip the Kimi blob walk 2026-09-14 03:42:39 -07:00
SettingsWindowPlacementTests.swift 0.9.25 round 2: fixes found testing the built apps (#1517) 2026-09-21 13:53:45 +02:00
SingleInstanceGuardTests.swift 0.9.25: correctness, energy, menu bar and installer fixes (#1511) 2026-09-21 00:16:21 +02:00
StatusItemContextMenuPolicyTests.swift
StatusItemPlacementPolicyTests.swift menubar: keep retrying parked status item on a persistent menu bar (#1461) 2026-09-16 18:46:13 +02:00
TelemetryTests.swift test(mac): fixed names for scratch settings suites (#1576) 2026-10-02 16:18:38 +02:00
TerminalLauncherTests.swift test(mac): fixed names for scratch settings suites (#1576) 2026-10-02 16:18:38 +02:00
TestDefaults.swift test(mac): fixed names for scratch settings suites (#1576) 2026-10-02 16:18:38 +02:00
TrendMetricTests.swift feat(menubar): Cost/Tokens toggle on the Trend chart, Cost by default (#1603) 2026-10-02 11:18:57 +02:00
UpdateCheckerTests.swift feat: telemetry for CLI error causes, provider read failures and update results (#1702) 2026-10-09 12:47:49 +02:00
UpdateNotificationTests.swift test(mac): fixed names for scratch settings suites (#1576) 2026-10-02 16:18:38 +02:00
UsageDataChangeGuardTests.swift feat: Amp support - read the local thread mirror (#1572) (#1578) 2026-10-02 10:36:05 +02:00
UserDefaultsSuiteLeakGuardTests.swift test(mac): fixed names for scratch settings suites (#1576) 2026-10-02 16:18:38 +02:00
ZaiQuotaTests.swift feat(quota): add ZCode (z.ai coding plan) live quota provider (#1347) 2026-09-18 18:11:08 -07:00
ZcodeQuotaTests.swift feat(quota): add ZCode (z.ai coding plan) live quota provider (#1347) 2026-09-18 18:11:08 -07:00