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.

chore(ui-tests): remove dead-field orphan formSubmitWithQuery (dead-field audit) (#4638)

LearningCircuit54d95f47e289
diff --git a/tests/ui_tests/test_research_form_ci.js b/tests/ui_tests/test_research_form_ci.js
index 3c7bf14cd2..9bb3171e79 100644
--- a/tests/ui_tests/test_research_form_ci.js
+++ b/tests/ui_tests/test_research_form_ci.js
@@ -573,54 +573,6 @@ const AdvancedOptionsTests = {
// Form Submission Tests
// ============================================================================
const FormSubmissionTests = {
- async formSubmitWithQuery(page, baseUrl) {
- await navigateTo(page, `${baseUrl}/`);
-
- // Fill in query
- await page.evaluate(() => {
- const queryInput = document.querySelector('textarea[name="query"], input[name="query"], #query');
- if (queryInput) {
- queryInput.value = 'What is the capital of France?';
- queryInput.dispatchEvent(new Event('input', { bubbles: true }));
- }
- });
-
- // Submit form
- const [_response] = await Promise.all([
- page.waitForNavigation({ waitUntil: 'domcontentloaded', timeout: 10000 }).catch(() => null),
- page.click('button[type="submit"], .start-research, #start-research')
- ]);
-
- await delay(1000);
-
- const result = await page.evaluate(() => {
- const url = window.location.href;
- const hasProgress = url.includes('progress') || url.includes('research');
- const hasResearchId = /\/research\/|\/progress\/|research_id=/.test(url);
-
- // Check for progress indicators
- const progressBar = document.querySelector('.progress, .progress-bar, [role="progressbar"]');
- const statusText = document.querySelector('.status, .research-status, [class*="status"]');
-
- return {
- url,
- hasProgress,
- hasResearchId,
- hasProgressBar: !!progressBar,
- hasStatusText: !!statusText
- };
- });
-
- const submitted = result.hasProgress || result.hasResearchId || result.hasProgressBar;
-
- return {
- passed: submitted,
- message: submitted
- ? `Form submitted successfully (url contains progress/research: ${result.hasProgress}, has progress bar: ${result.hasProgressBar})`
- : `Form submission unclear (stayed at: ${result.url})`
- };
- },
-
async formValidationEmptyQuery(page, baseUrl) {
await navigateTo(page, `${baseUrl}/`);
await delay(500);