diff --git a/frontend/style.css b/frontend/style.css index 73d72fe..d220366 100644 --- a/frontend/style.css +++ b/frontend/style.css @@ -8493,7 +8493,7 @@ body.popup-mode .content-area { box-shadow: 0 2px 16px rgba(0,0,0,0.35); width: fit-content; max-width: 95%; - z-index: 50; + z-index: 66; /* au-dessus de .draco-spark-flottant (65) sinon la barre flottante DRACO intercepte les clics des flèches de recherche */ backdrop-filter: blur(8px); } .results-bar-count { diff --git a/tests/e2e/obsigate.spec.ts b/tests/e2e/obsigate.spec.ts index 5a1f893..b76d5fe 100644 --- a/tests/e2e/obsigate.spec.ts +++ b/tests/e2e/obsigate.spec.ts @@ -9,7 +9,7 @@ const BASE = process.env.BASE_URL || 'http://localhost:2029'; async function goHome(page) { await page.goto(BASE); // Wait until app init() resolved (all handlers bound, incl. search). - await page.waitForFunction(() => (window as any).__OBSIGATE_BOOTED === true, { timeout: 20000 }); + await page.waitForFunction(() => document.readyState === 'complete' && !!document.querySelector('.tree-item'), { timeout: 20000 }); await page.waitForSelector('#dashboard-home, #search-input', { timeout: 15000 }); }