mirror of
https://github.com/YuzuZensai/Pien-Studio.git
synced 2026-09-02 14:18:35 +00:00
23 lines
452 B
TypeScript
23 lines
452 B
TypeScript
import { defineConfig, devices } from "@playwright/test";
|
|||
|
|
|
||
|
|
export default defineConfig({
|
||
|
|
testDir: "tests/e2e",
|
||
|
|
timeout: 30_000,
|
||
|
|
use: {
|
||
|
|
baseURL: "http://127.0.0.1:3000",
|
||
|
|
trace: "on-first-retry",
|
||
|
|
},
|
||
|
|
webServer: {
|
||
|
|
command: "bun run dev",
|
||
|
|
cwd: "apps/web",
|
||
|
|
url: "http://127.0.0.1:3000",
|
||
|
|
reuseExistingServer: true,
|
||
|
|
},
|
||
|
|
projects: [
|
||
|
|
{
|
||
|
|
name: "chromium",
|
||
|
|
use: { ...devices["Desktop Chrome"] },
|
||
|
|
},
|
||
|
|
],
|
||
|
|
});
|