Integrate ASR/Omni fixes, API Route, Android IME and confirmation-based vocabulary learning. Complete settings transitions and macOS single-item credential storage. Synchronize all application versions to 2.0.0-Beta.4+build.20260930. Integrated PRs: #1116, #1120, #1121, #1123, #1124, #1067 and #1128. Linux #1117 remains independent and is excluded from automatic release. Validated: full cross-platform CI, 18 UI motion cases, 112 frontend test files, 1245 Core tests (1 ignored) and 572 macOS native tests. Co-authored-by: HKLHaoBin <we3q@qq.com>
30 lines
813 B
TypeScript
30 lines
813 B
TypeScript
import { defineConfig } from '@playwright/test';
|
|
|
|
export default defineConfig({
|
|
testDir: './e2e',
|
|
fullyParallel: false,
|
|
forbidOnly: !!process.env.CI,
|
|
retries: 0,
|
|
workers: 1,
|
|
timeout: 30_000,
|
|
reporter: [['list'], ['html', { open: 'never' }]],
|
|
use: {
|
|
baseURL: 'http://127.0.0.1:5325',
|
|
viewport: { width: 1300, height: 835 },
|
|
locale: 'zh-CN',
|
|
colorScheme: 'dark',
|
|
reducedMotion: 'no-preference',
|
|
trace: 'retain-on-failure',
|
|
screenshot: 'only-on-failure',
|
|
},
|
|
projects: [
|
|
{ name: 'chromium', use: { browserName: 'chromium' } },
|
|
{ name: 'webkit', use: { browserName: 'webkit' } },
|
|
],
|
|
webServer: {
|
|
command: 'npm run preview -- --host 127.0.0.1 --port 5325 --strictPort',
|
|
url: 'http://127.0.0.1:5325',
|
|
reuseExistingServer: !process.env.CI,
|
|
},
|
|
});
|