~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(playwright): skip landscape device tests and fix metrics page timeouts
LearningCircuit3cf7def011fb
diff --git a/tests/ui_tests/playwright/tests/mobile-components.spec.js b/tests/ui_tests/playwright/tests/mobile-components.spec.jsindex ba8713ef2c..bd019756d8 100644--- a/tests/ui_tests/playwright/tests/mobile-components.spec.js+++ b/tests/ui_tests/playwright/tests/mobile-components.spec.js@@ -26,9 +26,10 @@ test.describe('Mobile Navigation Components', () => {return;}- // Skip on tablets (iPad) - they use sidebar navigation+ // Skip on tablets (iPad) and landscape devices - they use sidebar navigationconst isTablet = testInfo.project.name.includes('iPad');- if (isTablet) {+ const isLandscape = testInfo.project.name.includes('Landscape');+ if (isTablet || isLandscape) {test.skip();return;}@@ -50,9 +51,10 @@ test.describe('Mobile Navigation Components', () => {return;}- // Skip on tablets (iPad) - they use sidebar navigation+ // Skip on tablets (iPad) and landscape devices - they use sidebar navigationconst isTablet = testInfo.project.name.includes('iPad');- if (isTablet) {+ const isLandscape = testInfo.project.name.includes('Landscape');+ if (isTablet || isLandscape) {test.skip();return;}@@ -88,9 +90,10 @@ test.describe('Mobile Navigation Components', () => {return;}- // Skip on tablets (iPad) - they use sidebar navigation+ // Skip on tablets (iPad) and landscape devices - they use sidebar navigationconst isTablet = testInfo.project.name.includes('iPad');- if (isTablet) {+ const isLandscape = testInfo.project.name.includes('Landscape');+ if (isTablet || isLandscape) {test.skip();return;}@@ -476,9 +479,10 @@ test.describe('Interaction States', () => {return;}- // Skip on tablets (iPad) - they use sidebar navigation+ // Skip on tablets (iPad) and landscape devices - they use sidebar navigationconst isTablet = testInfo.project.name.includes('iPad');- if (isTablet) {+ const isLandscape = testInfo.project.name.includes('Landscape');+ if (isTablet || isLandscape) {test.skip();return;}@@ -621,9 +625,9 @@ test.describe('Metrics Page Sections', () => {}await page.goto('/metrics/');- await page.waitForLoadState('networkidle');- await page.waitForSelector('#metrics-content', { state: 'visible', timeout: 10000 }).catch(() => {});- await page.waitForTimeout(500);+ await page.waitForLoadState('domcontentloaded');+ await page.waitForSelector('#metrics-content', { state: 'visible', timeout: 15000 }).catch(() => {});+ await page.waitForTimeout(1000);// Find the System Overview header sectionconst overviewSection = page.locator('.ldr-metrics-grid').first();@@ -642,9 +646,9 @@ test.describe('Metrics Page Sections', () => {}await page.goto('/metrics/');- await page.waitForLoadState('networkidle');- await page.waitForSelector('#metrics-content', { state: 'visible', timeout: 10000 }).catch(() => {});- await page.waitForTimeout(500);+ await page.waitForLoadState('domcontentloaded');+ await page.waitForSelector('#metrics-content', { state: 'visible', timeout: 15000 }).catch(() => {});+ await page.waitForTimeout(1000);// Find the token chart containerconst chartContainer = page.locator('#time-series-chart').locator('..');@@ -663,9 +667,9 @@ test.describe('Metrics Page Sections', () => {}await page.goto('/metrics/');- await page.waitForLoadState('networkidle');- await page.waitForSelector('#metrics-content', { state: 'visible', timeout: 10000 }).catch(() => {});- await page.waitForTimeout(500);+ await page.waitForLoadState('domcontentloaded');+ await page.waitForSelector('#metrics-content', { state: 'visible', timeout: 15000 }).catch(() => {});+ await page.waitForTimeout(1000);// Find the search activity chartconst chartContainer = page.locator('#search-activity-chart').locator('..');@@ -684,9 +688,9 @@ test.describe('Metrics Page Sections', () => {}await page.goto('/metrics/');- await page.waitForLoadState('networkidle');- await page.waitForSelector('#metrics-content', { state: 'visible', timeout: 10000 }).catch(() => {});- await page.waitForTimeout(500);+ await page.waitForLoadState('domcontentloaded');+ await page.waitForSelector('#metrics-content', { state: 'visible', timeout: 15000 }).catch(() => {});+ await page.waitForTimeout(1000);// Find the model usage listconst modelUsageList = page.locator('#model-usage-list');@@ -705,9 +709,9 @@ test.describe('Metrics Page Sections', () => {}await page.goto('/metrics/');- await page.waitForLoadState('networkidle');- await page.waitForSelector('#metrics-content', { state: 'visible', timeout: 10000 }).catch(() => {});- await page.waitForTimeout(500);+ await page.waitForLoadState('domcontentloaded');+ await page.waitForSelector('#metrics-content', { state: 'visible', timeout: 15000 }).catch(() => {});+ await page.waitForTimeout(1000);// Find research analytics sectionconst analyticsSection = page.locator('#mode-breakdown').locator('..').locator('..');@@ -726,9 +730,9 @@ test.describe('Metrics Page Sections', () => {}await page.goto('/metrics/');- await page.waitForLoadState('networkidle');- await page.waitForSelector('#metrics-content', { state: 'visible', timeout: 10000 }).catch(() => {});- await page.waitForTimeout(500);+ await page.waitForLoadState('domcontentloaded');+ await page.waitForSelector('#metrics-content', { state: 'visible', timeout: 15000 }).catch(() => {});+ await page.waitForTimeout(1000);// Scroll to rate limiting sectionconst rateLimitSection = page.locator('#rate-limit-success-rate').locator('..').locator('..');@@ -752,9 +756,9 @@ test.describe('Metrics Page Sections', () => {}await page.goto('/metrics/');- await page.waitForLoadState('networkidle');- await page.waitForSelector('#metrics-content', { state: 'visible', timeout: 10000 }).catch(() => {});- await page.waitForTimeout(500);+ await page.waitForLoadState('domcontentloaded');+ await page.waitForSelector('#metrics-content', { state: 'visible', timeout: 15000 }).catch(() => {});+ await page.waitForTimeout(1000);await ensureSheetsClosed(page);// Take a viewport-only screenshot (not fullPage) for reliable baseline