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 critical-ui-tests: use Puppeteer browser instead of Playwright

LearningCircuit8ccedbd4940b
diff --git a/.github/workflows/critical-ui-tests.yml b/.github/workflows/critical-ui-tests.yml
index 7338b4ab6d..3d3a56f02e 100644
--- a/.github/workflows/critical-ui-tests.yml
+++ b/.github/workflows/critical-ui-tests.yml
@@ -48,13 +48,19 @@ jobs:
run: |
sudo apt-get update
# Note: chromium-browser is no longer available via apt on newer Ubuntu
- # We use Playwright's bundled Chromium instead (installed via pdm run playwright install)
+ # We use Puppeteer's bundled Chrome (installed via npx puppeteer browsers install chrome)
sudo apt-get install -y libsqlcipher-dev
- name: Install Python dependencies
run: |
pdm sync -d
- pdm run playwright install chromium --with-deps
+
+ - name: Set up Node.js
+ uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6
+ with:
+ node-version: '18'
+ cache: 'npm'
+ cache-dependency-path: tests/ui_tests/package.json
# CRITICAL: LDR_DATA_DIR must be consistent between init and server steps!
# Previously, init created DB in ~/.local/share/local-deep-research/ but
@@ -113,6 +119,16 @@ jobs:
cd tests/ui_tests
npm ci
+ - name: Cache Puppeteer Chrome
+ uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
+ with:
+ path: ~/.cache/puppeteer
+ key: ${{ runner.os }}-puppeteer-${{ hashFiles('tests/ui_tests/package.json') }}
+
+ - name: Install Puppeteer browser
+ run: |
+ npx puppeteer browsers install chrome
+
- name: Create screenshots directory
run: |
mkdir -p tests/ui_tests/screenshots