fix(table): 统一筛选交互并补齐移动视口覆盖

This commit is contained in:
zhanjunhao
2026-11-24 20:14:10 +08:00
parent 471d7843de
commit 2cbbf0839b
83 changed files with 2094 additions and 1355 deletions
+2 -3
View File
@@ -2,6 +2,7 @@ import { defineConfig } from '@playwright/test';
import {
browserChannel,
contextOptions,
defaultProjectViewports,
projectViewports,
} from './scripts/browser-environment.mjs';
import { runtimeOptions } from './scripts/playwright-runtime.mjs';
@@ -29,9 +30,7 @@ if (
)
)
throw new Error('CI requires headless non-interactive tests');
const viewports = runtime.extended
? projectViewports
: projectViewports.slice(0, 2);
const viewports = runtime.extended ? projectViewports : defaultProjectViewports;
// UI_VISUAL_OFFSCREEN=0 仅限人工本地可视化调试时临时使用。
// Agent、CI、无头/自动化环境禁止设置该值,必须保持默认离屏模式