feat: 新增 Taro 模板双端运行与独立 Web 预览

This commit is contained in:
que01 committed 2026-10-08 15:28:26 +08:00
1 parent f4061a24bd
commit 7e8fc01fba
48 files changed
+11576 -12

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
import { defineConfig } from "@playwright/test";
export default defineConfig({
testDir: "./test/browser",
timeout: 30000,
use: {
baseURL: process.env.PREVIEW_URL || "http://localhost:3002",
viewport: { width: 375, height: 812 },
screenshot: "only-on-failure",
launchOptions: {
executablePath:
process.env.CHROMIUM_PATH ||
"/home/que01/.cache/ms-playwright/chromium-1228/chrome-linux64/chrome",
args: ["--no-sandbox"],
},
},
reporter: [["list"]],
outputDir: "../../.codex-tasks/taro-migration/raw/browser",
});