fix: stabilize settings page navigation

This commit is contained in:
zhoujun0601
2026-08-13 08:39:22 -04:00
parent fa9d9bea8a
commit be48e03b3c
7 changed files with 280 additions and 42 deletions
+16
View File
@@ -0,0 +1,16 @@
import { defineConfig, devices } from "@playwright/test";
export default defineConfig({
testDir: "./tests",
fullyParallel: true,
use: { baseURL: "http://127.0.0.1:4173", trace: "retain-on-failure" },
projects: [
{ name: "desktop", use: { ...devices["Desktop Chrome"] } },
{ name: "mobile", use: { ...devices["Pixel 7"] } },
],
webServer: {
command: "npm run dev -- --host 127.0.0.1 --port 4173",
url: "http://127.0.0.1:4173",
reuseExistingServer: true,
},
});