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: Switch all Puppeteer tests to use bundled Chromium instead of Chrome

LearningCircuit9b3f04ed8de0
diff --git a/.github/workflows/ui-tests.yml b/.github/workflows/ui-tests.yml
index 00174d3619..412a72242f 100644
--- a/.github/workflows/ui-tests.yml
+++ b/.github/workflows/ui-tests.yml
@@ -54,8 +54,8 @@ jobs:
- name: Install browser dependencies
run: |
- # Install Chrome for Puppeteer
- npx puppeteer browsers install chrome
+ # Install Chromium for Puppeteer
+ npx puppeteer browsers install chromium
- name: Setup test directories
run: |
diff --git a/Dockerfile b/Dockerfile
index e2db93b3df..ae54501d74 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -65,24 +65,30 @@ RUN apt-get update && apt-get install -y \
&& apt-get install -y nodejs \
&& rm -rf /var/lib/apt/lists/*
-# Copy test package files and install npm dependencies
+# Set up Puppeteer environment
+ENV PUPPETEER_CACHE_DIR=/app/puppeteer-cache
+ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=false
+
+# Create puppeteer cache directory with proper permissions
+RUN mkdir -p /app/puppeteer-cache && chmod -R 777 /app/puppeteer-cache
+
+# Copy test package files
COPY tests/api_tests_with_login/package.json /install/tests/api_tests_with_login/
COPY tests/ui_tests/package.json /install/tests/ui_tests/
+
+# Install npm packages (Puppeteer will download Chromium automatically)
WORKDIR /install/tests/api_tests_with_login
RUN npm install
WORKDIR /install/tests/ui_tests
RUN npm install
-WORKDIR /install
-# Install browser automation tools and dependencies
-RUN playwright install --with-deps chromium
+# Ensure Chromium binaries have correct permissions
+RUN chmod -R 755 /app/puppeteer-cache
-# Set up Puppeteer to download Chromium during npm install
-ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=false
-ENV PUPPETEER_CACHE_DIR=/app/chrome-cache
+WORKDIR /install
-# Create chrome cache directory with proper permissions
-RUN mkdir -p /app/chrome-cache && chmod -R 777 /app/chrome-cache
+# Install browser automation tools and dependencies for Playwright
+RUN playwright install --with-deps chromium
# Install the package using PDM
RUN pdm install --check --no-editable