gitbutler/app/playwright.config.ts

26 lines
476 B
TypeScript
Raw Normal View History

2024-05-02 15:55:41 +03:00
import { defineConfig, devices } from '@playwright/test';
/**
* See https://playwright.dev/docs/test-configuration.
*/
export default defineConfig({
2024-05-06 14:06:13 +03:00
testDir: './e2e/playwright',
testMatch: /(.+\.)?(test|spec)\.[jt]s/,
projects: [
{
name: 'Google Chrome',
use: { ...devices['Desktop Chrome'] }
}
],
expect: {
timeout: 20 * 1000
},
use: {
trace: 'retain-on-failure'
},
webServer: {
command: 'pnpm test:e2e:run',
url: 'http://localhost:1420'
}
2024-05-02 15:55:41 +03:00
});