Skip to content

The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.

test(create): the LoRA stack cases start with the Expert section closed

purple98a784c432e2
diff --git a/src/components/create/experimental/__tests__/lora-stapel-familie-oberflaeche.test.tsx b/src/components/create/experimental/__tests__/lora-stapel-familie-oberflaeche.test.tsx
index fd5e674c..b4a02986 100644
--- a/src/components/create/experimental/__tests__/lora-stapel-familie-oberflaeche.test.tsx
+++ b/src/components/create/experimental/__tests__/lora-stapel-familie-oberflaeche.test.tsx
@@ -33,6 +33,8 @@ function setup(mode: 'image' | 'video', model: string, loras: string[], picks: s
lists.loras = loras
useCreateStore.setState({
backend: 'local', isGenerating: false, cloudOp: null, utilityOp: null, removebg: false,
+ // The section remembers its state while the app runs; each case starts closed.
+ expertOpen: false,
selectedLoras: picks.map((name) => ({ name, strength: 0.8 })),
imageModel: mode === 'image' ? model : '', imageModelList: mode === 'image' ? [{ name: model, type: classifyModel(model) }] : [],
videoModel: mode === 'video' ? model : '', videoModelList: mode === 'video' ? [{ name: model, type: classifyModel(model) }] : [],