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: Update artifact download action to v4 in responsive UI tests

LearningCircuita6575ea4eb2c
diff --git a/.github/workflows/responsive-ui-tests-enhanced.yml b/.github/workflows/responsive-ui-tests-enhanced.yml
index 3de8ccd3d6..1c2b39ab70 100644
--- a/.github/workflows/responsive-ui-tests-enhanced.yml
+++ b/.github/workflows/responsive-ui-tests-enhanced.yml
@@ -94,6 +94,12 @@ jobs:
npm ci
npx puppeteer browsers install chrome
+ - name: Set up test directories
+ run: |
+ mkdir -p data
+ mkdir -p tests/ui_tests/screenshots
+ echo "Created data and screenshots directories for tests"
+
- name: Initialize database
run: |
cat > init_db.py << 'EOF'
@@ -316,7 +322,7 @@ jobs:
uses: actions/checkout@v4
- name: Download all artifacts
- uses: actions/download-artifact@v3
+ uses: actions/download-artifact@v4
with:
path: test-artifacts/
diff --git a/tests/ui_tests/test_auth_flow.js b/tests/ui_tests/test_auth_flow.js
index 9f57ef1537..694f9dbe6c 100644
--- a/tests/ui_tests/test_auth_flow.js
+++ b/tests/ui_tests/test_auth_flow.js
@@ -56,8 +56,10 @@ async function testAuthFlow() {
throw new Error('Not logged in after registration');
}
- // Take screenshot of logged-in state
- await page.screenshot({ path: './screenshots/after_registration.png' });
+ // Take screenshot of logged-in state (skip in CI)
+ if (!process.env.CI) {
+ await page.screenshot({ path: './screenshots/after_registration.png' });
+ }
// Test 2: Logout
console.log('\n🚪 Test 2: Logout');
@@ -117,9 +119,11 @@ async function testAuthFlow() {
} catch (error) {
console.error('\n❌ Test failed:', error.message);
- // Take error screenshot
- await page.screenshot({ path: './screenshots/auth_error.png' });
- console.log('📸 Error screenshot saved');
+ // Take error screenshot (skip in CI)
+ if (!process.env.CI) {
+ await page.screenshot({ path: './screenshots/auth_error.png' });
+ console.log('📸 Error screenshot saved');
+ }
// Check current URL for debugging
console.log('Current URL:', page.url());