openvidu/frontend/webcomponent/playwright.config.ts
Carlos Santos b25b80fc6e test: mark moderator join event test as only for focused execution
testapp: ensure roomId is defined before rendering stored webhook events

testapp: correct build script to include build:client step

ci: reduce log retention days from 7 to 2 for various artifacts

test: remove 'only' from moderator join event test for full execution

testapp: correct build script order in package.json for proper execution

frontend: update openvidu-components-angular to version 3.2.0-dev17 in package.json and package-lock.json

webcomponent: remove unnecessary comment from playwright configuration file
2025-05-14 17:39:46 +02:00

27 lines
646 B
TypeScript

import { defineConfig } from '@playwright/test';
import { RUN_MODE } from './tests/config';
export default defineConfig({
testDir: './tests/e2e',
timeout: 30000,
retries: 0,
workers: 1,
fullyParallel: false,
use: {
headless: RUN_MODE === 'CI',
viewport: { width: 1280, height: 720 },
ignoreHTTPSErrors: true,
permissions: ['camera', 'microphone'],
video: 'retain-on-failure',
launchOptions: {
args: [
'--use-fake-ui-for-media-stream',
'--use-fake-device-for-media-stream',
'--allow-file-access-from-files', // Allows file access from local files
'--no-sandbox',
'--disable-dev-shm-usage'
]
}
}
});