diff --git a/web/src/components/namespaces/__tests__/CreateNamespaceModal.test.tsx b/web/src/components/namespaces/__tests__/CreateNamespaceModal.test.tsx index 63e6cc4cc1..42a6f242bb 100644 --- a/web/src/components/namespaces/__tests__/CreateNamespaceModal.test.tsx +++ b/web/src/components/namespaces/__tests__/CreateNamespaceModal.test.tsx @@ -63,7 +63,7 @@ describe('CreateNamespaceModal', () => { expect(screen.getAllByRole('combobox').length).toBeGreaterThan(0) }) - it('initializes with cluster placeholder selected', () => { + it('auto-selects first cluster on initialization', () => { render( { const comboboxes = screen.getAllByRole('combobox') expect(comboboxes.length).toBeGreaterThan(0) - expect((comboboxes[0] as HTMLSelectElement).value).toBe('') + expect((comboboxes[0] as HTMLSelectElement).value).toBe('cluster-1') }) it('allows cluster selection change', async () => {