✔ old business response is discarded when the active membership changes (1.362833ms)
✔ private calls carry business context but session discovery can detect another-tab switch (0.154208ms)
✔ failed write retains retry id, while an account switch clears it (3.19075ms)
✔ portal requests are independent of staff context changes (0.440792ms)
✔ private image response is discarded across an account switch (0.743458ms)
✔ private image lease is revoked on context change and release is idempotent (0.909333ms)
✔ staff switch does not revoke a customer portal image (0.417416ms)
✔ upload retry identity includes bytes, not just endpoint (7.42725ms)
✔ opening another preview does not announce an account switch; login does (1.614083ms)
✔ private PDF arriving after a customer session switch is discarded before download (0.514417ms)
✔ private PDF uses business context and only downloads confirmed PDF responses (33.286541ms)
✔ customer CSV cannot download after an owner business switch (0.179084ms)
✔ customer CSV enforces type and downloads the safe filename with credentials and business scope (0.275083ms)
✔ Week and day navigation cross months, years and UK clocks without shifting dates (5.886875ms)
✔ Midnight endings are exclusive while all-day end dates are inclusive (0.233375ms)
✔ Repeated UK hour shows distinguishable summer and winter clock labels (43.67225ms)
✔ matching contacts never select identity; inactive records cannot be transfer choices (1.079667ms)
✔ confirmation uses the exact preview rather than later selection and preserves false acknowledgement (0.080166ms)
✔ export filter is encoded and completion rows contain only explicitly selected exact evidence (0.1445ms)
✔ fractional lines round half up in integer pence before subtotal and VAT (1.228125ms)
✔ percentage deposit rounds half up and leaves the exact remaining pence (0.484625ms)
✔ invalid deposit percentages and sub-penny deposits are rejected (0.919167ms)
✔ stage editing cannot silently drop or add a penny (0.440833ms)
✔ public permission defaults to no projection and no rating (0.7045ms)
✔ approved statement retains exact customer text (0.074ms)
✔ approval requires explicit boolean and nonempty exact fields (0.113542ms)
✔ projection bounds are enforced (0.064875ms)
✔ unconfirmed response does not produce a payload (0.081666ms)
✔ response keeps private answers separate from optional publication (0.0895ms)
✔ all four ratings and recommendation require a deliberate valid choice (0.124083ms)
✔ publication uses the exact current approved preview hash and version (0.076125ms)
✔ the repeated autumn hour requires the selected actual offset (48.443959ms)
✔ spring clock gap and seasonally incorrect offsets are rejected (0.433417ms)
✔ London date and intervals remain the same on a computer in another timezone (1.349ms)
✔ incomplete, reversed and zero-duration correction inputs are rejected before saving (0.487875ms)
✔ customer price starts blank and no private source details become a document line (0.087875ms)
✔ timer display permits long captures but never negative elapsed time (0.0775ms)
✔ quoted commas, multiline text, escaped quotes, CRLF and blank lines (1.980625ms)
✔ auto mapping and preview require explicit valid prices; no NaN/default repairs (1.048375ms)
✔ column mapping, row limits, reviewed price overrides and invalid costs (1.41325ms)
✔ reopened saved rows and reordered object fields are clean (0.868542ms)
✔ equivalent valid price and quantity spellings do not create unsaved changes (1.0955ms)
✔ every catalogue edit is protected and reverting to saved values is clean (0.124667ms)
✔ blank optional prices, zero and invalid numeric input remain distinct (2.224416ms)
✔ job selection, purchasing dates, notes and applied previous-price values are protected (0.410709ms)
✔ supplier reference edits, additions and removals are protected (0.193917ms)
✔ catalogue selection and CSV mapping or programmatic overrides are protected (0.394541ms)
✔ a persisted changed price becomes a clean reopened baseline (0.086084ms)
✔ comparison pairs render before then after without changing stored order (0.683666ms)
✔ reorder preserves identity and bounds (0.094125ms)
✔ public drafts and selected photos start with fresh public text (2.322042ms)
✔ response binds to displayed version and saved snapshot with deliberate confirmation (1.110333ms)
✔ expired quote cannot produce a response payload (0.078666ms)
✔ superseded quote cannot produce a response payload (0.522917ms)
✔ draft quote cannot produce a response payload (0.063125ms)
✔ already accepted quote cannot produce a response payload (0.051666ms)
✔ declined quote cannot produce a response payload (0.03775ms)
✔ missing snapshot review is rejected (0.086583ms)
✔ PDF links remain private and scoped to exact document or stage (0.083958ms)
✔ portal 401 clears private context and image leases, rejects old work and preserves staff access (6.83925ms)
✔ public credential errors and another customer document 404 do not end a valid portal context (2.432083ms)
✔ focus, visibility and visible periodic checks preserve a valid context without resetting forms (1.047583ms)
✔ owner revoke, reissue, contact update and legacy rotation revalidate without blindly signing out (0.997375ms)
✔ another-tab access notice checks the active account and clears it only when validation fails (0.701542ms)
✔ customer identity changes clear old content even if the browser cookie now authenticates successfully (0.568291ms)
✔ business identity changes clear old content even if the browser cookie now authenticates successfully (0.497958ms)
✔ unreachable validation fails closed and overlapping focus checks coalesce (0.614292ms)
✔ validation deadline clears content and a late successful response cannot restore it (0.5225ms)
✔ stopping a watcher removes its deadline and ignores a late successful identity result (0.482834ms)
✔ apiImage clears current portal content on 401 but an old response cannot clear a newer session (0.417208ms)
✔ downloadPrivate clears current portal content on 401 but an old response cannot clear a newer session (0.363584ms)
✔ switching between week and month rules keeps valid explicit choices (2.40975ms)
✔ all-day conversion clears incompatible clock inputs (0.090041ms)
✔ single visit proposal retains original identity and requires fresh acknowledgement (0.066875ms)
✔ booking edits send booleans and exclude server and history fields (0.091625ms)
✔ suggested window is inclusive and bounded through DST (0.078833ms)
✔ month views include leap days and cross-year navigation (0.155375ms)
✔ range rejects reversed or over-62-day windows (0.098708ms)
✔ weekly windows and DST remain London calendar dates (0.05625ms)
✔ excluded placeholder can propose a reviewed single-date override without assuming a booking (0.090875ms)
✔ new request, edited filter, context change and unmount reject late success and failure (0.7475ms)
✔ drills use exact customer/resource IDs and one metric, never matching names or allocating money (0.112417ms)
✔ supporting row pages disclose full totals and do not lose the final partial page (0.150125ms)
✔ exports bind applied filters and exact snapshot, not draft input; time displays exact minutes (1.465792ms)
✔ reordering is bounded, preserves identities and leaves the saved array untouched (0.690166ms)
✔ new page starts unpublished with independent editable content (2.49625ms)
✔ page and service routes resolve exactly and links retain the business prefix (0.094791ms)
✔ light and dark branding retain a contrasting button text colour (0.087ms)
✔ ready reviews exclude closed, snoozed and ineligible history (0.390292ms)
✔ snooze expiry uses the server effective state (0.075875ms)
✔ only preparation writes a draft and only snooze writes its date (0.084458ms)
✔ review confirmation is not inferred from a filled draft (0.340708ms)
✔ tag input retains duplicates for server validation (0.327333ms)
✔ all established workspace labels remain reachable alongside new sections (0.065041ms)
ℹ tests 94
ℹ suites 0
ℹ pass 94
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 224.501333
