From baac31998a4296143f6f8048e8052a591a587645 Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Mon, 25 May 2026 09:14:48 +0300 Subject: [PATCH] cont : another try --- tools/ui/tests/e2e/demo.test.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/ui/tests/e2e/demo.test.ts b/tools/ui/tests/e2e/demo.test.ts index 6659d7af07..d21dc3837b 100644 --- a/tools/ui/tests/e2e/demo.test.ts +++ b/tools/ui/tests/e2e/demo.test.ts @@ -1,6 +1,7 @@ import { expect, test } from '@playwright/test'; -test('home page has expected title', async ({ page }) => { +test('home page loads', async ({ page }) => { await page.goto('/'); - await expect(page).toHaveTitle(/llama-ui/); + // Wait for the SPA to hydrate — the chat form is rendered by the hydrated app + await expect(page.locator('form').first()).toBeVisible(); });