mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
fix: QA sweep fixes — OCR engine mapping, startup log, Playwright config
- Update OCR engine expected name from "paddleocr" to "paddleocr-v5" to match actual PaddleOCR PP-OCRv5 engine (eliminates spurious fallback warning in logs) - Show "waiting for AI sidecar startup" instead of misleading "No GPU detected" when Python dispatcher hasn't reported yet - Fix playwright.docker.config.ts testDir to ./tests/e2e-docker and align auth storage state path with auth.setup.ts
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import path from "node:path";
|
||||
import { defineConfig, devices } from "@playwright/test";
|
||||
|
||||
const authFile = path.join(__dirname, "test-results", ".auth", "user.json");
|
||||
const authFile = path.join(__dirname, "test-results", ".auth", "analytics-user.json");
|
||||
|
||||
// Point raw-fetch tests (api.spec, security.spec, people.spec, rbac.spec) at
|
||||
// the Docker container instead of the dev-server default (port 13490).
|
||||
@@ -10,7 +10,7 @@ const containerUrl = process.env.BASE_URL || "http://localhost:1349";
|
||||
process.env.API_URL ??= containerUrl;
|
||||
|
||||
export default defineConfig({
|
||||
testDir: "./tests/e2e",
|
||||
testDir: "./tests/e2e-docker",
|
||||
timeout: 600_000,
|
||||
expect: {
|
||||
timeout: 60_000,
|
||||
|
||||
Reference in New Issue
Block a user