Update GeoIntel project files
GeoIntel release gates / Compile, test, contracts and builds (push) Canceled after 0s
GeoIntel release gates / Python and npm vulnerability policy (push) Canceled after 0s
GeoIntel release gates / GIS image, SBOM and container scan (push) Canceled after 0s

This commit is contained in:
Jens
2026-07-25 23:43:08 +02:00
parent 9db6cca2b1
commit d5ea270329
155 changed files with 37970 additions and 825 deletions
+59
View File
@@ -0,0 +1,59 @@
import { defineConfig, devices } from "@playwright/test";
export default defineConfig({
testDir: "./tests",
fullyParallel: false,
workers: 1,
retries: 0,
reporter: "list",
use: {
baseURL: "http://127.0.0.1:5174",
trace: "retain-on-failure",
},
webServer: {
command: "npm run dev",
url: "http://127.0.0.1:3101/api/health",
reuseExistingServer: false,
timeout: 120_000,
env: {
MOCK_DISCOVERY: "true",
MOCK_WEATHER: "true",
DATABASE_PATH: "./data/e2e-canon-v1.db",
HOST: "127.0.0.1",
PORT: "3101",
VITE_API_PORT: "3101",
VITE_PORT: "5174",
},
},
projects: [
{
name: "desktop-chromium",
use: {
...devices["Desktop Chrome"],
viewport: { width: 1440, height: 900 },
},
},
{
name: "tablet-chromium",
use: {
...devices["Desktop Chrome"],
viewport: { width: 768, height: 1024 },
},
},
{
name: "mobile-chromium",
use: {
...devices["Pixel 7"],
viewport: { width: 390, height: 844 },
deviceScaleFactor: 1,
},
},
{
name: "ultrawide-chromium",
use: {
...devices["Desktop Chrome"],
viewport: { width: 3440, height: 1440 },
},
},
],
});