feat: redesign Canvas plan and reference flow
This commit is contained in:
@@ -121,6 +121,17 @@ describe('TitleBar platform behavior', () => {
|
||||
expect(screen.queryByTestId('titlebar-project-context')).not.toBeInTheDocument();
|
||||
});
|
||||
|
||||
it('keeps only the product chrome when a workspace owns its navigation', () => {
|
||||
window.electron.platform = 'darwin';
|
||||
|
||||
render(<TitleBar integrated overlay showSidebarControls={false} />);
|
||||
|
||||
expect(screen.queryByTestId('titlebar-sidebar-surface')).not.toBeInTheDocument();
|
||||
expect(screen.queryByTestId('titlebar-sidebar-toggle')).not.toBeInTheDocument();
|
||||
expect(screen.getByTestId('titlebar-main-surface')).toBeInTheDocument();
|
||||
expect(screen.getByTestId('titlebar-logo')).toBeInTheDocument();
|
||||
});
|
||||
|
||||
it('keeps the painting page title after the macOS traffic-light safe area', () => {
|
||||
window.electron.platform = 'darwin';
|
||||
useSettingsStore.setState({ sidebarCollapsed: true });
|
||||
|
||||
Reference in New Issue
Block a user