mirror of
https://github.com/nextcloud/mail.git
synced 2025-07-23 02:57:02 +00:00

Signed-off-by: greta <gretadoci@gmail.com> Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
37 lines
715 B
JavaScript
37 lines
715 B
JavaScript
/**
|
|
* SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
|
|
const { defineConfig, devices } = require('@playwright/test')
|
|
const path = require('path')
|
|
|
|
/**
|
|
* @see https://playwright.dev/docs/test-configuration
|
|
*/
|
|
export default defineConfig({
|
|
testDir: './src/tests/e2e',
|
|
fullyParallel: false,
|
|
forbidOnly: !!process.env.CI,
|
|
retries: process.env.CI ? 2 : 0,
|
|
workers: 1,
|
|
reporter: [
|
|
['list'],
|
|
['html'],
|
|
],
|
|
use: {
|
|
baseURL: 'https://localhost',
|
|
trace: 'on-first-retry',
|
|
},
|
|
projects: [
|
|
{
|
|
name: 'chromium',
|
|
testMatch: '**/*.spec.js',
|
|
use: {
|
|
...devices['Desktop Chrome'],
|
|
ignoreHTTPSErrors: true,
|
|
},
|
|
},
|
|
],
|
|
})
|