Files
Mujoco_WASM/web_platform/playwright.production.config.ts
T
chenlin 7ebe9092ba
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
fix(website): 移除文件导入中的移动操作训练场景
2026-09-28 11:56:18 +08:00

26 lines
715 B
TypeScript

import { defineConfig } from '@playwright/test';
export default defineConfig({
testDir: './e2e',
testMatch: [
'website.production.spec.ts',
'website.embed.production.spec.ts',
...(process.env.CADWORLD_PRODUCTION_TEST === '1' ? ['website.import.spec.ts'] : []),
],
workers: 1,
timeout: 240_000,
use: {
baseURL: 'https://cadworld-sim.robotquan.com',
viewport: { width: 1440, height: 1000 },
ignoreHTTPSErrors: false,
trace: 'off',
screenshot: 'only-on-failure',
launchOptions: {
args: [
'--use-angle=swiftshader',
'--enable-unsafe-swiftshader',
'--host-resolver-rules=MAP cadworld-sim.robotquan.com 47.93.31.109',
],
},
},
});