feat: snapshot Linux-first RMM MVP and pause handover
Rust development slice / linux (push) Failing after 1m10s
Rust development slice / linux (push) Failing after 1m10s
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
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'] } },
|
||||
});
|
||||
Reference in New Issue
Block a user