mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-18 06:22:28 +03:00
22 lines
553 B
TypeScript
22 lines
553 B
TypeScript
import { defineConfig, devices } from '@playwright/test';
|
|
|
|
/**
|
|
* See https://playwright.dev/docs/test-configuration.
|
|
*/
|
|
export default defineConfig({
|
|
testDir: './e2e/playwright',
|
|
testMatch: /(.+\.)?(test|spec)\.[jt]s/,
|
|
reporter: process.env.CI ? 'list' : 'html',
|
|
projects: [
|
|
{
|
|
name: 'Google Chrome',
|
|
use: { ...devices['Desktop Chrome'] }
|
|
}
|
|
],
|
|
webServer: {
|
|
command: 'pnpm test:e2e:run',
|
|
url: 'http://localhost:1420',
|
|
reuseExistingServer: !process.env.CI
|
|
}
|
|
});
|