trilium/apps/desktop/playwright.config.ts

21 lines
552 B
TypeScript

import { defineConfig, devices } from '@playwright/test';
/**
* See https://playwright.dev/docs/test-configuration.
*/
export default defineConfig({
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
use: {
/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
trace: 'on-first-retry',
},
testDir: "e2e",
outputDir: "test-output",
projects: [
{
name: "chromium",
use: { ...devices["Desktop Chrome"] },
}
],
});