fix: harden auto uploads and table layouts

This commit is contained in:
2026-09-19 10:25:10 +08:00
parent f0fb4db755
commit 8960b68ac8
15 changed files with 586 additions and 48 deletions
+3 -1
View File
@@ -2,6 +2,7 @@ import { defineConfig } from "@playwright/test";
const viewports = [
{ name: "desktop-1920", width: 1920, height: 1080 },
{ name: "desktop-1552", width: 1552, height: 761 },
{ name: "desktop-1366", width: 1366, height: 768 },
{ name: "tablet-1024", width: 1024, height: 768 },
{ name: "tablet-768", width: 768, height: 1024 },
@@ -21,7 +22,8 @@ export default defineConfig({
trace: "retain-on-failure"
},
webServer: {
command: "VITE_DISABLE_DEVTOOLS=1 npm run dev -- --host 127.0.0.1 --port 47173 --strictPort",
command: "npm run dev -- --host 127.0.0.1 --port 47173 --strictPort",
env: { VITE_DISABLE_DEVTOOLS: "1" },
url: "http://127.0.0.1:47173",
reuseExistingServer: false,
timeout: 120_000