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 picker spec follows the catalogue names of local models

purple8b660912a70d
diff --git a/e2e/model-fits-the-card.spec.ts b/e2e/model-fits-the-card.spec.ts
index f49d58b7..d0f1cd95 100644
--- a/e2e/model-fits-the-card.spec.ts
+++ b/e2e/model-fits-the-card.spec.ts
@@ -106,15 +106,15 @@ test('Create: the tight model says so in the picker, and a load past a minute na
await page.getByRole('radio', { name: 'Image', exact: true }).click()
const picker = page.locator('button[aria-haspopup="listbox"]').first()
- await expect(picker).toContainText('z image turbo bf16', { timeout: 20_000 })
+ await expect(picker).toContainText('Z-Image Turbo BF16', { timeout: 20_000 })
// Closed: no word about the card anywhere, least of all at the prompt field.
await expect(page.getByText(/your 12 GB card/)).toHaveCount(0)
await picker.click()
const list = page.locator('.lu-elevated')
await expect(list).toBeVisible()
- await expect(list.getByRole('option', { name: /z image turbo bf16/ })).toContainText('Tight on your 12 GB card')
- const sdxlRow = list.getByRole('option', { name: /Juggernaut-XL v9/ })
+ await expect(list.getByRole('option', { name: /Z-Image Turbo BF16/ })).toContainText('Tight on your 12 GB card')
+ const sdxlRow = list.getByRole('option', { name: /Juggernaut XL V9 Photo v2/ })
await expect(sdxlRow).toBeVisible()
await expect(sdxlRow).not.toContainText(/card/)
await expect(list.getByText(/your 12 GB card/)).toHaveCount(1)