✔ old business response is discarded when the active membership changes (2.53475ms)
✔ private calls carry business context but session discovery can detect another-tab switch (0.274667ms)
✔ failed write retains retry id, while an account switch clears it (3.1385ms)
✔ portal requests are independent of staff context changes (0.829708ms)
✔ private image response is discarded across an account switch (1.614375ms)
✔ private image lease is revoked on context change and release is idempotent (1.065417ms)
✔ staff switch does not revoke a customer portal image (0.320959ms)
✔ upload retry identity includes bytes, not just endpoint (4.857916ms)
✔ opening another preview does not announce an account switch; login does (1.30325ms)
✔ private PDF arriving after a customer session switch is discarded before download (0.228708ms)
✔ private PDF uses business context and only downloads confirmed PDF responses (24.464541ms)
✔ customer CSV cannot download after an owner business switch (0.405084ms)
✔ customer CSV enforces type and downloads the safe filename with credentials and business scope (0.271125ms)
✔ Week and day navigation cross months, years and UK clocks without shifting dates (13.364416ms)
✔ Midnight endings are exclusive while all-day end dates are inclusive (0.088375ms)
✔ Repeated UK hour shows distinguishable summer and winter clock labels (36.052208ms)
✔ matching contacts never select identity; inactive records cannot be transfer choices (1.2115ms)
✔ confirmation uses the exact preview rather than later selection and preserves false acknowledgement (0.070416ms)
✔ export filter is encoded and completion rows contain only explicitly selected exact evidence (0.7655ms)
✔ fractional lines round half up in integer pence before subtotal and VAT (1.257583ms)
✔ percentage deposit rounds half up and leaves the exact remaining pence (0.951792ms)
✔ invalid deposit percentages and sub-penny deposits are rejected (0.747917ms)
✔ stage editing cannot silently drop or add a penny (0.150875ms)
✔ public permission defaults to no projection and no rating (1.019291ms)
✔ approved statement retains exact customer text (0.172417ms)
✔ approval requires explicit boolean and nonempty exact fields (0.244625ms)
✔ projection bounds are enforced (0.178417ms)
✔ unconfirmed response does not produce a payload (0.21425ms)
✔ response keeps private answers separate from optional publication (0.104959ms)
✔ all four ratings and recommendation require a deliberate valid choice (0.200209ms)
✔ publication uses the exact current approved preview hash and version (0.10425ms)
✔ the repeated autumn hour requires the selected actual offset (37.4525ms)
✔ spring clock gap and seasonally incorrect offsets are rejected (0.384125ms)
✔ London date and intervals remain the same on a computer in another timezone (1.006333ms)
✔ incomplete, reversed and zero-duration correction inputs are rejected before saving (0.870958ms)
✔ customer price starts blank and no private source details become a document line (0.094041ms)
✔ timer display permits long captures but never negative elapsed time (0.076042ms)
✔ quoted commas, multiline text, escaped quotes, CRLF and blank lines (1.373209ms)
✔ auto mapping and preview require explicit valid prices; no NaN/default repairs (0.602458ms)
✔ column mapping, row limits, reviewed price overrides and invalid costs (0.872125ms)
✔ reopened saved rows and reordered object fields are clean (1.1635ms)
✔ equivalent valid price and quantity spellings do not create unsaved changes (2.04475ms)
✔ every catalogue edit is protected and reverting to saved values is clean (0.171833ms)
✔ blank optional prices, zero and invalid numeric input remain distinct (0.159ms)
✔ job selection, purchasing dates, notes and applied previous-price values are protected (0.130791ms)
✔ supplier reference edits, additions and removals are protected (0.143625ms)
✔ catalogue selection and CSV mapping or programmatic overrides are protected (0.136334ms)
✔ a persisted changed price becomes a clean reopened baseline (0.063584ms)
✔ comparison pairs render before then after without changing stored order (1.380667ms)
✔ reorder preserves identity and bounds (0.207584ms)
✔ public drafts and selected photos start with fresh public text (3.44ms)
✔ response binds to displayed version and saved snapshot with deliberate confirmation (1.709042ms)
✔ expired quote cannot produce a response payload (0.192334ms)
✔ superseded quote cannot produce a response payload (0.718917ms)
✔ draft quote cannot produce a response payload (0.114875ms)
✔ already accepted quote cannot produce a response payload (0.098167ms)
✔ declined quote cannot produce a response payload (0.114792ms)
✔ missing snapshot review is rejected (0.192542ms)
✔ PDF links remain private and scoped to exact document or stage (0.174458ms)
✔ portal 401 clears private context and image leases, rejects old work and preserves staff access (7.698083ms)
✔ public credential errors and another customer document 404 do not end a valid portal context (1.57975ms)
✔ focus, visibility and visible periodic checks preserve a valid context without resetting forms (1.255875ms)
✔ owner revoke, reissue, contact update and legacy rotation revalidate without blindly signing out (1.577875ms)
✔ another-tab access notice checks the active account and clears it only when validation fails (0.930875ms)
✔ customer identity changes clear old content even if the browser cookie now authenticates successfully (0.605ms)
✔ business identity changes clear old content even if the browser cookie now authenticates successfully (0.583625ms)
✔ unreachable validation fails closed and overlapping focus checks coalesce (0.616708ms)
✔ validation deadline clears content and a late successful response cannot restore it (0.529666ms)
✔ stopping a watcher removes its deadline and ignores a late successful identity result (0.492583ms)
✔ apiImage clears current portal content on 401 but an old response cannot clear a newer session (0.416792ms)
✔ downloadPrivate clears current portal content on 401 but an old response cannot clear a newer session (0.503ms)
✔ switching between week and month rules keeps valid explicit choices (2.007417ms)
✔ all-day conversion clears incompatible clock inputs (0.212584ms)
✔ single visit proposal retains original identity and requires fresh acknowledgement (0.15775ms)
✔ booking edits send booleans and exclude server and history fields (0.187333ms)
✔ suggested window is inclusive and bounded through DST (0.169542ms)
✔ month views include leap days and cross-year navigation (0.317541ms)
✔ range rejects reversed or over-62-day windows (0.183417ms)
✔ weekly windows and DST remain London calendar dates (0.2095ms)
✔ excluded placeholder can propose a reviewed single-date override without assuming a booking (0.1375ms)
✔ reordering is bounded, preserves identities and leaves the saved array untouched (0.662916ms)
✔ new page starts unpublished with independent editable content (1.992208ms)
✔ page and service routes resolve exactly and links retain the business prefix (0.100292ms)
✔ light and dark branding retain a contrasting button text colour (0.091375ms)
✔ ready reviews exclude closed, snoozed and ineligible history (0.415375ms)
✔ snooze expiry uses the server effective state (0.082083ms)
✔ only preparation writes a draft and only snooze writes its date (0.089834ms)
✔ review confirmation is not inferred from a filled draft (0.56925ms)
✔ tag input retains duplicates for server validation (0.789042ms)
✔ all established workspace labels remain reachable alongside new sections (0.212167ms)
ℹ tests 90
ℹ suites 0
ℹ pass 90
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 184.060667
