Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
test(ImageGenSettingsForm): pin pickers to their grouped sections
[._.]/ Adam Eivy0f8a8c8e313b
diff --git a/client/src/components/imageGen/ImageGenSettingsForm.test.jsx b/client/src/components/imageGen/ImageGenSettingsForm.test.jsxindex fcc4231b97..2e9c536c9d 100644--- a/client/src/components/imageGen/ImageGenSettingsForm.test.jsx+++ b/client/src/components/imageGen/ImageGenSettingsForm.test.jsx@@ -59,4 +59,16 @@ describe('ImageGenSettingsForm layout', () => {expect(screen.queryByRole('heading', { name: 'Prompts & Style' })).toBeNull();expect(screen.queryByLabelText('Extra style (optional)')).toBeNull();});++ it('grouped mode files the LoRA picker under Model & LoRA and the style preset under Prompts & Style', () => {+ // Pickers only render in local mode; assert each lands in its named section+ // (not just "somewhere on the page") so the grouping is actually pinned.+ renderForm({ availableBackends: BACKENDS, grouped: true, showLoras: true, showStylePreset: true });+ const modelSection = screen.getByRole('heading', { name: 'Model & LoRA' }).closest('section');+ const promptSection = screen.getByRole('heading', { name: 'Prompts & Style' }).closest('section');+ expect(modelSection).toContainElement(screen.getByTestId('lora-picker'));+ expect(modelSection).toContainElement(screen.getByTestId('image-gen-controls'));+ expect(promptSection).toContainElement(screen.getByTestId('style-preset-picker'));+ expect(promptSection).toContainElement(screen.getByLabelText('Negative prompt (optional)'));+ });});