fix(servers): исправить сохранение и опрос серверов

This commit is contained in:
Denozordec committed 2026-09-13 09:32:37 +07:00
1 parent 88326d9851
commit c30f817926
10 files changed
+635 -62

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
import { defineConfig } from "@playwright/test"
export default defineConfig({
testDir: "./tests/e2e",
fullyParallel: false,
workers: 1,
retries: 0,
timeout: 45_000,
use: {
baseURL: "http://127.0.0.1:3100",
browserName: "chromium",
channel: "msedge",
viewport: { width: 1440, height: 1000 },
trace: "retain-on-failure",
},
webServer: {
command: "node node_modules/next/dist/bin/next dev --hostname 127.0.0.1 --port 3100",
url: "http://127.0.0.1:3100",
reuseExistingServer: false,
timeout: 120_000,
env: {
NEXT_PUBLIC_BACKEND_URL: "same-origin",
NEXT_PUBLIC_DEFAULT_DATA_SOURCE: "live",
NEXT_PUBLIC_ALLOW_MOCK_DATA: "true",
NEXT_PUBLIC_AUTH_ENABLED: "false",
},
},
})