chore: isolate build artifacts and storybook smoke infra

This commit is contained in:
2026-03-20 00:19:43 +08:00
parent 7c87c7af37
commit 5045756525
10 changed files with 206 additions and 14 deletions
+3 -6
View File
@@ -1,16 +1,13 @@
import { defineConfig } from "@playwright/test";
export default defineConfig({
globalSetup: "./tests/e2e/support/global-setup.cjs",
globalTeardown: "./tests/e2e/support/global-teardown.cjs",
outputDir: "./.artifacts/test-results",
testDir: "./tests/e2e",
timeout: 30_000,
use: {
baseURL: "http://127.0.0.1:6006",
trace: "retain-on-failure"
},
webServer: {
command: "pnpm --filter @ai-ui/docs storybook",
port: 6006,
reuseExistingServer: !process.env.CI,
timeout: 120_000
}
});