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
fix(e2e): drei Browsertests, die der 3.0.0-Schnitt haengen gelassen hat
purple82755e62c976
diff --git a/e2e/cloud-sales-page.spec.ts b/e2e/cloud-sales-page.spec.tsindex bf7d3082..7c6aef55 100644--- a/e2e/cloud-sales-page.spec.ts+++ b/e2e/cloud-sales-page.spec.ts@@ -13,7 +13,10 @@ test('static cloud page renders locally and preserves source on the purchase linawait page.goto('http://lu-docs.test/cloud/')await expect(page.getByRole('heading', { level: 1 })).toHaveText('Use hosted models without buying a GPU')await expect(page.getByText('Hosted requests leave your machine', { exact: false })).toBeVisible()- const cta = page.getByRole('link', { name: 'Review credit packs', exact: true })+ // 4d128954 hat den Knopf umbenannt und einen zweiten dazugestellt, der auf+ // die neue Preisseite zeigt. Gemeint ist hier weiter der Kaufknopf, also+ // der mit dem Herkunftszeichen an der Kasse.+ const cta = page.getByRole('link', { name: 'Check packs and estimated usage', exact: true })await expect(cta).toHaveAttribute('href', 'https://lu-labs.ai/pricing?tab=credits&src=luc')await cta.focus()await expect(cta).toBeFocused()diff --git a/e2e/flash-chat-billing.spec.ts b/e2e/flash-chat-billing.spec.tsindex 8150ab6e..5a007cfe 100644--- a/e2e/flash-chat-billing.spec.ts+++ b/e2e/flash-chat-billing.spec.ts@@ -33,7 +33,10 @@ test('flash metadata and paid fallback reach the actual desktop composer', asyncawait page.getByRole('button', { name: /New Chat/i }).first().click()await page.getByRole('button', { name: 'Select chat model', exact: true }).click()const row = page.getByRole('button', { name: /Llama 3.1 8B Turbo/ })- await expect(row.getByText('Flash', { exact: true })).toBeVisible()+ // 7fa4b26b gab beiden Marken denselben Wortlaut in Auswahl und+ // Eingabezeile: aus "Flash" wurde "No credits". Die Zeile selbst ist+ // unveraendert, nur ihr Aufdruck.+ await expect(row.getByText('No credits', { exact: true })).toBeVisible()await row.click()await expect(page.getByTestId('flash-chat-notice')).toContainText('50,000 input and output tokens')const composer = page.locator('textarea').first()diff --git a/e2e/ui-language.spec.ts b/e2e/ui-language.spec.tsindex 56d5f411..88489082 100644--- a/e2e/ui-language.spec.ts+++ b/e2e/ui-language.spec.ts@@ -78,8 +78,16 @@ const TABS = ['General', 'AI Backends', 'Agent', 'Voice & Remote']* so an already-open section is never clicked shut — a blind "click them all"* pass closes as many panels as it opens and the walk misses half the screen.*/+const WALK_ROUNDS = 40+async function openEverySection(page: Page) {- for (let round = 0; round < 12; round++) {+ // Der Deckel ist die Notbremse gegen einen Lauf, der sich selbst Arbeit+ // macht, und keine Obergrenze fuer die Zahl der Abschnitte. Er stand auf 12+ // und wurde nur VOR einem Klick geprueft: bei genau 12 Abschnitten machte+ // die letzte Runde den letzten auf, und die Schleife lief aus, ohne noch+ // einmal nachzuzaehlen. Der General-Tab traegt seit 3.0.0 genau 12. Jetzt+ // zaehlt der Lauf nach der letzten Runde nach, und der Deckel hat Luft.+ for (let round = 0; round < WALK_ROUNDS; round++) {// Visible, and inside the settings body: the header carries a hidden// menu button with the same attribute, and waiting for it to become// clickable is a thirty-second way to learn nothing.@@ -89,7 +97,9 @@ async function openEverySection(page: Page) {await collapsed.first().click()await page.waitForTimeout(220)}- throw new Error('sections kept appearing after 12 rounds — the walk is not converging')+ const left = await page.locator('main button[aria-expanded="false"]:visible').count()+ if (left === 0) return+ throw new Error(`${left} sections still collapsed after ${WALK_ROUNDS} rounds, the walk is not converging`)}test('no German reaches the screen in any settings section', async ({ page }) => {