Initial Watermaps import

This commit is contained in:
BuTzZ
2026-07-24 11:29:24 +02:00
commit 57f7b4dedb
129 changed files with 43136 additions and 0 deletions
+39
View File
@@ -0,0 +1,39 @@
import { devices, defineConfig } from "@playwright/test";
export default defineConfig({
testDir: "./tests/e2e",
timeout: 30_000,
use: {
baseURL: "http://127.0.0.1:5173",
trace: "on-first-retry"
},
webServer: [
{
command: "WATERMAPS_LIVE_FAIRWAYS=false npm run dev --workspace @watermaps/api",
url: "http://127.0.0.1:5174/health",
reuseExistingServer: true,
timeout: 30_000
},
{
command: "npm run dev --workspace @watermaps/web",
url: "http://127.0.0.1:5173",
reuseExistingServer: true,
timeout: 30_000
}
],
projects: [
{
name: "iphone",
testIgnore: /desktop-layout\.spec\.ts/,
use: { ...devices["iPhone 15"] }
},
{
name: "desktop",
testMatch: /desktop-layout\.spec\.ts/,
use: {
...devices["Desktop Safari"],
viewport: { width: 1440, height: 900 }
}
}
]
});