feat: add Flutter mobile clients and staff delivery API

This commit is contained in:
david
2026-07-30 21:47:41 +08:00
parent 550efb3812
commit 36a5ced1c0
228 changed files with 17159 additions and 22 deletions

18
ui/playwright.config.ts Normal file
View File

@@ -0,0 +1,18 @@
import { defineConfig } from "@playwright/test";
const testPort = Number(process.env.MOBILE_RUNTIME_TEST_PORT ?? 4174);
export default defineConfig({
testDir: "./tests",
testMatch: "**/*.spec.ts",
timeout: 20_000,
use: {
baseURL: `http://127.0.0.1:${testPort}`,
viewport: { width: 1100, height: 1100 },
},
webServer: {
command: `npm run dev -- --port ${testPort}`,
url: `http://127.0.0.1:${testPort}/tests/runtime-fixture.html`,
reuseExistingServer: process.env.MOBILE_RUNTIME_TEST_PORT == null,
},
});