✔ old business response is discarded when the active membership changes (1.8195ms)
✔ private calls carry business context but session discovery can detect another-tab switch (0.161083ms)
✔ failed write retains retry id, while an account switch clears it (7.470042ms)
✔ portal requests are independent of staff context changes (0.472ms)
✔ private image response is discarded across an account switch (0.554125ms)
✔ private image lease is revoked on context change and release is idempotent (0.746041ms)
✔ staff switch does not revoke a customer portal image (0.203625ms)
✔ upload retry identity includes bytes, not just endpoint (3.451458ms)
✔ opening another preview does not announce an account switch; login does (2.030875ms)
✔ private PDF arriving after a customer session switch is discarded before download (0.265209ms)
✔ private PDF uses business context and only downloads confirmed PDF responses (25.695584ms)
✔ customer CSV cannot download after an owner business switch (0.183542ms)
✔ customer CSV enforces type and downloads the safe filename with credentials and business scope (0.279ms)
✔ Week and day navigation cross months, years and UK clocks without shifting dates (5.714792ms)
✔ Midnight endings are exclusive while all-day end dates are inclusive (0.087ms)
✔ Repeated UK hour shows distinguishable summer and winter clock labels (33.102917ms)
✔ matching contacts never select identity; inactive records cannot be transfer choices (2.419875ms)
✔ confirmation uses the exact preview rather than later selection and preserves false acknowledgement (0.091375ms)
✔ export filter is encoded and completion rows contain only explicitly selected exact evidence (0.2055ms)
✔ fractional lines round half up in integer pence before subtotal and VAT (0.905875ms)
✔ percentage deposit rounds half up and leaves the exact remaining pence (1.325167ms)
✔ invalid deposit percentages and sub-penny deposits are rejected (0.250791ms)
✔ stage editing cannot silently drop or add a penny (0.258375ms)
✔ opening a saved job and inspecting read-only history leaves editable facts clean (1.24525ms)
✔ job status changes and exact reversion are detected (0.273333ms)
✔ job notes changes and exact reversion are detected (0.104375ms)
✔ job scheduled_date changes and exact reversion are detected (0.082791ms)
✔ private job metadata priority stays protected (0.087333ms)
✔ private job metadata next_action stays protected (0.059542ms)
✔ private job metadata next_action_date stays protected (0.048958ms)
✔ private job metadata last_contact_date stays protected (0.04275ms)
✔ private job metadata completed_date stays protected (0.059ms)
✔ private job metadata postcode_group stays protected (0.126833ms)
✔ private job metadata archived stays protected (0.653333ms)
✔ private job metadata followup_excluded stays protected (0.293833ms)
✔ valid equivalent tag case, spacing and order are clean; duplicate or invalid tags stay dirty (0.151417ms)
✔ a confirmed save advances only the saved snapshot, including after reopening (0.09125ms)
✔ failed and stale save attempts do not advance a draft baseline (0.322583ms)
✔ successful in-flight save accepts only the submitted values and preserves later text (0.374291ms)
✔ quote values cover each line, VAT, both dates and customer notes (0.222458ms)
✔ opening or cancelling a time editor is clean; blank override differs from an explicit zero rate (0.126334ms)
✔ transfer selection, reason and confirmation matter; object property order does not (0.107041ms)
✔ file selections and photo sharing fields remain distinct from viewing a photo (0.065542ms)
✔ clean leave executes immediately without a pending confirmation (4.19375ms)
✔ Keep editing and Escape cancellation execute nothing and preserve the selected draft (0.109583ms)
✔ dirty leave has one owner and repeated requests retain the first intended destination (0.676667ms)
✔ clean repeated clicks and async discard cannot execute twice or start a background action (0.926958ms)
✔ a failed logout exposes its error without changing private draft values (0.341625ms)
✔ an identity reset cancels pending leave and ignores completion from its old context (0.31325ms)
✔ selection rejects unsafe names, empty and oversized files but accepts supported size boundaries (1.208458ms)
✔ real HEIC content is selected without a native browser decoder or a misleading preview (9.269042ms)
✔ HEIF header checks do not accept a renamed non-image or an AVIF brand (0.18025ms)
✔ photo rejection 413 preserves selected bytes and permits a corrected retry (1.331541ms)
✔ photo rejection 415 preserves selected bytes and permits a corrected retry (0.155416ms)
✔ photo rejection 422 preserves selected bytes and permits a corrected retry (0.160084ms)
✔ selection checks image signatures instead of trusting extensions or declared MIME (0.08125ms)
✔ visitor sends without cookies; a successful result exposes no receipt or private references (0.233917ms)
✔ concurrent clicks coalesce into one logical request (0.860416ms)
✔ lost response retains exact payload/key; edits are blocked until the unchanged retry succeeds (0.713458ms)
✔ a stalled request times out and retries the identical logical enquiry (11.94875ms)
✔ ambiguous HTTP 408 retains the logical operation (0.73625ms)
✔ ambiguous HTTP 500 retains the logical operation (0.215125ms)
✔ ambiguous HTTP 503 retains the logical operation (0.134792ms)
✔ malformed success is uncertain and never produces a successful-looking enquiry (0.17375ms)
✔ validation error allows correction without discarding the selected files or date (0.185375ms)
✔ a deliberately separate matching-contact enquiry has a new operation identity (0.170375ms)
✔ public permission defaults to no projection and no rating (2.286834ms)
✔ approved statement retains exact customer text (0.098625ms)
✔ approval requires explicit boolean and nonempty exact fields (0.1215ms)
✔ projection bounds are enforced (0.107708ms)
✔ unconfirmed response does not produce a payload (0.123833ms)
✔ response keeps private answers separate from optional publication (0.152417ms)
✔ all four ratings and recommendation require a deliberate valid choice (0.149583ms)
✔ publication uses the exact current approved preview hash and version (0.088167ms)
✔ the repeated autumn hour requires the selected actual offset (18.653416ms)
✔ spring clock gap and seasonally incorrect offsets are rejected (0.986291ms)
✔ London date and intervals remain the same on a computer in another timezone (0.883333ms)
✔ incomplete, reversed and zero-duration correction inputs are rejected before saving (1.480042ms)
✔ customer price starts blank and no private source details become a document line (0.358125ms)
✔ timer display permits long captures but never negative elapsed time (0.163625ms)
✔ quoted commas, multiline text, escaped quotes, CRLF and blank lines (0.81525ms)
✔ auto mapping and preview require explicit valid prices; no NaN/default repairs (1.368292ms)
✔ column mapping, row limits, reviewed price overrides and invalid costs (0.424458ms)
✔ reopened saved rows and reordered object fields are clean (0.587459ms)
✔ equivalent valid price and quantity spellings do not create unsaved changes (1.388583ms)
✔ every catalogue edit is protected and reverting to saved values is clean (0.468833ms)
✔ blank optional prices, zero and invalid numeric input remain distinct (0.490083ms)
✔ job selection, purchasing dates, notes and applied previous-price values are protected (0.92225ms)
✔ supplier reference edits, additions and removals are protected (0.456792ms)
✔ catalogue selection and CSV mapping or programmatic overrides are protected (0.358167ms)
✔ a persisted changed price becomes a clean reopened baseline (0.217417ms)
✔ comparison pairs render before then after without changing stored order (0.708834ms)
✔ reorder preserves identity and bounds (0.093792ms)
✔ public drafts and selected photos start with fresh public text (2.405125ms)
✔ response binds to displayed version and saved snapshot with deliberate confirmation (1.76575ms)
✔ expired quote cannot produce a response payload (0.165542ms)
✔ superseded quote cannot produce a response payload (0.684125ms)
✔ draft quote cannot produce a response payload (0.067791ms)
✔ already accepted quote cannot produce a response payload (0.050083ms)
✔ declined quote cannot produce a response payload (0.040375ms)
✔ missing snapshot review is rejected (0.09225ms)
✔ PDF links remain private and scoped to exact document or stage (0.083208ms)
✔ a preview never requests private draft content without valid matching owner access (5.283708ms)
✔ draft preview loads once under exact owner access; valid checks do not replace its saved content (1.230334ms)
✔ owner context changes clear a loaded preview while customer context changes do not (0.915541ms)
✔ preview invalidates changed owner context slug (0.783083ms)
✔ preview invalidates changed owner context role (0.74625ms)
✔ preview invalidates changed owner context membership_id (1.007375ms)
✔ preview invalidates changed owner context csrf (0.86225ms)
✔ unavailable preview validation clears access and does not reload draft content (1.577375ms)
✔ logout during an initial draft load prevents its late response from exposing content (2.26075ms)
✔ preview deadline fails closed, coalesces checks and ignores late success (1.01975ms)
✔ closing a preview cancels listeners and ignores a pending load without reporting lost access (0.7225ms)
✔ private gallery preview loads under owner access once and valid checks retain its saved content (0.752083ms)
✔ gallery preview clears all held draft content on owner logout or account broadcast (2.529958ms)
✔ gallery preview clears changed owner business_id (2.09925ms)
✔ gallery preview clears changed owner slug (1.888125ms)
✔ gallery preview clears changed owner role (1.387459ms)
✔ gallery preview clears changed owner membership_id (1.513667ms)
✔ gallery preview clears changed owner csrf (1.909834ms)
✔ gallery preview rejects staff access and an unavailable exact-business project (0.807416ms)
✔ gallery preview cannot reappear from a late private response after access ends (0.696917ms)
✔ gallery preview fails closed when validation is unavailable and leaves no active polling (0.630958ms)
✔ gallery preview deadline ignores late load and closing cancels pending access (1.290583ms)
✔ feedback validation is request-only and valid checks never replace draft inputs (2.315458ms)
✔ contact, transfer and feedback changes revalidate without broadcasting codes or private answers (2.371083ms)
✔ feedback validation failure 401 clears only the request view (0.874375ms)
✔ feedback validation failure 404 clears only the request view (0.977458ms)
✔ feedback validation failure 503 clears only the request view (0.609458ms)
✔ feedback checks coalesce, time out closed and cannot revive a view with a late result (0.622291ms)
✔ stopped feedback checks ignore a late rejection and release all timers and listeners (0.62125ms)
✔ portal 401 clears private context and image leases, rejects old work and preserves staff access (2.047875ms)
✔ public credential errors and another customer document 404 do not end a valid portal context (0.8065ms)
✔ focus, visibility and visible periodic checks preserve a valid context without resetting forms (5.162125ms)
✔ owner revoke, reissue, contact update and legacy rotation revalidate without blindly signing out (2.007334ms)
✔ another-tab access notice checks the active account and clears it only when validation fails (1.110917ms)
✔ customer identity changes clear old content even if the browser cookie now authenticates successfully (1.188542ms)
✔ business identity changes clear old content even if the browser cookie now authenticates successfully (0.726709ms)
✔ unreachable validation fails closed and overlapping focus checks coalesce (0.683ms)
✔ validation deadline clears content and a late successful response cannot restore it (0.572084ms)
✔ stopping a watcher removes its deadline and ignores a late successful identity result (0.563125ms)
✔ apiImage clears current portal content on 401 but an old response cannot clear a newer session (0.483709ms)
✔ downloadPrivate clears current portal content on 401 but an old response cannot clear a newer session (0.457708ms)
✔ install verifies every exact asset, never caches HTML navigation, and never forces activation (33.459083ms)
✔ corrupt, missing, redirected and wrong-type shell responses fail installation without touching previous caches (9.936166ms)
✔ all mutations, APIs, private images/documents, queries, ranges and foreign requests bypass cache (2.291417ms)
✔ fresh navigations are network-only; offline and 503 return neutral fallback without recording URL or credentials (2.959208ms)
✔ old hashed bundles coexist; unknown assets are never learned or read from unrelated caches (6.40075ms)
✔ cleanup retains old/unresponsive tabs and removes only our obsolete namespace when all current (1505.787959ms)
✔ updates require every tab to prepare; dirty/uncertain/unresponsive/changed tab sets postpone (1518.651334ms)
✔ only a deliberate request from a window with all safe responses can activate (4.980333ms)
✔ switching between week and month rules keeps valid explicit choices (2.819625ms)
✔ all-day conversion clears incompatible clock inputs (0.222875ms)
✔ single visit proposal retains original identity and requires fresh acknowledgement (0.212292ms)
✔ booking edits send booleans and exclude server and history fields (0.179167ms)
✔ suggested window is inclusive and bounded through DST (0.156875ms)
✔ month views include leap days and cross-year navigation (0.384625ms)
✔ range rejects reversed or over-62-day windows (0.245709ms)
✔ weekly windows and DST remain London calendar dates (0.163958ms)
✔ excluded placeholder can propose a reviewed single-date override without assuming a booking (0.250875ms)
✔ new request, edited filter, context change and unmount reject late success and failure (0.701208ms)
✔ drills use exact customer/resource IDs and one metric, never matching names or allocating money (0.109833ms)
✔ supporting row pages disclose full totals and do not lose the final partial page (0.148458ms)
✔ exports bind applied filters and exact snapshot, not draft input; time displays exact minutes (1.051042ms)
✔ service enquiry uses only the exact published business service and keeps its canonical title (0.476584ms)
✔ reordering is bounded, preserves identities and leaves the saved array untouched (0.36475ms)
✔ new page starts unpublished with independent editable content (2.60925ms)
✔ page and service routes resolve exactly and links retain the business prefix (0.105542ms)
✔ light and dark branding retain a contrasting button text colour (0.095625ms)
✔ draft, timer and in-flight blocks compose and are released independently (0.461583ms)
✔ new requests wait for the bounded update hold without starting or losing work (0.61075ms)
✔ unresolved ordinary saves block updates, reuse their operation ID, and known outcomes clear the block (2.343541ms)
✔ the form safety net detects edited mounted fields, accepts reversal and ignores removed forms (0.189625ms)
✔ registration does not reload on controller change; clean tab holds/release and old protocol is ignored (1.388417ms)
✔ dirty local page refuses update before contacting the worker and leaves current UI intact (0.810583ms)
✔ ready reviews exclude closed, snoozed and ineligible history (0.50825ms)
✔ snooze expiry uses the server effective state (0.086583ms)
✔ only preparation writes a draft and only snooze writes its date (0.0915ms)
✔ review confirmation is not inferred from a filled draft (0.665625ms)
✔ tag input retains duplicates for server validation (0.429ms)
✔ all established workspace labels remain reachable alongside new sections (0.083208ms)
ℹ tests 181
ℹ suites 0
ℹ pass 181
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 3267.4345
