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: add better debugging for change password page load issue

LearningCircuit42ce24f3934b
diff --git a/tests/ui_tests/test_change_password_validation.js b/tests/ui_tests/test_change_password_validation.js
index f756fdf6b1..4cd5a5d25a 100644
--- a/tests/ui_tests/test_change_password_validation.js
+++ b/tests/ui_tests/test_change_password_validation.js
@@ -81,13 +81,21 @@ async function testChangePasswordValidation() {
});
}
- // Wait for the form
+ // Wait for the form - try multiple selectors
try {
- await page.waitForSelector('input[name="current_password"]', { timeout: 10000 });
+ // First wait for the page to have any form elements
+ await page.waitForFunction(() => {
+ const form = document.querySelector('form');
+ const input = document.querySelector('input[name="current_password"]');
+ return form && input;
+ }, { timeout: 15000 });
console.log('✅ Change password page loaded\n');
} catch (e) {
console.log('❌ Change password page not accessible');
console.log(` Current URL: ${page.url()}`);
+ // Log page content for debugging
+ const pageContent = await page.evaluate(() => document.body.innerHTML.substring(0, 500));
+ console.log(` Page content preview: ${pageContent.substring(0, 200)}...`);
throw new Error('Cannot access change password page');
}