The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
test: remove obsolete tests for assistant text mode, hide-agent-thinking, and chat mascot\n\nThese tests covered features that have been removed from the AppearancePanel, so the corresponding test cases are no longer needed.\n\nAuto-committed-on: macbook\n
Steven Enamakel860c6f1ae962
diff --git a/app/src/components/settings/panels/AppearancePanel.test.tsx b/app/src/components/settings/panels/AppearancePanel.test.tsxindex 7691622e40..acb8878d59 100644--- a/app/src/components/settings/panels/AppearancePanel.test.tsx+++ b/app/src/components/settings/panels/AppearancePanel.test.tsx@@ -86,70 +86,4 @@ describe('<AppearancePanel /> font size', () => {expect(store.getState().theme.customFontSizePx).toBe(28);});- it('toggles assistant text mode for chat output', () => {- const { getByRole, store } = renderPanel('medium');- const toggle = getByRole('switch', { name: /settings\.appearance\.assistantTextMode/ });-- expect(toggle).toHaveAttribute('aria-checked', 'false');- fireEvent.click(toggle);-- expect(store.getState().theme.agentMessageViewMode).toBe('text');- });-- it('toggles hide-agent-thinking on and off', () => {- const { getByRole, store } = renderPanel('medium');- const toggle = getByRole('switch', { name: /settings\.appearance\.hideAgentInsights/ });-- expect(toggle).toHaveAttribute('aria-checked', 'false');- fireEvent.click(toggle);- expect(store.getState().theme.hideAgentInsights).toBe(true);-- fireEvent.click(toggle);- expect(store.getState().theme.hideAgentInsights).toBe(false);- });-});--describe('<AppearancePanel /> chat mascot', () => {- const renderWithMascot = (chatMascotDismissed: boolean) =>- renderWithProviders(<AppearancePanel />, {- preloadedState: {- theme: {- mode: 'system',- tabBarLabels: 'hover',- fontSize: 'medium',- customFontSizePx: null,- agentMessageViewMode: 'bubbles',- },- mascot: { chatMascotDismissed },- },- });-- it('reads on when the mascot is showing', () => {- // The switch is framed as "show", the stored flag is "dismissed" — so the- // inversion is worth pinning in both directions.- const { getByTestId } = renderWithMascot(false);- expect(getByTestId('switch-show-chat-mascot')).toHaveAttribute('aria-checked', 'true');- });-- it('reads off once the mascot has been dismissed from the composer', () => {- const { getByTestId } = renderWithMascot(true);- expect(getByTestId('switch-show-chat-mascot')).toHaveAttribute('aria-checked', 'false');- });-- it('brings a dismissed mascot back', () => {- // This is the only route back after dismissing it, so it has to work.- const { getByTestId, store } = renderWithMascot(true);-- fireEvent.click(getByTestId('switch-show-chat-mascot'));-- expect(store.getState().mascot.chatMascotDismissed).toBe(false);- });-- it('hides it from settings too', () => {- const { getByTestId, store } = renderWithMascot(false);-- fireEvent.click(getByTestId('switch-show-chat-mascot'));-- expect(store.getState().mascot.chatMascotDismissed).toBe(true);- });});