diff --git a/core/http/endpoints/mcp/localai_assistant_test.go b/core/http/endpoints/mcp/localai_assistant_test.go index 3e539ce7d..36407565b 100644 --- a/core/http/endpoints/mcp/localai_assistant_test.go +++ b/core/http/endpoints/mcp/localai_assistant_test.go @@ -71,6 +71,10 @@ func (stubClient) ListKnownBackends(_ context.Context) ([]schema.KnownBackend, e return []schema.KnownBackend{}, nil } +func (stubClient) InstallLibraryBackend(_ context.Context, _ localaitools.InstallLibraryBackendRequest) (*localaitools.InstallLibraryBackendResult, error) { + return &localaitools.InstallLibraryBackendResult{Status: "installed", Name: "stub-backend"}, nil +} + func (stubClient) InstallBackend(_ context.Context, _ localaitools.InstallBackendRequest) (string, error) { return "stub-backend-job", nil } diff --git a/core/http/react-ui/e2e/settings-page.spec.js b/core/http/react-ui/e2e/settings-page.spec.js index 7780141c7..985f4c119 100644 --- a/core/http/react-ui/e2e/settings-page.spec.js +++ b/core/http/react-ui/e2e/settings-page.spec.js @@ -34,9 +34,9 @@ test.describe('Settings: groups and search', () => { seen.add(key) } } - // 54 settings plus the three branding images. - expect(seen.size).toBe(57) - await expect(page.getByLabel(/Search all 57 settings/)).toBeVisible() + // 55 settings plus the three branding images. + expect(seen.size).toBe(58) + await expect(page.getByLabel(/Search all 58 settings/)).toBeVisible() }) test('a group lists its settings, and the memory group shows memory use now', async ({ page }) => {