mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-10-07 22:17:57 +08:00
29 lines
549 B
JavaScript
29 lines
549 B
JavaScript
import { defineConfig, devices } from '@playwright/test'
|
|
|
|
/**
|
|
* @see https://playwright.dev/docs/test-configuration
|
|
*/
|
|
export default defineConfig({
|
|
testDir: './tests',
|
|
fullyParallel: false,
|
|
forbidOnly: !!process.env.CI,
|
|
retries: 0,
|
|
workers: 1,
|
|
reporter: [
|
|
['list'],
|
|
['html'],
|
|
],
|
|
use: {
|
|
baseURL: process.env.BASE_URL ?? 'http://localhost:8080',
|
|
trace: 'on',
|
|
},
|
|
projects: [
|
|
{
|
|
name: 'chromium',
|
|
use: {
|
|
...devices['Desktop Chrome'],
|
|
ignoreHTTPSErrors: true,
|
|
},
|
|
},
|
|
],
|
|
})
|