diff --git a/webview-ui/src/App.svelte b/webview-ui/src/App.svelte index c649320..62691ba 100644 --- a/webview-ui/src/App.svelte +++ b/webview-ui/src/App.svelte @@ -460,7 +460,7 @@ import AmendModal from './components/modals/AmendModal.svelte';
{#if uiStore.viewMode === 'graph'} - {#if !bisectMessage && !conflict && !rebasePaused} + {#if !bisectMessage} { }); }); + it('conflict keeps the search bar visible (issue #69)', async () => { + const { container } = render(App); + await waitFor(() => expect(container.querySelector('.search-input')).not.toBeNull()); + postMsg('conflictData', { + operation: 'rebase', + files: [{ path: 'a.ts', resolved: false }], + }); + await waitFor(() => { + expect(container.querySelector('.conflict-banner')).not.toBeNull(); + expect(container.querySelector('.search-input')).not.toBeNull(); + }); + }); + it('operationPaused with rebase shows the rebase pause banner', async () => { const { container } = render(App); postMsg('operationPaused', { operation: 'rebase' });