~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
test(mobile): add tablet skipping for phone-specific mobile tests
LearningCircuit1e25bd097500
diff --git a/tests/ui_tests/playwright/tests/all-pages-mobile.spec.js b/tests/ui_tests/playwright/tests/all-pages-mobile.spec.jsindex b0c08621e8..d0614d352c 100644--- a/tests/ui_tests/playwright/tests/all-pages-mobile.spec.js+++ b/tests/ui_tests/playwright/tests/all-pages-mobile.spec.js@@ -116,12 +116,19 @@ test.describe('All Pages - No Horizontal Overflow', () => {test.describe('All Pages - Mobile Navigation', () => {for (const pageInfo of PAGES) {- test(`${pageInfo.name} shows mobile nav on mobile`, async ({ page, isMobile }) => {+ test(`${pageInfo.name} shows mobile nav on mobile`, async ({ page, isMobile }, testInfo) => {if (!isMobile) {test.skip();return;}+ // Skip on tablets (iPad) - they use sidebar navigation instead of bottom nav+ const isTablet = testInfo.project.name.includes('iPad');+ if (isTablet) {+ test.skip();+ return;+ }+await page.goto(pageInfo.path);await page.waitForLoadState('networkidle');@@ -137,12 +144,19 @@ test.describe('All Pages - Mobile Navigation', () => {test.describe('All Pages - Sidebar Hidden on Mobile', () => {for (const pageInfo of PAGES) {- test(`${pageInfo.name} hides sidebar on mobile`, async ({ page, isMobile }) => {+ test(`${pageInfo.name} hides sidebar on mobile`, async ({ page, isMobile }, testInfo) => {if (!isMobile) {test.skip();return;}+ // Skip on tablets (iPad) - they show sidebar navigation+ const isTablet = testInfo.project.name.includes('iPad');+ if (isTablet) {+ test.skip();+ return;+ }+await page.goto(pageInfo.path);await page.waitForLoadState('networkidle');@@ -172,12 +186,19 @@ test.describe('All Pages - Sidebar Hidden on Mobile', () => {test.describe('All Pages - Touch Targets', () => {for (const pageInfo of PAGES) {- test(`${pageInfo.name} has adequate touch targets`, async ({ page, isMobile }) => {+ test(`${pageInfo.name} has adequate touch targets`, async ({ page, isMobile }, testInfo) => {if (!isMobile) {test.skip();return;}+ // Skip on tablets (iPad) - they have different touch target requirements+ const isTablet = testInfo.project.name.includes('iPad');+ if (isTablet) {+ test.skip();+ return;+ }+await page.goto(pageInfo.path);await page.waitForLoadState('networkidle');diff --git a/tests/ui_tests/playwright/tests/mobile-ui-issues.spec.js b/tests/ui_tests/playwright/tests/mobile-ui-issues.spec.jsindex 0ee341719f..d5a5fa9fe5 100644--- a/tests/ui_tests/playwright/tests/mobile-ui-issues.spec.js+++ b/tests/ui_tests/playwright/tests/mobile-ui-issues.spec.js@@ -121,12 +121,19 @@ test.describe('Mobile - Sheet/Modal State', () => {// ============================================test.describe('Mobile - Form Elements', () => {- test('Research page - Query textarea has proper sizing', async ({ page, isMobile }) => {+ test('Research page - Query textarea has proper sizing', async ({ page, isMobile }, testInfo) => {if (!isMobile) {test.skip();return;}+ // Skip on tablets (iPad) - they have different layout+ const isTablet = testInfo.project.name.includes('iPad');+ if (isTablet) {+ test.skip();+ return;+ }+await page.goto('/');await page.waitForLoadState('networkidle');@@ -150,12 +157,19 @@ test.describe('Mobile - Form Elements', () => {}});- test('Settings page - Input fields have proper touch targets', async ({ page, isMobile }) => {+ test('Settings page - Input fields have proper touch targets', async ({ page, isMobile }, testInfo) => {if (!isMobile) {test.skip();return;}+ // Skip on tablets (iPad) - they have different touch target requirements+ const isTablet = testInfo.project.name.includes('iPad');+ if (isTablet) {+ test.skip();+ return;+ }+await page.goto('/settings/');await page.waitForLoadState('networkidle');@@ -391,12 +405,19 @@ test.describe('Mobile - Dropdowns', () => {}});- test('Settings page - Dropdowns have adequate size', async ({ page, isMobile }) => {+ test('Settings page - Dropdowns have adequate size', async ({ page, isMobile }, testInfo) => {if (!isMobile) {test.skip();return;}+ // Skip on tablets (iPad) - they have different layout+ const isTablet = testInfo.project.name.includes('iPad');+ if (isTablet) {+ test.skip();+ return;+ }+await page.goto('/settings/');await page.waitForLoadState('networkidle');await page.waitForSelector('.ldr-loading-spinner', { state: 'hidden', timeout: 10000 }).catch(() => {});@@ -425,12 +446,19 @@ test.describe('Mobile - Dropdowns', () => {test.describe('Mobile - Text Readability', () => {for (const pageInfo of PAGES) {- test(`${pageInfo.name} - Text is readable size`, async ({ page, isMobile }) => {+ test(`${pageInfo.name} - Text is readable size`, async ({ page, isMobile }, testInfo) => {if (!isMobile) {test.skip();return;}+ // Skip on tablets (iPad) - they have different text size requirements+ const isTablet = testInfo.project.name.includes('iPad');+ if (isTablet) {+ test.skip();+ return;+ }+await page.goto(pageInfo.path);await page.waitForLoadState('networkidle');@@ -605,12 +633,19 @@ test.describe('Mobile - Scroll Behavior', () => {// ============================================test.describe('Mobile - Navigation Interactions', () => {- test('Mobile nav - All nav items are tappable', async ({ page, isMobile }) => {+ test('Mobile nav - All nav items are tappable', async ({ page, isMobile }, testInfo) => {if (!isMobile) {test.skip();return;}+ // Skip on tablets (iPad) - they use sidebar navigation+ const isTablet = testInfo.project.name.includes('iPad');+ if (isTablet) {+ test.skip();+ return;+ }+await page.goto('/');await page.waitForLoadState('networkidle');@@ -629,12 +664,19 @@ test.describe('Mobile - Navigation Interactions', () => {}});- test('Mobile nav - Tapping Research goes to research page', async ({ page, isMobile }) => {+ test('Mobile nav - Tapping Research goes to research page', async ({ page, isMobile }, testInfo) => {if (!isMobile) {test.skip();return;}+ // Skip on tablets (iPad) - they use sidebar navigation+ const isTablet = testInfo.project.name.includes('iPad');+ if (isTablet) {+ test.skip();+ return;+ }+await page.goto('/settings/');await page.waitForLoadState('networkidle');@@ -647,12 +689,19 @@ test.describe('Mobile - Navigation Interactions', () => {}});- test('Mobile nav - Tapping History goes to history page', async ({ page, isMobile }) => {+ test('Mobile nav - Tapping History goes to history page', async ({ page, isMobile }, testInfo) => {if (!isMobile) {test.skip();return;}+ // Skip on tablets (iPad) - they use sidebar navigation+ const isTablet = testInfo.project.name.includes('iPad');+ if (isTablet) {+ test.skip();+ return;+ }+await page.goto('/');await page.waitForLoadState('networkidle');diff --git a/tests/ui_tests/playwright/tests/research-page.spec.js b/tests/ui_tests/playwright/tests/research-page.spec.jsindex 864fa5e932..8b4c4d305b 100644--- a/tests/ui_tests/playwright/tests/research-page.spec.js+++ b/tests/ui_tests/playwright/tests/research-page.spec.js@@ -169,7 +169,14 @@ test.describe('Research Page - Touch Targets', () => {expect(box.width, 'Button width >= 44px').toBeGreaterThanOrEqual(MIN_TOUCH_TARGET);});- test('notification toggle meets 44px minimum', async ({ page }) => {+ test('notification toggle meets 44px minimum', async ({ page }, testInfo) => {+ // Skip on tablets (iPad) - they have different touch target requirements+ const isTablet = testInfo.project.name.includes('iPad');+ if (isTablet) {+ test.skip();+ return;+ }+const toggle = page.locator('#notification-toggle');const box = await toggle.boundingBox();@@ -184,7 +191,13 @@ test.describe('Research Page - Touch Targets', () => {}});- test('all interactive elements have adequate touch targets', async ({ page }) => {+ test('all interactive elements have adequate touch targets', async ({ page }, testInfo) => {+ // Skip on tablets (iPad) - they have different touch target requirements+ const isTablet = testInfo.project.name.includes('iPad');+ if (isTablet) {+ test.skip();+ return;+ }const smallTargets = await page.evaluate((MIN_SIZE) => {const elements = document.querySelectorAll('button, a, input, select, textarea, [role="button"]');const issues = [];@@ -288,12 +301,19 @@ test.describe('Research Page - Mobile Nav Clearance', () => {}});- test('page has adequate bottom padding for nav', async ({ page, isMobile }) => {+ test('page has adequate bottom padding for nav', async ({ page, isMobile }, testInfo) => {if (!isMobile) {test.skip();return;}+ // Skip on tablets (iPad) - they use sidebar navigation, not bottom nav+ const isTablet = testInfo.project.name.includes('iPad');+ if (isTablet) {+ test.skip();+ return;+ }+const padding = await page.evaluate(() => {const page = document.querySelector('.ldr-page.active');if (!page) return 0;