✔ old business response is discarded when the active membership changes (1.623042ms)
✔ private calls carry business context but session discovery can detect another-tab switch (0.136625ms)
✔ failed write retains retry id, while an account switch clears it (3.864458ms)
✔ portal requests are independent of staff context changes (1.054125ms)
✔ private image response is discarded across an account switch (0.689166ms)
✔ private image lease is revoked on context change and release is idempotent (0.527333ms)
✔ staff switch does not revoke a customer portal image (0.158042ms)
✔ upload retry identity includes bytes, not just endpoint (4.971458ms)
✔ opening another preview does not announce an account switch; login does (1.311125ms)
✔ private PDF arriving after a customer session switch is discarded before download (0.651667ms)
✔ private PDF uses business context and only downloads confirmed PDF responses (24.5495ms)
✔ customer CSV cannot download after an owner business switch (0.390167ms)
✔ customer CSV enforces type and downloads the safe filename with credentials and business scope (0.445125ms)
✔ Week and day navigation cross months, years and UK clocks without shifting dates (4.772333ms)
✔ Midnight endings are exclusive while all-day end dates are inclusive (0.081583ms)
✔ Repeated UK hour shows distinguishable summer and winter clock labels (27.545334ms)
✔ matching contacts never select identity; inactive records cannot be transfer choices (1.5055ms)
✔ confirmation uses the exact preview rather than later selection and preserves false acknowledgement (0.0975ms)
✔ export filter is encoded and completion rows contain only explicitly selected exact evidence (0.177083ms)
✔ fractional lines round half up in integer pence before subtotal and VAT (1.108666ms)
✔ percentage deposit rounds half up and leaves the exact remaining pence (0.938958ms)
✔ invalid deposit percentages and sub-penny deposits are rejected (1.087458ms)
✔ stage editing cannot silently drop or add a penny (0.287209ms)
✔ public permission defaults to no projection and no rating (0.789625ms)
✔ approved statement retains exact customer text (0.089375ms)
✔ approval requires explicit boolean and nonempty exact fields (0.123125ms)
✔ projection bounds are enforced (0.201333ms)
✔ unconfirmed response does not produce a payload (0.206125ms)
✔ response keeps private answers separate from optional publication (0.232417ms)
✔ all four ratings and recommendation require a deliberate valid choice (0.267875ms)
✔ publication uses the exact current approved preview hash and version (0.1595ms)
✔ the repeated autumn hour requires the selected actual offset (32.598208ms)
✔ spring clock gap and seasonally incorrect offsets are rejected (0.485708ms)
✔ London date and intervals remain the same on a computer in another timezone (0.487875ms)
✔ incomplete, reversed and zero-duration correction inputs are rejected before saving (0.422875ms)
✔ customer price starts blank and no private source details become a document line (0.080041ms)
✔ timer display permits long captures but never negative elapsed time (0.074708ms)
✔ quoted commas, multiline text, escaped quotes, CRLF and blank lines (0.982625ms)
✔ auto mapping and preview require explicit valid prices; no NaN/default repairs (0.388667ms)
✔ column mapping, row limits, reviewed price overrides and invalid costs (0.953125ms)
✔ reopened saved rows and reordered object fields are clean (0.593833ms)
✔ equivalent valid price and quantity spellings do not create unsaved changes (0.631625ms)
✔ every catalogue edit is protected and reverting to saved values is clean (0.112875ms)
✔ blank optional prices, zero and invalid numeric input remain distinct (0.141375ms)
✔ job selection, purchasing dates, notes and applied previous-price values are protected (0.135833ms)
✔ supplier reference edits, additions and removals are protected (0.154ms)
✔ catalogue selection and CSV mapping or programmatic overrides are protected (0.143625ms)
✔ a persisted changed price becomes a clean reopened baseline (0.063875ms)
✔ comparison pairs render before then after without changing stored order (0.926959ms)
✔ reorder preserves identity and bounds (0.220792ms)
✔ public drafts and selected photos start with fresh public text (2.837416ms)
✔ response binds to displayed version and saved snapshot with deliberate confirmation (2.044875ms)
✔ expired quote cannot produce a response payload (0.234459ms)
✔ superseded quote cannot produce a response payload (0.807791ms)
✔ draft quote cannot produce a response payload (0.08ms)
✔ already accepted quote cannot produce a response payload (0.058583ms)
✔ declined quote cannot produce a response payload (0.042083ms)
✔ missing snapshot review is rejected (0.169583ms)
✔ PDF links remain private and scoped to exact document or stage (0.103667ms)
✔ a preview never requests private draft content without valid matching owner access (3.842459ms)
✔ draft preview loads once under exact owner access; valid checks do not replace its saved content (4.376375ms)
✔ owner context changes clear a loaded preview while customer context changes do not (2.412375ms)
✔ preview invalidates changed owner context slug (0.942708ms)
✔ preview invalidates changed owner context role (0.734917ms)
✔ preview invalidates changed owner context membership_id (0.680167ms)
✔ preview invalidates changed owner context csrf (0.607ms)
✔ unavailable preview validation clears access and does not reload draft content (0.665166ms)
✔ logout during an initial draft load prevents its late response from exposing content (0.672ms)
✔ preview deadline fails closed, coalesces checks and ignores late success (0.571167ms)
✔ closing a preview cancels listeners and ignores a pending load without reporting lost access (0.497209ms)
✔ feedback validation is request-only and valid checks never replace draft inputs (2.464875ms)
✔ contact, transfer and feedback changes revalidate without broadcasting codes or private answers (3.832041ms)
✔ feedback validation failure 401 clears only the request view (1.618917ms)
✔ feedback validation failure 404 clears only the request view (0.667583ms)
✔ feedback validation failure 503 clears only the request view (0.751333ms)
✔ feedback checks coalesce, time out closed and cannot revive a view with a late result (0.588167ms)
✔ stopped feedback checks ignore a late rejection and release all timers and listeners (0.520041ms)
✔ portal 401 clears private context and image leases, rejects old work and preserves staff access (1.426375ms)
✔ public credential errors and another customer document 404 do not end a valid portal context (0.591042ms)
✔ focus, visibility and visible periodic checks preserve a valid context without resetting forms (1.191416ms)
✔ owner revoke, reissue, contact update and legacy rotation revalidate without blindly signing out (2.234375ms)
✔ another-tab access notice checks the active account and clears it only when validation fails (1.671375ms)
✔ customer identity changes clear old content even if the browser cookie now authenticates successfully (1.376916ms)
✔ business identity changes clear old content even if the browser cookie now authenticates successfully (0.649084ms)
✔ unreachable validation fails closed and overlapping focus checks coalesce (0.655625ms)
✔ validation deadline clears content and a late successful response cannot restore it (0.513625ms)
✔ stopping a watcher removes its deadline and ignores a late successful identity result (0.477041ms)
✔ apiImage clears current portal content on 401 but an old response cannot clear a newer session (0.434833ms)
✔ downloadPrivate clears current portal content on 401 but an old response cannot clear a newer session (0.424833ms)
✔ switching between week and month rules keeps valid explicit choices (1.535375ms)
✔ all-day conversion clears incompatible clock inputs (0.085917ms)
✔ single visit proposal retains original identity and requires fresh acknowledgement (0.06975ms)
✔ booking edits send booleans and exclude server and history fields (0.088167ms)
✔ suggested window is inclusive and bounded through DST (0.078291ms)
✔ month views include leap days and cross-year navigation (0.158541ms)
✔ range rejects reversed or over-62-day windows (0.106792ms)
✔ weekly windows and DST remain London calendar dates (0.061292ms)
✔ excluded placeholder can propose a reviewed single-date override without assuming a booking (0.1075ms)
✔ new request, edited filter, context change and unmount reject late success and failure (0.727292ms)
✔ drills use exact customer/resource IDs and one metric, never matching names or allocating money (0.1075ms)
✔ supporting row pages disclose full totals and do not lose the final partial page (0.146709ms)
✔ exports bind applied filters and exact snapshot, not draft input; time displays exact minutes (0.855666ms)
✔ service enquiry uses only the exact published business service and keeps its canonical title (0.438959ms)
✔ reordering is bounded, preserves identities and leaves the saved array untouched (0.351042ms)
✔ new page starts unpublished with independent editable content (2.977458ms)
✔ page and service routes resolve exactly and links retain the business prefix (0.103958ms)
✔ light and dark branding retain a contrasting button text colour (0.098459ms)
✔ ready reviews exclude closed, snoozed and ineligible history (0.384666ms)
✔ snooze expiry uses the server effective state (0.075416ms)
✔ only preparation writes a draft and only snooze writes its date (0.085708ms)
✔ review confirmation is not inferred from a filled draft (0.335292ms)
✔ tag input retains duplicates for server validation (0.339667ms)
✔ all established workspace labels remain reachable alongside new sections (0.064917ms)
ℹ tests 113
ℹ suites 0
ℹ pass 113
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 207.292584
