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.
TypeScript agentai-chatai-studioall-in-onecoding-agentdesktop-appfluximage-generationlinuxllmlocal-ailocal-llmopen-sourceprivacyself-hostedstable-diffusionuncensoreduncensored-aivideo-generationwindows
test(e2e): Save closes the Rename and note dialog, in Chromium and WebKit (W33)
purple30e0e85eee3d
diff --git a/e2e/w33-rename-dialog-closes.spec.ts b/e2e/w33-rename-dialog-closes.spec.tsnew file mode 100644index 00000000..09f4f76f--- /dev/null+++ b/e2e/w33-rename-dialog-closes.spec.ts@@ -0,0 +1,43 @@+import { test, expect } from '@playwright/test'+import { bootWithFakeComfy } from './support/fake-comfy'++/**+ * W33 (15.11.2026): in the hidden test window of the Mac the "Rename and+ * note" dialog was still in the page after Save, when the next dialog opened.+ * The suspicion was its closing animation, which a hidden window never plays+ * to the end. Here the window is a real one with animations running, in+ * Chromium and in WebKit (the engine of the Mac app): after Save the dialog+ * is gone and the row shows the new name.+ */++const FILE = 'w33_detail_tweaker_xl.safetensors'++test('Save closes the Rename and note dialog of a LoRA, from the right click and from the pencil', async ({ page }) => {+ await page.setViewportSize({ width: 1280, height: 900 })+ await bootWithFakeComfy(page, { checkpoints: ['juggernautXL.safetensors'], loras: [FILE], imageModel: 'juggernautXL.safetensors' })+ await page.goto('/')+ await page.getByRole('button', { name: 'Models', exact: true }).click()+ await page.getByRole('button', { name: /^LoRAs/ }).click()+ await page.getByRole('button', { name: /^Installed/ }).click()++ const dialog = page.getByRole('dialog', { name: 'Rename and note' })++ // Right click on the row, Rename…, Save.+ await page.getByText('w33_detail_tweaker_xl', { exact: false }).first().click({ button: 'right' })+ await page.getByRole('menuitem', { name: /^Rename/ }).click()+ await expect(dialog).toBeVisible()+ await page.getByTestId('lora-edit-name').fill('Detail Tweaker')+ await page.getByTestId('lora-edit-save').click()+ await expect(dialog).toHaveCount(0, { timeout: 2000 })+ await expect(page.getByText('Detail Tweaker', { exact: true }).first()).toBeVisible()+ if (process.env.LU_SHOTS) await page.screenshot({ path: `${process.env.LU_SHOTS}/w33-after-save-${test.info().project.name}.png` })++ // The pencil opens it again with the stored name; Save closes it again.+ await page.getByRole('button', { name: `Rename ${FILE}` }).first().click()+ await expect(dialog).toBeVisible()+ await expect(page.getByTestId('lora-edit-name')).toHaveValue('Detail Tweaker')+ await page.getByTestId('lora-edit-name').fill('Detail Tweaker 2')+ await page.getByTestId('lora-edit-save').click()+ await expect(dialog).toHaveCount(0, { timeout: 2000 })+ await expect(page.getByText('Detail Tweaker 2', { exact: true }).first()).toBeVisible()+})diff --git a/playwright.config.ts b/playwright.config.tsindex 4701d752..14cfe7f0 100644--- a/playwright.config.ts+++ b/playwright.config.ts@@ -84,7 +84,7 @@ export default defineConfig({// run on it, where the engines really differ: the voice session (audio// path) and the chat look (3.1.0: a pinch arrives as gesture events, not// as ctrl + wheel; CSS zoom). `npx playwright test --project=webkit`.- { name: 'webkit', testMatch: /(voice-(session|cold-start|thinking)-live|chat-look)\.spec\.ts/, use: { ...devices['Desktop Safari'] } },+ { name: 'webkit', testMatch: /(voice-(session|cold-start|thinking)-live|chat-look|w33-rename-dialog-closes)\.spec\.ts/, use: { ...devices['Desktop Safari'] } },],webServer: [{