opsdash-app/opsdash/playwright.config.ts
blade34242 d7efcba67c
All checks were successful
Nextcloud Server Tests / version-consistency (push) Successful in 32s
Nextcloud Server Tests / matrix-config (push) Successful in 26s
Nextcloud Server Tests / Nextcloud stable30 / PHP 8.2 (stable30, 8.2) (push) Successful in 4m44s
Nextcloud Server Tests / Nextcloud stable31 / PHP 8.2 (stable31, 8.2) (push) Successful in 4m41s
Nextcloud Server Tests / Nextcloud stable31 / PHP 8.3 (stable31, 8.3) (push) Successful in 4m29s
Nextcloud Server Tests / Nextcloud stable32 / PHP 8.2 (stable32, 8.2) (push) Successful in 4m34s
Nextcloud Server Tests / Nextcloud stable32 / PHP 8.3 (stable32, 8.3) (push) Successful in 4m43s
Nextcloud Server Tests / Nextcloud stable33 / PHP 8.2 (stable33, 8.2) (push) Successful in 4m51s
Nextcloud Server Tests / Nextcloud stable33 / PHP 8.3 (stable33, 8.3) (push) Successful in 4m52s
Build And Publish Appstore Package / build_and_publish (push) Successful in 3m3s
fix: stabilize release notes and target progress
2026-04-28 11:51:14 +07:00

26 lines
808 B
TypeScript

import { defineConfig } from '@playwright/test'
const baseUrl = process.env.PLAYWRIGHT_BASE_URL ?? 'http://localhost:8093'
const username = process.env.PLAYWRIGHT_USER ?? 'admin'
const password = process.env.PLAYWRIGHT_PASS ?? 'admin'
export default defineConfig({
testDir: './tests/e2e',
workers: 1,
use: {
baseURL: baseUrl,
launchOptions: {
args: ['--no-sandbox', '--disable-setuid-sandbox'],
chromiumSandbox: false,
},
extraHTTPHeaders: {
Authorization: 'Basic ' + Buffer.from(`${username}:${password}`).toString('base64'),
'OCS-APIREQUEST': 'true',
},
video: 'off',
screenshot: 'only-on-failure',
trace: 'retain-on-failure',
},
timeout: 120000,
reporter: [['list'], ['html', { outputFolder: 'playwright-report', open: 'never' }]],
})