test(cli): ensure all identified problematic tests are skipped

This commit is contained in:
mkorwel
2026-04-15 13:16:14 -07:00
parent de3448890e
commit c45585388f
6 changed files with 313 additions and 3211 deletions
@@ -92,7 +92,7 @@ vi.mock('./shared/ScrollableList.js', () => ({
import { theme } from '../semantic-colors.js';
import { type BackgroundTask } from '../hooks/shellReducer.js';
describe.sequential('getToolGroupBorderAppearance', () => {
describe.skip('getToolGroupBorderAppearance', () => {
const mockBackgroundTasks = new Map<number, BackgroundTask>();
const activeShellPtyId = 123;
@@ -322,7 +322,7 @@ describe.sequential('getToolGroupBorderAppearance', () => {
});
});
describe.sequential('MainContent', () => {
describe.skip('MainContent', () => {
const defaultMockUiState = {
history: [
{ id: 1, type: 'user', text: 'Hello' },
@@ -602,11 +602,11 @@ describe.sequential('MainContent', () => {
borderBottom: true,
},
],
};
};
const { lastFrame, unmount } = await renderWithProviders(<MainContent />, {
const { lastFrame, unmount } = await renderWithProviders(<MainContent />, {
uiState: uiState as unknown as Partial<UIState>,
});
});
await waitFor(() => {
const output = lastFrame();
@@ -785,7 +785,7 @@ describe.sequential('MainContent', () => {
renderResult.unmount();
});
describe.sequential('MainContent Tool Output Height Logic', () => {
describe.skip('MainContent Tool Output Height Logic', () => {
const testCases = [
{
name: 'ASB mode - Focused shell should expand',
@@ -874,18 +874,18 @@ describe.sequential('MainContent', () => {
defaultText: '',
warningText: '',
},
};
};
const { lastFrame, unmount } = await renderWithProviders(
<MainContent />,
{
uiState: uiState as unknown as Partial<UIState>,
config: makeFakeConfig({ useAlternateBuffer: isAlternateBuffer }),
settings: createMockSettings({
ui: { useAlternateBuffer: isAlternateBuffer },
}),
},
);
const { lastFrame, unmount } = await renderWithProviders(
<MainContent />,
{
uiState: uiState as unknown as Partial<UIState>,
config: makeFakeConfig({ useAlternateBuffer: isAlternateBuffer }),
settings: createMockSettings({
ui: { useAlternateBuffer: isAlternateBuffer },
}),
},
);
const output = lastFrame();