Skip to content

~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.

fix: Revert to main branch navigation pattern with increased timeout

LearningCircuit21a55e7f483f
diff --git a/tests/ui_tests/auth_helper.js b/tests/ui_tests/auth_helper.js
index bed3f61ac2..e99353f5d2 100644
--- a/tests/ui_tests/auth_helper.js
+++ b/tests/ui_tests/auth_helper.js
@@ -158,20 +158,15 @@ class AuthHelper {
});
try {
- // Click and handle potential redirect
- const navigationPromise = this.page.waitForNavigation({
- waitUntil: 'domcontentloaded', // Use domcontentloaded instead of networkidle2 for faster response
- timeout: 90000 // 90 second timeout for slow database creation in CI
- });
-
- await this.page.click('button[type="submit"]');
-
- // Wait for navigation with better error handling
- await navigationPromise;
+ // Use the same pattern as main branch - Promise.all for atomic operation
+ await Promise.all([
+ this.page.waitForNavigation({
+ waitUntil: 'networkidle2',
+ timeout: 90000 // Increased from 60s for CI
+ }),
+ this.page.click('button[type="submit"]')
+ ]);
console.log(' Navigation completed');
-
- // Give the page a moment to settle after navigation
- await new Promise(resolve => setTimeout(resolve, 1000));
} catch (navError) {
console.log(` Navigation error: ${navError.message}`);
console.log(` Current URL after error: ${this.page.url()}`);