- docs/acceptance/qa-tracker.md:跨周期缺陷单一真源台账(§7=第五轮)。 - 周期 1/2 + iPhone SE/axe 验收证据目录、ACCEPTANCE_REVIEW 快照入库。 - 同步 README/CONTEXT/CLAUDE/DESIGN/testing/deployment/lessons-learned 口径; next.config/Dockerfile/nginx/Jenkinsfile/docker-compose/sentry/prisma 对齐 standalone 产物装配与部署形态。
34 lines
1.1 KiB
TypeScript
34 lines
1.1 KiB
TypeScript
import { defineConfig, devices } from '@playwright/test';
|
||
|
||
// 探针:`chromium-mobile` 项目里 browserName 到底是什么、真正跑的是哪个引擎。
|
||
// 起因:最终树 28 条 skipped 有 7 条落在 chromium-mobile(cms-workflow ×3 + Touchscreen ×1 + GA4 ×4),
|
||
// 而跳过条件写成 `browserName !== 'chromium'` ⇒ 该项目内条件为真。
|
||
export default defineConfig({
|
||
testDir: __dirname,
|
||
fullyParallel: true,
|
||
reporter: [['list']],
|
||
projects: [
|
||
{
|
||
name: 'replica-chromium-mobile',
|
||
use: {
|
||
...devices['iPhone 14'],
|
||
viewport: { width: 390, height: 844 },
|
||
isMobile: true,
|
||
hasTouch: true,
|
||
},
|
||
},
|
||
{
|
||
// 正对照:显式写 browserName,看是否与"仅 spread devices"得到不同的 fixture 值
|
||
name: 'explicit-chromium-mobile',
|
||
browserName: 'chromium',
|
||
use: {
|
||
...devices['iPhone 14'],
|
||
viewport: { width: 390, height: 844 },
|
||
isMobile: true,
|
||
hasTouch: true,
|
||
},
|
||
},
|
||
{ name: 'plain-desktop', use: { ...devices['Desktop Chrome'] } },
|
||
],
|
||
});
|