Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(test): update test to match new layout structure

Steven Enamakel3a663e3654d9
diff --git a/app/src/components/layout/shell/RootShellLayout.test.tsx b/app/src/components/layout/shell/RootShellLayout.test.tsx
index 4befde4c99..f6c8a825ab 100644
--- a/app/src/components/layout/shell/RootShellLayout.test.tsx
+++ b/app/src/components/layout/shell/RootShellLayout.test.tsx
@@ -72,6 +72,11 @@ describe('RootShellLayout', () => {
expect(divider.getAttribute('aria-orientation')).toBe('vertical');
expect(divider.tabIndex).toBe(0);
});
+
+ it('collapses to an icon-width column rather than unmounting the column', () => {
+ renderShell();
+ expect(screen.getByTestId('root-shell-sidebar')).toHaveAttribute('data-collapsible', 'icon');
+ });
});
// The sidebar primitive is driven as a CONTROLLED view over the `layout` slice.