feat: release v1.0.2 LeKiwi 语言控制与网站嵌入
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
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 云模型抓放仍待单独验收,不包含运行密钥或构建产物。
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
import { defineConfig } from '@playwright/test';
|
||||
|
||||
const production = process.env.CADWORLD_PRODUCTION_TEST === '1';
|
||||
const dev = process.env.CADWORLD_BUILTIN_DEV === '1';
|
||||
export default defineConfig({
|
||||
testDir: './e2e',
|
||||
testMatch: 'builtinRobots.spec.ts',
|
||||
workers: 1,
|
||||
timeout: 180_000,
|
||||
use: {
|
||||
baseURL: production ? 'https://cadworld-sim.robotquan.com' : 'http://127.0.0.1:4182',
|
||||
viewport: { width: 1440, height: 1000 },
|
||||
trace: production ? 'off' : 'retain-on-failure',
|
||||
screenshot: 'only-on-failure',
|
||||
launchOptions: {
|
||||
args: [
|
||||
'--use-angle=swiftshader',
|
||||
'--enable-unsafe-swiftshader',
|
||||
...(production
|
||||
? ['--host-resolver-rules=MAP cadworld-sim.robotquan.com 47.93.31.109']
|
||||
: []),
|
||||
],
|
||||
},
|
||||
},
|
||||
webServer: production
|
||||
? undefined
|
||||
: {
|
||||
command: `cd .. && npm run ${dev ? 'dev:website' : 'preview -- --mode website'} ${dev ? '--' : ''} --host 127.0.0.1 --port 4182 --strictPort`,
|
||||
url: 'http://127.0.0.1:4182',
|
||||
reuseExistingServer: false,
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user