4fa4f13558
Co-authored-by: iamlukethedev <iamlukethedev@users.noreply.github.com>
19 lines
453 B
TypeScript
19 lines
453 B
TypeScript
import { defineConfig } from "@playwright/test";
|
|
import path from "node:path";
|
|
export default defineConfig({
|
|
testDir: "./tests/e2e",
|
|
use: {
|
|
baseURL: "http://127.0.0.1:3000",
|
|
},
|
|
webServer: {
|
|
command: "npm run dev",
|
|
port: 3000,
|
|
reuseExistingServer: !process.env.CI,
|
|
env: {
|
|
...process.env,
|
|
OPENCLAW_STATE_DIR: path.resolve("./tests/fixtures/openclaw-empty-state"),
|
|
NEXT_PUBLIC_GATEWAY_URL: "",
|
|
},
|
|
},
|
|
});
|