mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-11-30 09:32:45 +01:00
Main E2E 38020587365 exhausted twenty shared-readiness/login failures over 47 minutes, then probation hit the job limit before stable report uploads. Admit the same authenticated inventory and pool/disk history once before either tier, without retries or ignored failures, and upload completed stable failures before observational work. Share the existing readiness predicates and cover every identity/history requirement, actual spec cleanup and the workflow fail-fast command. Preserve phase thresholds, test tiers, pins and the stable verdict. This does not diagnose the hosted runtime failure. Change-source: pulse-maintainer
28 lines
947 B
TypeScript
28 lines
947 B
TypeScript
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(),
|
|
),
|
|
},
|
|
});
|