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 enterKeySubmits (dead-field audit) (#4648)

LearningCircuit0d77be178315
diff --git a/tests/ui_tests/test_research_form_ci.js b/tests/ui_tests/test_research_form_ci.js
index 9bb3171e79..7061aac3c2 100644
--- a/tests/ui_tests/test_research_form_ci.js
+++ b/tests/ui_tests/test_research_form_ci.js
@@ -634,51 +634,6 @@ const FormSubmissionTests = {
// Keyboard Interaction Tests
// ============================================================================
const KeyboardTests = {
- async enterKeySubmits(page, baseUrl) {
- await navigateTo(page, `${baseUrl}/`);
-
- // Focus query input and type
- const queryInput = await page.$('textarea[name="query"], input[name="query"], #query');
- if (!queryInput) {
- return { passed: null, skipped: true, message: 'Query input not found' };
- }
-
- await queryInput.type('Test query for keyboard submission');
-
- // Check if textarea or input (behavior differs)
- const isTextarea = await page.evaluate(() => {
- const input = document.querySelector('textarea[name="query"], input[name="query"], #query');
- return input?.tagName?.toLowerCase() === 'textarea';
- });
-
- if (isTextarea) {
- // For textarea, Ctrl+Enter should submit
- await page.keyboard.down('Control');
- await page.keyboard.press('Enter');
- await page.keyboard.up('Control');
- } else {
- // For input, Enter should submit
- await page.keyboard.press('Enter');
- }
-
- await delay(1000);
-
- const result = await page.evaluate(() => {
- const url = window.location.href;
- return {
- url,
- navigated: url.includes('progress') || url.includes('research')
- };
- });
-
- return {
- passed: result.navigated,
- message: result.navigated
- ? `${isTextarea ? 'Ctrl+Enter' : 'Enter'} key submits form`
- : `Keyboard submit did not navigate (url: ${result.url})`
- };
- },
-
async shiftEnterNewline(page, baseUrl) {
// Shift+Enter newline behavior is unreliable in headless Chrome
if (process.env.CI) {