feat(ldd): property-based, mutation и браузерный E2E
This commit is contained in:
27
e2e/playwright.config.ts
Normal file
27
e2e/playwright.config.ts
Normal file
@@ -0,0 +1,27 @@
|
||||
import { defineConfig, devices } from "@playwright/test";
|
||||
|
||||
export default defineConfig({
|
||||
testDir: ".",
|
||||
timeout: 45_000,
|
||||
expect: { timeout: 10_000 },
|
||||
fullyParallel: false,
|
||||
workers: 1,
|
||||
forbidOnly: true,
|
||||
reporter: [
|
||||
["list"],
|
||||
["json", { outputFile: "../build/evidence/playwright.json" }],
|
||||
],
|
||||
use: {
|
||||
baseURL: process.env.LDD_WEB_URL ?? "http://localhost:8090",
|
||||
headless: true,
|
||||
ignoreHTTPSErrors: true,
|
||||
trace: "retain-on-failure",
|
||||
screenshot: "only-on-failure",
|
||||
},
|
||||
projects: [
|
||||
{
|
||||
name: "chromium",
|
||||
use: { ...devices["Desktop Chrome"] },
|
||||
},
|
||||
],
|
||||
});
|
||||
Reference in New Issue
Block a user