SPB Git forge

spb/polyllm

Public
15commits 1branches 0releases
2.2 MBsize
maindefault branch
13 days agolast push
TypeScript 97.4% SQL 1% JavaScript 0.9% CSS 0.6%
704 B · 19 lines typescript
Raw Blame History
1import { defineConfig, devices } from "@playwright/test";23const baseURL = process.env.E2E_BASE_URL ?? "http://localhost:3000";45export default defineConfig({6  testDir: "./e2e",7  timeout: 180_000,8  expect: { timeout: 20_000 },9  fullyParallel: false,10  workers: 1,11  retries: 0,12  reporter: [["list"], ["html", { open: "never", outputFolder: "playwright-report" }]],13  use: { baseURL, trace: "retain-on-failure", screenshot: "only-on-failure", video: "off" },14  projects: [15    { name: "desktop", use: { ...devices["Desktop Chrome"], viewport: { width: 1360, height: 860 } } },16    { name: "mobile", use: { ...devices["iPhone 14"], browserName: "chromium" }, testMatch: /mobile\.spec\.ts/ },17  ],18});19