0d986f60bd
web-platform-ci / Standalone decision service (no cloud credentials) (push) Has been cancelled
web-platform-ci / TypeScript, lint, unit, build (push) Has been cancelled
web-platform-ci / Playwright E2E (push) Has been cancelled
lekiwi-compatibility / cpu-compatibility (push) Has been cancelled
集成服务器托管模型、自然语言移动与有界抓放、内置 LeKiwi URL 导入和双摄像头;同步部署契约与指定域名 iframe 白名单,保留原有物理安全、会话及调用预算防护。 更新 npm 包及锁文件版本、CHANGELOG 与发布文档。提交前 typecheck、120 项定向前端测试和 44 项后端测试通过(3 项可选跳过);真实 v2 云模型抓放仍待单独验收,不包含运行密钥或构建产物。
31 lines
1.0 KiB
TypeScript
31 lines
1.0 KiB
TypeScript
import { defineConfig } from '@playwright/test';
|
|
export default defineConfig({
|
|
testDir: './e2e',
|
|
testMatch: /lekiwi\.(?:language|agent\.workspace)\.spec\.ts/,
|
|
outputDir: '../build/e2e/lekiwi-language',
|
|
timeout: 300_000,
|
|
workers: 1,
|
|
use: {
|
|
baseURL: 'http://127.0.0.1:4176',
|
|
actionTimeout: 20000,
|
|
screenshot: 'only-on-failure',
|
|
trace: 'retain-on-failure',
|
|
viewport: { width: 1440, height: 1000 },
|
|
launchOptions: { args: ['--use-angle=swiftshader', '--enable-unsafe-swiftshader'] },
|
|
},
|
|
webServer: [
|
|
{
|
|
command:
|
|
'cd .. && CADWORLD_E2E=1 CADWORLD_E2E_ORIGIN=http://127.0.0.1:4176 CADWORLD_E2E_PORT=8771 .venv/bin/python -m decision_server.tests.website_fixture',
|
|
url: 'http://127.0.0.1:8771/healthz',
|
|
reuseExistingServer: false,
|
|
},
|
|
{
|
|
command:
|
|
'CADWORLD_DEV_API=http://127.0.0.1:8771 npm run dev --prefix .. -- --host 127.0.0.1 --port 4176 --strictPort',
|
|
url: 'http://127.0.0.1:4176',
|
|
reuseExistingServer: false,
|
|
},
|
|
],
|
|
});
|