Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

947 B
Raw Blame
import { defineConfig, devices } from '@playwright/test';
import { preferredBrowserBaseURL } from './tests/runtime-defaults';

// This is admission to the existing suite, not another tier or a replacement
// for its browser assertions. Use the same authenticated readiness helper.
export default defineConfig({
  testDir: './fixture-readiness',
  testMatch: 'default-mock-ready.spec.ts',
  outputDir: 'test-results-readiness',
  workers: 1,
  retries: 0,
  forbidOnly: !!process.env.CI,
  timeout: 360_000,
  globalTimeout: 420_000,
  reporter: [
    ['list'],
    ['html', { outputFolder: 'playwright-report-readiness', open: 'never' }],
    ['junit', { outputFile: 'test-results-readiness/junit.xml' }],
  ],
  use: {
    ...devices['Desktop Chrome'],
    baseURL: preferredBrowserBaseURL(),
    ignoreHTTPSErrors: ['1', 'true', 'yes', 'on'].includes(
      String(process.env.PULSE_E2E_INSECURE_TLS || '').trim().toLowerCase(),
    ),
  },
});