Files
rust-discovery/web/playwright.config.ts
T
BuTzZ 6c3203d725
Rust development slice / linux (push) Failing after 1m10s
feat: snapshot Linux-first RMM MVP and pause handover
2026-11-12 22:06:25 +01:00

14 lines
1.0 KiB
TypeScript

import { defineConfig } from '@playwright/test';
import { chmodSync, mkdirSync } from 'node:fs';
import { resolve } from 'node:path';
// Failure context can contain confidential UI state even with trace/video off.
mkdirSync(new URL('./node_modules/.cache/browser-results/', import.meta.url), { recursive: true, mode: 0o700 });
chmodSync(new URL('./node_modules/.cache/browser-results/', import.meta.url), 0o700);
export default defineConfig({
testDir: '../tests/browser', testMatch: '**/*.spec.ts', workers: 1, fullyParallel: false,
retries: 0, timeout: 120000, reporter: [['../tests/browser/safe-reporter.ts']], outputDir: 'node_modules/.cache/browser-results',
use: { browserName: 'chromium', baseURL: 'https://rmm-dev.internal:18443', trace: 'off', screenshot: 'off', video: 'off',
launchOptions: { env: { ...process.env, HOME: resolve('node_modules/.cache/browser-home') },
args: ['--host-resolver-rules=MAP rmm-dev.internal 127.0.0.1, MAP rmm-dev-wrong-name.internal 127.0.0.1', '--no-proxy-server'] } },
});