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
26 lines
715 B
TypeScript
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',
|
|
],
|
|
},
|
|
},
|
|
});
|