mirror of
https://github.com/usememos/memos.git
synced 2024-12-19 00:51:30 +03:00
20 lines
445 B
TypeScript
20 lines
445 B
TypeScript
|
import { defineConfig, devices } from "@playwright/test";
|
||
|
|
||
|
export default defineConfig({
|
||
|
testDir: "./e2e-tests",
|
||
|
fullyParallel: true,
|
||
|
forbidOnly: !!process.env.CI,
|
||
|
retries: process.env.CI ? 2 : 0,
|
||
|
workers: 1,
|
||
|
reporter: [["html", { outputFolder: "playwright-report", open: "never" }]],
|
||
|
use: {
|
||
|
trace: "on-first-retry",
|
||
|
},
|
||
|
projects: [
|
||
|
{
|
||
|
name: "chromium",
|
||
|
use: { ...devices["Desktop Chrome"] },
|
||
|
},
|
||
|
],
|
||
|
});
|