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.

test(e2e): tolerate brief LLM output in research export test (#4053)

LearningCircuite77b48c813c4
diff --git a/tests/puppeteer/test_deep_functionality.js b/tests/puppeteer/test_deep_functionality.js
index 1bc08c712d..79444ef8bf 100644
--- a/tests/puppeteer/test_deep_functionality.js
+++ b/tests/puppeteer/test_deep_functionality.js
@@ -659,9 +659,16 @@ describe('Deep Functionality Tests', function() {
await takeScreenshot(page, 'research-export-complete');
- // Verify we got meaningful output
+ // Verify the results page rendered something. We deliberately do
+ // *not* hard-assert a length threshold here: the CI release pipeline
+ // uses a small free-tier LLM that occasionally returns very brief
+ // output (~80–100 chars) even though the research workflow itself
+ // completed end-to-end. That brevity is an upstream content-quality
+ // flake, not a code regression — the workflow validation above
+ // (initiation → progress → results page → content rendered) is what
+ // this test exists to cover. The branches at lines 518–540 already
+ // log a warning in that case.
expect(resultContent).to.not.be.null;
- expect(resultContent.length).to.be.greaterThan(100);
});
it('should verify research contains sources', async () => {