mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-11-29 01:08:56 +01:00
The 47-inline-selection-scroll-stability spec sat in QUARANTINED_SPECS with no reason, so it never ran. Its five tests opened routes the platform-first IA retired: /infrastructure (now an entry route that redirects to the first visible platform page, with settings and alerts as fallbacks), and /recovery, /workloads and /storage (no route matches, so NotFoundPage renders). Inline detail drawers and local row selection are still live on the platform pages, so each test was judged on what it describes: - Infrastructure inline detail: deleted. The Proxmox host rows run showGuests on click and only the chevron opens the node drawer, which has no reveal behaviour to pin. - Recovery protected-item selection: deleted. There is no Recovery page, rollupId URL or history item filter left in the frontend. - Workload reveal, workload keyboard open/close, storage pool reveal: ported to /proxmox/overview and /proxmox/storage with the current selectors (tr[data-guest-id], tr[data-summary-series-id], [data-inline-detail-for], the disclosure button's aria-controls). The old assertions waited 350 ms and measured once, which cannot tell a reveal that never ran from one that landed and then moved. The port observes the row, its detail and the scroll shell on every animation frame from before the click until the layout has settled and held, and fails on a late second scroll, a close that moves the row or scrolls the shell, any history write (even to the same URL), or a keyboard toggle that does nothing. The storage test opens ?sort=host&order=asc because the default Priority sort reorders pools on live utilisation. Moves the spec from QUARANTINED_SPECS to PROBATION_SPECS. Probation runs in the Core E2E workflow on pushes (not on pull requests) without gating the verdict, and the spec earns promotion under the existing 10-run rule. Checked on pulse-dev against a managed local backend with the CI-size mock estate (50 nodes, 929 guests): - unmodified spec, default harness timeouts: Chromium x6 repeats 18 of 18 passed; all three CI projects passed with the mobile tests skipped - negative controls on one build with the mutations switched by a user-agent marker: no reveal, hard-centred row, row pinned to the top, late jump, jump and return, selection written to the URL, close that jumps or blips, and a dead keyboard handler each fail the intended assertion, and the inert runs on the same build pass - check-e2e-tiering.mjs: stable tier unchanged (57 files, 366 instances), probation 42 -> 43 files and 555 -> 564 instances, quarantined 2 -> 1; a tree that leaves the spec in both tiers is rejected with the overlap error
77 lines
3.5 KiB
JavaScript
77 lines
3.5 KiB
JavaScript
/**
|
|
* Specs that are deliberately not run. Quarantine is reserved for known,
|
|
* unresolved product/spec incompatibilities and is never an automatic result
|
|
* of an infrastructure failure.
|
|
*/
|
|
export const QUARANTINED_SPECS = [
|
|
// Multi-tenant scenarios 6/7 have an unresolved org-resolution bug (see
|
|
// core-e2e-failure-taxonomy): after switchOrg+reload the UI still resolves
|
|
// the default org. CI runs a multi-tenant environment, so delisting this
|
|
// spec turns that open bug into a permanent red.
|
|
'**/03-multi-tenant.spec.ts',
|
|
];
|
|
|
|
/**
|
|
* Specs that run on every push but do not gate the Core E2E verdict. The
|
|
* stable tier is every non-quarantined spec not listed here.
|
|
*
|
|
* Audit (2026-08-11): the 10 most recent completed main workflow records at
|
|
* 2026-08-11T20:22:40Z contained six executed runs and four concurrency
|
|
* cancellations with no jobs. Only explicit Playwright `failed` or `flaky`
|
|
* summaries in the 48 executed shard logs count as incidents; progress lines
|
|
* and cancelled/non-executed runs do not. The audit found 13 stable-spec
|
|
* incidents and no shard-wide environment collapse. Existing probation specs
|
|
* remain because six evidence-bearing runs cannot prove the promotion rule.
|
|
*
|
|
* Promotion rule: a spec returns to stable after 10 consecutive executed Core
|
|
* E2E runs on main with neither a failure nor a retry-pass (`flaky`). Demotion
|
|
* rule: one genuine spec failure/flake on main returns a stable spec here. A
|
|
* shared environment or runner failure is recorded separately and never
|
|
* demotes every spec that happened to be scheduled on the affected shard.
|
|
*/
|
|
export const PROBATION_SPECS = [
|
|
'**/01-core-e2e.spec.ts',
|
|
'**/02-navigation-perf.spec.ts',
|
|
'**/04-mobile.spec.ts',
|
|
'**/05-settings-mobile-audit.spec.ts',
|
|
'**/06-theme-visual.spec.ts',
|
|
'**/11-first-session.spec.ts',
|
|
'**/15-settings-shell-consistency.spec.ts',
|
|
'**/20-local-doc-links.spec.ts',
|
|
'**/21-truenas-connections-workspace.spec.ts',
|
|
'**/28-truenas-alert-resource-links.spec.ts',
|
|
'**/38-vmware-ai-chat-mentions.spec.ts',
|
|
'**/39-vmware-resource-detail-drawer.spec.ts',
|
|
'**/40-vmware-storage-source-filter.spec.ts',
|
|
'**/41-vmware-phase1-exclusion-integrity.spec.ts',
|
|
'**/42-vmware-ai-chat-read-recovery.spec.ts',
|
|
'**/43-platform-mock-runtime.spec.ts',
|
|
'**/44-workloads-chart-spacing.spec.ts',
|
|
'**/45-workloads-memory-tail.spec.ts',
|
|
'**/46-storage-summary-continuity.spec.ts',
|
|
'**/47-inline-selection-scroll-stability.spec.ts',
|
|
'**/49-demo-scenario-curation.spec.ts',
|
|
'**/50-storage-physical-disk-io-history.spec.ts',
|
|
'**/52-ai-settings-provider-setup.spec.ts',
|
|
'**/53-demo-mode-commercial-boundary.spec.ts',
|
|
'**/55-self-hosted-upgrade-return.spec.ts',
|
|
'**/56-pulse-account-upgrade-bootstrap.spec.ts',
|
|
'**/59-self-hosted-plans-entitlement-summary.spec.ts',
|
|
'**/59-workloads-column-layout.spec.ts',
|
|
'**/62-storage-growth-column.spec.ts',
|
|
'**/64-workloads-proxmox-refresh-stability.spec.ts',
|
|
'**/68-infrastructure-onboarding.spec.ts',
|
|
'**/68-platform-pages-shell.spec.ts',
|
|
'**/70-self-hosted-manual-activation-success.spec.ts',
|
|
'**/75-agent-integrations-surface-contract.spec.ts',
|
|
'**/76-assistant-tool-output-preview.spec.ts',
|
|
'**/77-msp-isolation.spec.ts',
|
|
'**/78-monitor-first-patrol-workbench.spec.ts',
|
|
'**/79-update-flow.spec.ts',
|
|
'**/81-actions-inbox.spec.ts',
|
|
'**/90-operational-trust-protection-posture.spec.ts',
|
|
'**/91-operational-trust-attention-workbench.spec.ts',
|
|
'**/91-proxmox-node-display-names.spec.ts',
|
|
'**/92-operational-trust-availability-facet.spec.ts',
|
|
];
|