feat: add ImageFind application and release pipelines

This commit is contained in:
2026-08-11 18:02:40 +08:00
commit 16239d7525
270 changed files with 59163 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
import { defineConfig } from "@playwright/test";
const baseURL = process.env.IMAGEFIND_FNOS_BASE_URL;
const storageState = process.env.IMAGEFIND_FNOS_STORAGE_STATE;
if (!baseURL || !storageState) {
throw new Error("真机测试需要 IMAGEFIND_FNOS_BASE_URL 和 IMAGEFIND_FNOS_STORAGE_STATE");
}
export default defineConfig({
testDir: "./tests",
testMatch: "**/fnos.spec.ts",
outputDir: "../.playwright-results/fnos",
timeout: 120_000,
expect: { timeout: 30_000 },
use: {
baseURL,
storageState,
locale: "zh-CN",
timezoneId: "Asia/Shanghai",
colorScheme: "light",
screenshot: "only-on-failure",
trace: "retain-on-failure",
},
});