mirror of
https://github.com/nextcloud/contacts.git
synced 2025-08-16 15:44:22 +00:00
35 lines
693 B
JavaScript
35 lines
693 B
JavaScript
/**
|
|
* SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
|
|
import { defineConfig, devices } from '@playwright/test'
|
|
|
|
/**
|
|
* @see https://playwright.dev/docs/test-configuration
|
|
*/
|
|
export default defineConfig({
|
|
testDir: './tests/javascript/e2e',
|
|
fullyParallel: false,
|
|
forbidOnly: !!process.env.CI,
|
|
retries: process.env.CI ? 2 : 0,
|
|
workers: 1,
|
|
reporter: [
|
|
['list'],
|
|
['html'],
|
|
],
|
|
use: {
|
|
baseURL: process.env.PLAYWRIGHT_BASE_URL ?? 'https://localhost',
|
|
trace: 'on-first-retry',
|
|
},
|
|
projects: [
|
|
{
|
|
name: 'chromium',
|
|
use: {
|
|
...devices['Desktop Chrome'],
|
|
ignoreHTTPSErrors: true,
|
|
},
|
|
},
|
|
],
|
|
})
|