mirror of
https://github.com/getpaseo/paseo.git
synced 2026-10-23 17:52:49 +00:00
Keep the daemon dependent only on the public runtime contract and helper, while optional runtime implementations remain external command registrations. Workspace setup continues asynchronously through the bound runtime without coupling production packages to an implementation.
30 lines
729 B
TypeScript
30 lines
729 B
TypeScript
import { defineConfig, devices } from "@playwright/test";
|
|
|
|
const baseURL =
|
|
process.env.E2E_BASE_URL ?? `http://localhost:${process.env.E2E_METRO_PORT ?? "8081"}`;
|
|
export default defineConfig({
|
|
testDir: "./e2e",
|
|
testMatch: ["**/*.spec.ts"],
|
|
globalSetup: "../app/e2e/support/global-setup.ts",
|
|
timeout: 60_000,
|
|
expect: {
|
|
timeout: 10_000,
|
|
},
|
|
fullyParallel: false,
|
|
workers: 1,
|
|
retries: process.env.CI ? 1 : 0,
|
|
reporter: [["list"]],
|
|
use: {
|
|
baseURL,
|
|
trace: "retain-on-failure",
|
|
screenshot: "only-on-failure",
|
|
video: process.env.E2E_RECORD_VIDEO === "1" ? "on" : "retain-on-failure",
|
|
},
|
|
projects: [
|
|
{
|
|
name: "desktop",
|
|
use: { ...devices["Desktop Chrome"] },
|
|
},
|
|
],
|
|
});
|