mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-14 19:32:11 +03:00
26 lines
476 B
TypeScript
26 lines
476 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/,
|
|
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'
|
|
}
|
|
});
|