mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-12-03 18:43:38 +01:00
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
25 lines
878 B
TypeScript
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: [] })),
|
|
});
|