Unify search-first assistant drawer

This commit is contained in:
master
2026-03-07 19:29:56 +02:00
parent 3d036a144e
commit 536d3fe6bd
17 changed files with 510 additions and 460 deletions

View File

@@ -163,7 +163,7 @@ test.describe('Assistant entry and search reliability', () => {
await page.keyboard.press('Escape');
await expect(assistantDrawer).toBeHidden();
await expect(page.locator('.assistant-fab')).toBeFocused();
await expect(searchInput).toBeFocused();
});
});

View File

@@ -108,9 +108,11 @@ const mockChecks = {
test.describe('Unified Search - Live contextual suggestions', () => {
test.describe.configure({ mode: 'serial' });
test.setTimeout(120_000);
test.skip(!liveSearchBaseUrl, 'Set LIVE_ADVISORYAI_SEARCH_BASE_URL to a running local AdvisoryAI service.');
test.beforeAll(async () => {
test.beforeAll(async ({}, testInfo) => {
testInfo.setTimeout(120_000);
await ensureLiveServiceHealthy(liveSearchBaseUrl);
await rebuildLiveIndexes(liveSearchBaseUrl);
await assertLiveSuggestionCoverage(liveSearchBaseUrl, liveSuggestionSeedQueries);