From 9ff00c7eca4acaf9fdebe869ff46ad03b0b5bd68 Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Tue, 20 Oct 2026 16:52:15 +0000 Subject: [PATCH] test(ui): count the first-run steps, not every list item The recommended models are a list inside the second step, so counting all list items read 3 only while the models were still loading. Count the step elements, which does not depend on the load order. Assisted-by: Claude Code:claude-sonnet-5-5 playwright Signed-off-by: Ettore Di Giacinto --- core/http/react-ui/e2e/home-console.spec.js | 1 + 1 file changed, 1 insertion(+) diff --git a/core/http/react-ui/e2e/home-console.spec.js b/core/http/react-ui/e2e/home-console.spec.js index 0d8c076ae..756a25bd9 100644 --- a/core/http/react-ui/e2e/home-console.spec.js +++ b/core/http/react-ui/e2e/home-console.spec.js @@ -507,6 +507,7 @@ test.describe('Home first run', () => { await mockFirstRun(page) await ready(page) const guide = page.getByTestId('home-first-run') + // The steps only: the recommended models are a list inside the second step. await expect(guide.locator('.home-step')).toHaveCount(3) await expect(guide.locator('.home-step[data-state="now"]')).toContainText('Browse the Model Gallery') await expect(guide.locator('.home-step').nth(1).locator('.home-starters')).toContainText('tiny-chat')