~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.
Python academiaanthropicarxivbravedeep-researchencryptionhome-automationhomeserverlocallocal-deep-researchlocal-llmmistralollamaopenaipubmedresearchresearch-toolretrieval-augmented-generationsearxngself-hosted
fix: Resolve test failures by fixing mobile navigation template issue
LearningCircuit495c009a781d
diff --git a/.github/workflows/mobile-ui-tests.yml b/.github/workflows/mobile-ui-tests.ymlindex 3457a5a306..a3efa17bfa 100644--- a/.github/workflows/mobile-ui-tests.yml+++ b/.github/workflows/mobile-ui-tests.yml@@ -104,7 +104,7 @@ jobs:with:files: tests/ui_tests/test-results.xmlcheck_name: Mobile UI Test Results- comment_mode: update last+ comment_mode: updates- name: Stop serverif: always()diff --git a/src/local_deep_research/web/templates/base.html b/src/local_deep_research/web/templates/base.htmlindex 02ba1c7343..0cfaec26a1 100644--- a/src/local_deep_research/web/templates/base.html+++ b/src/local_deep_research/web/templates/base.html@@ -49,7 +49,8 @@</div><!-- Mobile Tab Bar -->- {% include 'components/mobile_nav.html' %}+ {# Mobile navigation now handled dynamically by mobile-navigation.js #}+ {# {% include 'components/mobile_nav.html' %} #}<!-- Common Templates -->{% block templates %}{% endblock %}diff --git a/tests/ui_tests/mobile/test_mobile_navigation_ci.js b/tests/ui_tests/mobile/test_mobile_navigation_ci.jsindex 5e2e20e483..b9ab66f247 100644--- a/tests/ui_tests/mobile/test_mobile_navigation_ci.js+++ b/tests/ui_tests/mobile/test_mobile_navigation_ci.js@@ -115,9 +115,14 @@ class TestResults {// Test assertionsclass MobileNavAssertions {static async assertMobileNavExists(page, device) {- const navElement = await page.$('.ldr-mobile-bottom-nav');- if (!navElement) {- throw new Error(`Mobile navigation not found on ${device}`);+ // Wait for mobile navigation to be dynamically created+ try {+ await page.waitForSelector('.ldr-mobile-bottom-nav', {+ timeout: 5000,+ visible: false // Element may exist but not be visible initially+ });+ } catch (error) {+ throw new Error(`Mobile navigation not found on ${device} after 5s wait`);}return true;}@@ -153,6 +158,11 @@ class MobileNavAssertions {}static async assertTabCount(page, expectedCount) {+ // Wait for tabs to be created+ await page.waitForSelector('.ldr-mobile-nav-tab', {+ timeout: 5000+ });+const tabCount = await page.evaluate(() => {const tabs = document.querySelectorAll('.ldr-mobile-nav-tab');return tabs.length;@@ -317,6 +327,14 @@ class MobileNavTestRunner {timeout: TEST_CONFIG.timeout});+ // Wait for mobile navigation JavaScript to initialize+ await page.waitForTimeout(1000);++ // Ensure mobile navigation script has loaded+ await page.waitForFunction(() => window.mobileNav !== undefined, {+ timeout: 5000+ });+// Test 1: Mobile nav visibility based on viewportconst shouldShowMobileNav = viewport.width <= 767;await this.runTest(