✔ old business response is discarded when the active membership changes (2.83025ms)
✔ private calls carry business context but session discovery can detect another-tab switch (0.415167ms)
✔ failed write retains retry id, while an account switch clears it (4.879333ms)
✔ portal requests are independent of staff context changes (1.635625ms)
✔ private image response is discarded across an account switch (1.254334ms)
✔ private image lease is revoked on context change and release is idempotent (0.621542ms)
✔ staff switch does not revoke a customer portal image (0.172834ms)
✔ upload retry identity includes bytes, not just endpoint (4.55175ms)
✔ opening another preview does not announce an account switch; login does (1.765417ms)
✔ private PDF arriving after a customer session switch is discarded before download (0.69825ms)
✔ private PDF uses business context and only downloads confirmed PDF responses (27.96975ms)
✔ customer CSV cannot download after an owner business switch (0.148333ms)
✔ customer CSV enforces type and downloads the safe filename with credentials and business scope (0.272167ms)
✔ Week and day navigation cross months, years and UK clocks without shifting dates (8.151917ms)
✔ Midnight endings are exclusive while all-day end dates are inclusive (0.307375ms)
✔ Repeated UK hour shows distinguishable summer and winter clock labels (47.364125ms)
✔ matching contacts never select identity; inactive records cannot be transfer choices (1.861709ms)
✔ confirmation uses the exact preview rather than later selection and preserves false acknowledgement (0.0995ms)
✔ export filter is encoded and completion rows contain only explicitly selected exact evidence (0.500458ms)
✔ fractional lines round half up in integer pence before subtotal and VAT (0.564083ms)
✔ percentage deposit rounds half up and leaves the exact remaining pence (0.437417ms)
✔ invalid deposit percentages and sub-penny deposits are rejected (0.488541ms)
✔ stage editing cannot silently drop or add a penny (0.642125ms)
✔ opening a saved job and inspecting read-only history leaves editable facts clean (1.977083ms)
✔ job status changes and exact reversion are detected (0.094375ms)
✔ job notes changes and exact reversion are detected (0.059083ms)
✔ job scheduled_date changes and exact reversion are detected (0.121167ms)
✔ private job metadata priority stays protected (0.067666ms)
✔ private job metadata next_action stays protected (0.046666ms)
✔ private job metadata next_action_date stays protected (0.045958ms)
✔ private job metadata last_contact_date stays protected (0.044125ms)
✔ private job metadata completed_date stays protected (0.0595ms)
✔ private job metadata postcode_group stays protected (0.089166ms)
✔ private job metadata archived stays protected (2.681708ms)
✔ private job metadata followup_excluded stays protected (0.08075ms)
✔ valid equivalent tag case, spacing and order are clean; duplicate or invalid tags stay dirty (0.370625ms)
✔ a confirmed save advances only the saved snapshot, including after reopening (0.209875ms)
✔ failed and stale save attempts do not advance a draft baseline (0.688583ms)
✔ successful in-flight save accepts only the submitted values and preserves later text (0.58375ms)
✔ quote values cover each line, VAT, both dates and customer notes (0.311792ms)
✔ opening or cancelling a time editor is clean; blank override differs from an explicit zero rate (0.152167ms)
✔ transfer selection, reason and confirmation matter; object property order does not (0.08375ms)
✔ file selections and photo sharing fields remain distinct from viewing a photo (0.080625ms)
✔ clean leave executes immediately without a pending confirmation (8.102459ms)
✔ Keep editing and Escape cancellation execute nothing and preserve the selected draft (0.111084ms)
✔ dirty leave has one owner and repeated requests retain the first intended destination (1.217ms)
✔ clean repeated clicks and async discard cannot execute twice or start a background action (0.41025ms)
✔ a failed logout exposes its error without changing private draft values (0.28275ms)
✔ an identity reset cancels pending leave and ignores completion from its old context (0.604542ms)
✔ selection rejects unsafe names, empty and oversized files but accepts supported size boundaries (2.988792ms)
✔ selection checks image signatures instead of trusting extensions or declared MIME (1.377459ms)
✔ visitor sends without cookies; a successful result exposes no receipt or private references (4.70375ms)
✔ concurrent clicks coalesce into one logical request (0.235542ms)
✔ lost response retains exact payload/key; edits are blocked until the unchanged retry succeeds (1.787709ms)
✔ a stalled request times out and retries the identical logical enquiry (11.414917ms)
✔ ambiguous HTTP 408 retains the logical operation (0.380125ms)
✔ ambiguous HTTP 500 retains the logical operation (0.168334ms)
✔ ambiguous HTTP 503 retains the logical operation (0.121458ms)
✔ malformed success is uncertain and never produces a successful-looking enquiry (0.175583ms)
✔ validation error allows correction without discarding the selected files or date (0.188292ms)
✔ a deliberately separate matching-contact enquiry has a new operation identity (0.128916ms)
✔ public permission defaults to no projection and no rating (1.618833ms)
✔ approved statement retains exact customer text (0.204541ms)
✔ approval requires explicit boolean and nonempty exact fields (0.248416ms)
✔ projection bounds are enforced (0.166333ms)
✔ unconfirmed response does not produce a payload (0.109792ms)
✔ response keeps private answers separate from optional publication (0.088375ms)
✔ all four ratings and recommendation require a deliberate valid choice (0.909ms)
✔ publication uses the exact current approved preview hash and version (0.23225ms)
✔ the repeated autumn hour requires the selected actual offset (19.261625ms)
✔ spring clock gap and seasonally incorrect offsets are rejected (0.484167ms)
✔ London date and intervals remain the same on a computer in another timezone (1.003917ms)
✔ incomplete, reversed and zero-duration correction inputs are rejected before saving (0.619333ms)
✔ customer price starts blank and no private source details become a document line (0.098792ms)
✔ timer display permits long captures but never negative elapsed time (0.077167ms)
✔ quoted commas, multiline text, escaped quotes, CRLF and blank lines (1.388792ms)
✔ auto mapping and preview require explicit valid prices; no NaN/default repairs (0.883792ms)
✔ column mapping, row limits, reviewed price overrides and invalid costs (1.284417ms)
✔ reopened saved rows and reordered object fields are clean (0.580583ms)
✔ equivalent valid price and quantity spellings do not create unsaved changes (0.581833ms)
✔ every catalogue edit is protected and reverting to saved values is clean (0.104792ms)
✔ blank optional prices, zero and invalid numeric input remain distinct (0.133375ms)
✔ job selection, purchasing dates, notes and applied previous-price values are protected (0.115541ms)
✔ supplier reference edits, additions and removals are protected (0.513167ms)
✔ catalogue selection and CSV mapping or programmatic overrides are protected (0.360875ms)
✔ a persisted changed price becomes a clean reopened baseline (0.143333ms)
✔ comparison pairs render before then after without changing stored order (2.174541ms)
✔ reorder preserves identity and bounds (0.269875ms)
✔ public drafts and selected photos start with fresh public text (3.564208ms)
✔ response binds to displayed version and saved snapshot with deliberate confirmation (1.352709ms)
✔ expired quote cannot produce a response payload (0.109709ms)
✔ superseded quote cannot produce a response payload (0.841875ms)
✔ draft quote cannot produce a response payload (0.178459ms)
✔ already accepted quote cannot produce a response payload (0.122167ms)
✔ declined quote cannot produce a response payload (0.090792ms)
✔ missing snapshot review is rejected (0.319292ms)
✔ PDF links remain private and scoped to exact document or stage (0.183958ms)
✔ a preview never requests private draft content without valid matching owner access (3.099667ms)
✔ draft preview loads once under exact owner access; valid checks do not replace its saved content (2.182708ms)
✔ owner context changes clear a loaded preview while customer context changes do not (0.956834ms)
✔ preview invalidates changed owner context slug (0.696417ms)
✔ preview invalidates changed owner context role (13.655208ms)
✔ preview invalidates changed owner context membership_id (1.064666ms)
✔ preview invalidates changed owner context csrf (0.643416ms)
✔ unavailable preview validation clears access and does not reload draft content (0.641917ms)
✔ logout during an initial draft load prevents its late response from exposing content (0.684958ms)
✔ preview deadline fails closed, coalesces checks and ignores late success (1.34375ms)
✔ closing a preview cancels listeners and ignores a pending load without reporting lost access (0.787167ms)
✔ feedback validation is request-only and valid checks never replace draft inputs (2.506334ms)
✔ contact, transfer and feedback changes revalidate without broadcasting codes or private answers (1.778875ms)
✔ feedback validation failure 401 clears only the request view (0.639583ms)
✔ feedback validation failure 404 clears only the request view (0.48525ms)
✔ feedback validation failure 503 clears only the request view (0.467625ms)
✔ feedback checks coalesce, time out closed and cannot revive a view with a late result (0.489834ms)
✔ stopped feedback checks ignore a late rejection and release all timers and listeners (0.507666ms)
✔ portal 401 clears private context and image leases, rejects old work and preserves staff access (1.605875ms)
✔ public credential errors and another customer document 404 do not end a valid portal context (0.794458ms)
✔ focus, visibility and visible periodic checks preserve a valid context without resetting forms (1.962666ms)
✔ owner revoke, reissue, contact update and legacy rotation revalidate without blindly signing out (1.895875ms)
✔ another-tab access notice checks the active account and clears it only when validation fails (0.638208ms)
✔ customer identity changes clear old content even if the browser cookie now authenticates successfully (0.498417ms)
✔ business identity changes clear old content even if the browser cookie now authenticates successfully (0.686208ms)
✔ unreachable validation fails closed and overlapping focus checks coalesce (0.712375ms)
✔ validation deadline clears content and a late successful response cannot restore it (0.619542ms)
✔ stopping a watcher removes its deadline and ignores a late successful identity result (0.660417ms)
✔ apiImage clears current portal content on 401 but an old response cannot clear a newer session (0.803166ms)
✔ downloadPrivate clears current portal content on 401 but an old response cannot clear a newer session (0.544333ms)
✔ switching between week and month rules keeps valid explicit choices (2.280833ms)
✔ all-day conversion clears incompatible clock inputs (0.123291ms)
✔ single visit proposal retains original identity and requires fresh acknowledgement (0.1175ms)
✔ booking edits send booleans and exclude server and history fields (0.121541ms)
✔ suggested window is inclusive and bounded through DST (0.10175ms)
✔ month views include leap days and cross-year navigation (0.161833ms)
✔ range rejects reversed or over-62-day windows (0.100042ms)
✔ weekly windows and DST remain London calendar dates (0.059291ms)
✔ excluded placeholder can propose a reviewed single-date override without assuming a booking (0.101166ms)
✔ new request, edited filter, context change and unmount reject late success and failure (1.5035ms)
✔ drills use exact customer/resource IDs and one metric, never matching names or allocating money (0.126041ms)
✔ supporting row pages disclose full totals and do not lose the final partial page (0.157625ms)
✔ exports bind applied filters and exact snapshot, not draft input; time displays exact minutes (2.472625ms)
✔ service enquiry uses only the exact published business service and keeps its canonical title (0.564709ms)
✔ reordering is bounded, preserves identities and leaves the saved array untouched (0.711584ms)
✔ new page starts unpublished with independent editable content (2.551834ms)
✔ page and service routes resolve exactly and links retain the business prefix (0.098125ms)
✔ light and dark branding retain a contrasting button text colour (0.097875ms)
✔ ready reviews exclude closed, snoozed and ineligible history (0.416292ms)
✔ snooze expiry uses the server effective state (0.086125ms)
✔ only preparation writes a draft and only snooze writes its date (0.090333ms)
✔ review confirmation is not inferred from a filled draft (0.764709ms)
✔ tag input retains duplicates for server validation (0.867667ms)
✔ all established workspace labels remain reachable alongside new sections (0.085209ms)
ℹ tests 151
ℹ suites 0
ℹ pass 151
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 403.64375
