Files
Pulse/tests/integration/playwright.multi-tenant-diagnostic.config.ts
pulse-triage[bot] 0b73d36011 test(e2e): separate quarantined multi-tenant diagnostic from tier gates
The shell multi-tenant suite previously selected a spec ignored by every project, preventing real backend diagnosis. Add an explicit desktop-only configuration that rejects tier identity, while retaining the normal quarantine. Cover discovery and tier refusal and document the evidence boundaries. A local source-built diagnostic returned five passes, one failure at organisation-switch login, and one skip; this is not release qualification.

Change-source: pulse-maintainer
2026-09-05 14:39:37 +01:00

25 lines
878 B
TypeScript

import { defineConfig } from '@playwright/test';
import base from './playwright.config';
// Deliberately separate from stable/probation CI. A diagnostic result cannot
// promote this quarantined spec or be substituted for a stable-tier verdict.
if (process.env.PULSE_E2E_TIER?.trim()) {
throw new Error('Multi-tenant diagnostics cannot run as an E2E tier; unset PULSE_E2E_TIER');
}
export default defineConfig({
...base,
testMatch: ['**/03-multi-tenant.spec.ts'],
outputDir: process.env.PULSE_E2E_RESULTS_DIR || 'test-results/multi-tenant-diagnostic',
reporter: [
['list'],
['html', {
outputFolder: process.env.PULSE_E2E_REPORT_DIR || 'playwright-report/multi-tenant-diagnostic',
open: 'never',
}],
],
projects: base.projects!
.filter(project => project.name === 'chromium')
.map(project => ({ ...project, testIgnore: [] })),
});