✔ old business response is discarded when the active membership changes (5.010917ms)
✔ private calls carry business context but session discovery can detect another-tab switch (0.361375ms)
✔ failed write retains retry id, while an account switch clears it (6.298958ms)
✔ portal requests are independent of staff context changes (1.523334ms)
✔ private image response is discarded across an account switch (1.284375ms)
✔ private image lease is revoked on context change and release is idempotent (0.567042ms)
✔ staff switch does not revoke a customer portal image (0.146792ms)
✔ upload retry identity includes bytes, not just endpoint (7.058166ms)
✔ opening another preview does not announce an account switch; login does (2.07675ms)
✔ private PDF arriving after a customer session switch is discarded before download (0.348459ms)
✔ private PDF uses business context and only downloads confirmed PDF responses (22.559583ms)
✔ customer CSV cannot download after an owner business switch (0.150042ms)
✔ customer CSV enforces type and downloads the safe filename with credentials and business scope (0.261584ms)
✔ Week and day navigation cross months, years and UK clocks without shifting dates (6.463666ms)
✔ Midnight endings are exclusive while all-day end dates are inclusive (0.083333ms)
✔ Repeated UK hour shows distinguishable summer and winter clock labels (36.36475ms)
✔ matching contacts never select identity; inactive records cannot be transfer choices (4.74075ms)
✔ confirmation uses the exact preview rather than later selection and preserves false acknowledgement (0.249208ms)
✔ export filter is encoded and completion rows contain only explicitly selected exact evidence (0.5765ms)
✔ fractional lines round half up in integer pence before subtotal and VAT (0.525125ms)
✔ percentage deposit rounds half up and leaves the exact remaining pence (0.43275ms)
✔ invalid deposit percentages and sub-penny deposits are rejected (0.679334ms)
✔ stage editing cannot silently drop or add a penny (0.167083ms)
✔ public permission defaults to no projection and no rating (1.427042ms)
✔ approved statement retains exact customer text (0.097583ms)
✔ approval requires explicit boolean and nonempty exact fields (0.245916ms)
✔ projection bounds are enforced (0.099791ms)
✔ unconfirmed response does not produce a payload (0.1095ms)
✔ response keeps private answers separate from optional publication (0.969667ms)
✔ all four ratings and recommendation require a deliberate valid choice (0.161458ms)
✔ publication uses the exact current approved preview hash and version (0.089292ms)
✔ the repeated autumn hour requires the selected actual offset (36.029625ms)
✔ spring clock gap and seasonally incorrect offsets are rejected (1.141916ms)
✔ London date and intervals remain the same on a computer in another timezone (0.517ms)
✔ incomplete, reversed and zero-duration correction inputs are rejected before saving (0.400792ms)
✔ customer price starts blank and no private source details become a document line (0.077083ms)
✔ timer display permits long captures but never negative elapsed time (0.069709ms)
✔ quoted commas, multiline text, escaped quotes, CRLF and blank lines (0.996916ms)
✔ auto mapping and preview require explicit valid prices; no NaN/default repairs (0.359417ms)
✔ column mapping, row limits, reviewed price overrides and invalid costs (0.620625ms)
✔ reopened saved rows and reordered object fields are clean (0.598125ms)
✔ equivalent valid price and quantity spellings do not create unsaved changes (1.816667ms)
✔ every catalogue edit is protected and reverting to saved values is clean (0.349291ms)
✔ blank optional prices, zero and invalid numeric input remain distinct (0.353041ms)
✔ job selection, purchasing dates, notes and applied previous-price values are protected (0.349208ms)
✔ supplier reference edits, additions and removals are protected (0.328209ms)
✔ catalogue selection and CSV mapping or programmatic overrides are protected (0.293375ms)
✔ a persisted changed price becomes a clean reopened baseline (0.137417ms)
✔ comparison pairs render before then after without changing stored order (1.401042ms)
✔ reorder preserves identity and bounds (0.206458ms)
✔ public drafts and selected photos start with fresh public text (2.577459ms)
✔ response binds to displayed version and saved snapshot with deliberate confirmation (1.371334ms)
✔ expired quote cannot produce a response payload (0.077333ms)
✔ superseded quote cannot produce a response payload (0.515125ms)
✔ draft quote cannot produce a response payload (0.046166ms)
✔ already accepted quote cannot produce a response payload (0.043208ms)
✔ declined quote cannot produce a response payload (0.037416ms)
✔ missing snapshot review is rejected (0.082792ms)
✔ PDF links remain private and scoped to exact document or stage (0.079458ms)
✔ portal 401 clears private context and image leases, rejects old work and preserves staff access (4.164ms)
✔ public credential errors and another customer document 404 do not end a valid portal context (4.191583ms)
✔ focus, visibility and visible periodic checks preserve a valid context without resetting forms (2.085209ms)
✔ owner revoke, reissue, contact update and legacy rotation revalidate without blindly signing out (1.926458ms)
✔ another-tab access notice checks the active account and clears it only when validation fails (0.776083ms)
✔ customer identity changes clear old content even if the browser cookie now authenticates successfully (0.613583ms)
✔ business identity changes clear old content even if the browser cookie now authenticates successfully (0.501083ms)
✔ unreachable validation fails closed and overlapping focus checks coalesce (1.168ms)
✔ validation deadline clears content and a late successful response cannot restore it (0.77375ms)
✔ stopping a watcher removes its deadline and ignores a late successful identity result (1.249792ms)
✔ apiImage clears current portal content on 401 but an old response cannot clear a newer session (0.486166ms)
✔ downloadPrivate clears current portal content on 401 but an old response cannot clear a newer session (0.417375ms)
✔ switching between week and month rules keeps valid explicit choices (2.264166ms)
✔ all-day conversion clears incompatible clock inputs (0.115875ms)
✔ single visit proposal retains original identity and requires fresh acknowledgement (0.072584ms)
✔ booking edits send booleans and exclude server and history fields (0.090292ms)
✔ suggested window is inclusive and bounded through DST (0.09175ms)
✔ month views include leap days and cross-year navigation (0.176416ms)
✔ range rejects reversed or over-62-day windows (0.099833ms)
✔ weekly windows and DST remain London calendar dates (0.058833ms)
✔ excluded placeholder can propose a reviewed single-date override without assuming a booking (0.09675ms)
✔ new request, edited filter, context change and unmount reject late success and failure (0.7605ms)
✔ drills use exact customer/resource IDs and one metric, never matching names or allocating money (0.116791ms)
✔ supporting row pages disclose full totals and do not lose the final partial page (0.162291ms)
✔ exports bind applied filters and exact snapshot, not draft input; time displays exact minutes (0.706125ms)
✔ reordering is bounded, preserves identities and leaves the saved array untouched (0.691666ms)
✔ new page starts unpublished with independent editable content (1.862208ms)
✔ page and service routes resolve exactly and links retain the business prefix (0.092125ms)
✔ light and dark branding retain a contrasting button text colour (0.086583ms)
✔ ready reviews exclude closed, snoozed and ineligible history (0.385666ms)
✔ snooze expiry uses the server effective state (0.07575ms)
✔ only preparation writes a draft and only snooze writes its date (0.084292ms)
✔ review confirmation is not inferred from a filled draft (0.345166ms)
✔ tag input retains duplicates for server validation (0.327416ms)
✔ all established workspace labels remain reachable alongside new sections (0.066458ms)
ℹ tests 94
ℹ suites 0
ℹ pass 94
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 213.430791
