Files
client/docs/evidence/official-parity/qa-parity-harness.md
T

24 KiB
Raw Blame History

Official TS6 visual parity — QA harness (2026-11-01)

Current result: exact-design correction, 2026-11-01

Saved expanded-panel implementation

Product commit cf42de6 contains the integrated account-free panels and session/security corrections. The subsequent overlay confirmation package has app.asar SHA-256 ae9be297e2d10df567b2d5d83ac3f831483896cc6ee854234760c51143704eab (2026-11-01T19:11:18.663Z); native core hash remains 67ca933bb3bb5b17ea0dbf66b1a5ad04f96c6f5fc75f83b8c00ea1f54e675a02. integrated-whisper-preview-confirmed/result.json passes the overlay/list-marker regression and the seven presentation scenarios below. Its two capture calls reached only the refusing test stub; capturing/forwarding stayed false and played/forwarded frame counts stayed zero. The corrected image was inspected; list bullets and their unwanted indentation are gone.

integrated-settings-pairs/ captured 96 actual original/product pairs: short chat and eleven settings pages, both themes, both languages, 1553×998 and 880×800. Canonical fixture equality and instrument self-tests passed; no capture was blocked and no harness error occurred. All 96 strict visual comparisons failed. The User navigation differs (official Account/Identities/Privacy versus Identities/Privacy/Servers); some settings also differ in content and geometry. These areas remain scored. For example, wide dark/en Key Bindings passes its panel region but fails navigation. Whole-screen percentages below the limit do not override failing regions. This is not exact-design completion.

The run also exposed a comparator defect: a region hidden on both sides was reported as a mismatch. The comparison now treats equal absence as equal and still fails one-sided absence. A re-evaluation of the existing wide/narrow Key Bindings captures is in visibility-comparison-confirmation/result.json; both complete screens still fail. Original captures/results are preserved; no new exclusion or relaxed pixel/geometry threshold was introduced.

Raw Node, native-test and unsuppressed detector logs are retained in integrated-verification/.

Integrated identity, information and whisper checkpoint

Build 2026-11-01T19:00:14.048Z: app.asar 17d7795627337edf284972143672aaf7c9babfe2f40cd28c0768f7922cede586, core unchanged from the expanded-panel checkpoint below. The complete Node suite passed 503 tests, with 1 skipped and no failures. The native suite passed 154 unit tests plus 5 real-stdio integration tests, with 1 ignored; existing dead-code/platform warnings remain.

  • integrated-information/result.json: full changelog entries and the actual bundled OFL text render as DOM content; returning from license detail restores focus. This reproduces and fixes the prior [object HTMLDivElement] list rendering failure, not merely the parser in isolation.
  • integrated-identities/result.json: nested and default-identity bookmark associations, actual create/edit/default/delete protections, bounded improvement cancellation and restart persistence passed. Clearing a nickname preserves the identity UID; no separate nonfunctional phonetic field was added.
  • contacts-information-smoke/result.json: actual context-menu add, alias rename and restart passed; after restart the saved contact is offline rather than receiving fabricated cloud presence.
  • integrated-whisper/result.json: local list/keybinding persistence, restart and real disconnected native rejection passed with the new manager.
  • integrated-whisper-preview/result.json: synthetic-event UI proof passed target highlighting, settings-to-overlay switch, recycled-ID/session handling, delayed sender discovery, history order, clearing and closing. No network requests occurred. Two getUserMedia attempts hit the refusing test stub; no device was opened, capture stayed false, and no audio frames were played/forwarded. These are presentation results, not live whisper delivery. The screenshot also exposed browser-default list markers in the overlay; its root-matching CSS correction is confirmed in the checkpoint above.

The read-only design detector exited 2 and emitted 473 advisory notes, including reported low-contrast hover combinations, layout transitions and colors outside the older design sidecar. No clean accessibility claim is made, and no detector suppressions or source-matching thresholds were loosened.

Expanded-panel behavioral checkpoint

The isolated build created at 2026-11-01T18:28:35.371Z has app.asar SHA-256 3e42239b551a945a97db74b3d11e7ebb3d7fba44174d3a300a95e3ac6a2bebdb and native core SHA-256 67ca933bb3bb5b17ea0dbf66b1a5ad04f96c6f5fc75f83b8c00ea1f54e675a02. Unlike the older checkpoint below, this build's core differs from the earlier package. Paths below are under C:/Users/Admin/tmp/teamspeach-exact-design-20261101/:

  • expanded-whisper-fixed/result.json: actual local whisper/keybinding creation, preferences and restart persistence passed; disconnected native whisper returns not_connected.
  • expanded-chat-fixed/result.json: real history IPC/restart and identity isolation passed; local KaTeX/Mermaid rendered, malicious content remained inert, no page errors or network requests.
  • expanded-panels-smoke/result.json: nested bookmark creation/rename/deletion, trusted-host page, Markdown Help, Remote Apps status and keybinding panel passed. All four denoiser levels persisted for the selected input through native range keyboard events. No capture requests or page errors. Server state is synthetic; fixture command-rejection toasts are not evidence of a live DSP transaction.
  • remote-app-ui-smoke/result.json: real loopback WebSocket withheld data until UI approval; renderer status omitted the API key; revocation released the held button. No page errors.
  • The focused Node command covering remote apps, icons, snapshots, privacy, permissions, information panels, contacts, badges and recording/notifications passed 135/135, with none skipped.

Earlier async waitForFunction predicates were not valid persistence proof: this installed Playwright version treats the returned Promise as truthy. These runs use waitForAsync, which awaits the predicate. The denoiser smoke also now focuses the native range, not its unfocusable wrapper. This checkpoint proves the named behaviors, not whole-screen identity, live-server writes or physical audio quality.

Committed correction checkpoint

Implementation commit e6464bc preserves the accumulated implementation and the final source-backed correction batch. commit-verification/ under the evidence root below measures app.asar 3fa8f1fbe6beb3804426aaaf48b3bf819ed5b5d7c9ff20b492171da6967f68ec with fresh official captures: 40 pairs, no blocked captures or harness errors, 40 strict visual failures. Instrument self-tests and the permanent bottom-anchor/history-reading resize regression passed.

Both renderers now use Electron's normal acceleration policy. The former reference driver called disableHardwareAcceleration() while the product did not, causing different text/SVG rasterization. Historical screenshots remain unchanged; percentage differences across those policies are not a controlled before/after measure of product code alone.

Current dark/en/1553×998 whole-screen differences: full chat 0.43%, short chat 0.25%, empty chat 1.16%, Audio 2.66%, Appearance 2.79%. Full/short chat still fail because bookmark/tree regions exceed 0.5%; passing the whole-image threshold does not override failed regions. Account-only settings, absent bookmark folders, supported DSP differences and additional product settings remain explicit deviations. There are also residual geometric differences, especially narrow content and empty-chat presentation; this checkpoint is not completion of the exact-design task.

commit-controls/result.json: real overflow formatting actions and submenus, narrow category placement below the server actions, widening restoration; zero page errors/capture attempts. empty-chat-behavior/result.json: localized prompt visibility follows draft and send eligibility; zero page errors/capture attempts. commit-chat/result.json: packaged history persistence/restart, scope isolation and hostile-text safety passed. Complete Node suite passed after integration. The native core was reused unchanged; no fresh native/ARM compatibility proof is claimed.

Focused follow-up prompt-final/: app.asar 36bb4126c10f524101ef286ac9c82c11ef4158790baf5aac6bec350ec2b9b1d3, 22px prompt icon and secondary-pane --tsv-contrast-bg. At dark/en/1553×998 the empty-chat region passes and whole-image difference is 0.3%; bookmark/tree regions still fail. At 880×800 the whole-image difference is 1.1%. Both captures completed without page/harness errors; this is not full visual acceptance.

The reconstructed reference described below is historical. The owner's rejection led to scripts/official-pair-capture-offscreen.mjs, which compares the actual product with the installed official Vue frontend running in a hidden, network-denied renderer with synthetic native-bridge data. The official installation and profile are not changed. Font files now match the original Noto 2.013 under the OFL; non-brand SVG provenance is in LICENSES/teamspeak-client-icons-PROVENANCE.md.

The refreshed actual-frontend run did not pass visual acceptance: 168 pairs at 1553×998, 1280×800 and 880×800, all evaluated, none blocked, none fully passing. It covers both languages, both themes and all 14 screen states. This supersedes the earlier 224-pair run for coverage at supported sizes; the 860px cases remain below the product's 880px minimum.

Evidence root: C:/Users/Admin/tmp/teamspeach-exact-design-20261101/.

  • confirmed-pairs/pair-report.json and .md: full refreshed matrix and per-region strips; its BUILD-MANIFEST.json identifies app.asar e056599c0840344cac7860aa487c2494f04845bf35c9c2ed14f30d023ff5fae6.
  • final-confirmation/: focused 32-pair run after content-box chat spacing and nested preview zoom corrections, app.asar bd1441db2a66ef1249934dcfcaba162796b75240d812449942d4791bbe77be96. All captures completed; all pairs still failed at least one region. This is not a full-matrix rerun.
  • build/BUILD-MANIFEST.json: latest isolated Windows build, version 0.1.4, unchanged native core. Later chat-resize changes are verified separately below, not retroactively attributed to earlier captures.
  • After fixing import-time DOM listener registration, the complete Node test command passed: node --test --test-reporter=dot "test/*.test.*". The existing live release-list test stays skipped.
  • final-smoke/chat/result.json: passed after the initialization fix, including main-process history restart, cross-identity isolation and hostile text rendering. No network requests or page errors.
  • final-smoke/controls/result.json: packaged dropdown open/Escape and keyboard slider/SVG-knob interaction passed; no page errors or physical capture requests.
  • final-smoke/accountfree/result.json: administration rejection/acknowledgement, scoped recording controls and file browsing passed in both languages/themes using synthetic server responses.
  • final-smoke/broadcast/result.json: all 14 checks passed after fixing narrow Russian footer overlap, including all eight language/theme/size combinations, explicit publish/approval, cancellation, source changes and denial. Media is generated canvas video, not physical screen or microphone capture.

The new paired harness retains its 16/255 channel tolerance, 0.5% differing-pixel threshold and 1px box tolerance. Corrections to the instrument: chat timestamp comparison uses painted viewport text rather than virtualized-versus-retained DOM rows; already-excluded caption rectangles remain excluded inside overlapping scored regions; both clients receive all four canonical synthetic audio endpoints and the explicit default-device metadata. The instrument's self-test passed, including clipped versus virtualized text and nested exclusions. No ordinary content is excluded to hide a visual mismatch.

confirmed-behavior/result.json: passed actual packaged selection/persistence checks for country flags, tree order/background/commander, keyboard icon-mode changes/focus, language flags, bookmark save/add/disclosure and new/closed connection tabs. Zero page errors and zero capture attempts. The fixture explicitly binds the local identity and gives no connected server microphone ownership; earlier diagnostic runs reached the rejecting getUserMedia stub when closing a tab, never a device. confirmed-chat/result.json: passed real main-process history IPC/restart, scoped history isolation, hostile text and local rich-text hydration; no page errors or network requests.

Chat resize regression: chat-resize-before/result.json reproduced a 119px gap after narrowing a bottom-pinned conversation. chat-resize-after/result.json passes on app.asar cf487d7417e31dcbc44dc6f4af21a98cfadb543d08fdaa8af74b2c22dfbc952e: wide/narrow bottom gap 0px; the separate lookback case stays at scrollTop 0 instead of jumping 629px to the bottom. No page errors. The production fix ignores resize-induced scroll events when recording reading intent and observes both the log viewport and the composer's content box. checkChatResize in the paired harness keeps the behavioral regression; it does not make the visual threshold easier to pass. chat-resize-confirmation/ exercised that permanent regression and eight main-screen captures in both languages/themes at 1553×998 and 880×800: no blocked captures or harness errors, but all eight still fail the strict visual gate.

Latest focused dark/en/1553×998 whole-screen differences: main/full 0.9%, main/few 0.4%, Audio 3.0%, Appearance 6.5%. A whole-image value below 0.5% does not pass if any scored region fails. Search and connected-server geometry now match in this configuration; bookmark folder artwork, toolbar details, system timestamps, supported-settings composition and narrow settings navigation still differ. The source has account-bound badge/contact controls and a multilevel denoise control absent from the product's actual capabilities; nonfunctional replicas were not added. Language help remains truthful about immediate application instead of claiming the official client's restart requirement.

The static design detector still reports source-style/contrast/layout findings; no clean accessibility audit is claimed and no blanket detector suppression was installed. Native devices/platform interoperability are not established by these fixtures. Exact-design acceptance remains open.

Historical reconstructed-reference method

scripts/smoke-official-parity-offscreen.mjs compares the actual TeamsPeach renderer with a reconstructed official reference, metric by metric. It is a measurement gate, not an impression.

Reference (reconstructed, never product code)

  • scripts/lib/official-ts6-reference.mjs reads the installed client UI in place (%LOCALAPPDATA%/Programs/TeamSpeak/html/client_ui) and refuses to run if hashes drift: main.css bc700401…34adf, main.js 9d6bea2e…82c39, index.html 96c60720…f793. It resolves the active style layers from the bundle's own webpack request maps (no hard-coded ids): main.css → platform module (window.os switch; windows → empty module 55629, linux → 97870) → ./teamspeak.{dark,light}.scss (css modules 8165 / 4115). :root tokens are resolved per theme with source + character offset. Root-relative font URLs are rewritten to the installed directory in a transient temp page only; nothing from the bundle is written to the repository or packaged.
  • scripts/lib/official-ts6-template.mjs builds the DOM from the official compiled render functions (offsets in comments: content header @2975904, screenshare tile @4070145 scope 6eee7636, system chat row @3305157 scope 5c102790, chat input @3561667 / toolbar order @3517745, tool menu @3872578, ts-list-simple-cell @3222136, ts-button @3109151, tree channel/client @4119733/@4140768). Icons are size-only placeholders; labels come from the installed official locale files. Items marked INFERENCE (slim layout, default tree density, menu backdrop, TSButton for toolbar) are not proven.
  • Both sides render the same labelled synthetic data (FIXTURE), including official-locale event sentences, so region crops are class-matched, same-data comparisons.

Validation of the reference against real official captures

--official-shots <dir> locates the user's private official screenshots by sha256 (never copied, cropped into outputs, or committed) and probes regions with Electron nativeImage. Result on 2026-11-01, dark/ru: 22/22 probes pass — titlebar/header/composer fills, channel header 71 px, header separator 4 px #1C2539, player border 2 px #2b3346, chat system rows 23 px with 27 px pitch, row gradient start #131824, bold names #acacac, sentence #697a97, time #697a97·0.75, menu text #fff, captions #697a97, destructive rgb(255,130,130), plain menu items 30 px and submenu items 34 px, menu title colour. Captures are dark only; light values are source-derived, not captured. The captures are cropped at the top, so the 44 px window-bar height is a source token, not observed.

Comparison

56 class-matched metrics × {dark, light} × {en, ru} at the user-reference 1553×998 viewport: header fill/height/title type and platform font/separator/mode buttons; player tile border/radius/fill/name label size, colour and insets; system rows height/pitch/radius/fill/text, emphasised names, time stamps and visible time colour; composer container, toolbar presence/height/fill/11 official buttons, actions; context menu radius/size/item heights/colours/captions/destructive/outer width and actual backdrop gradient/opacity/blur; tree row heights, name size/colours, pane fill. Colours ±2 per channel, sizes ±1 px, counts/fonts exact (actual face via CDP CSS.getPlatformFontsForNode, while the menu remains mounted). Translucent popup fill is compared by its actual compositing styles rather than mismatched background pixels. The source runtime modifier caps the reconstructed outer popup at 260 px (local://official-popup-width-trace.json). Outputs: result.json, metrics.md, full captures, region crops and labelled side-by-side comparisons.

Safety

Both windows are hidden, nonfocusable, offscreen and muted (shared launch guard; the reference window gets the same guard and a separate partition with permissions denied and non-file requests cancelled). No server, official runtime/native bridge, account service, OS input, clipboard, capture device, native presentation, normal profile or audible output. The stream tile uses generated local WebRTC media (scripts/lib/generated-stream.mjs, shared with the stage smoke).

Run

node scripts/smoke-official-parity-offscreen.mjs --out <dir> [--official-shots <dir>] [--exe <packaged exe>]
node scripts/smoke-official-parity-offscreen.mjs --reference-only --official-shots <dir>   # reference targets + validation only

A pass of every metric is required before claiming visual parity for these regions. Feature parity is tracked separately and is not established by this harness.

Limits — no full-identity claim

The reference uses empty, size-only icon placeholders and synthetic data, so whole-region pixel identity is neither measured nor claimed; region crops are for review, not a pass criterion. The available official captures are the owner's cropped dark-theme screenshots of different content: they validate the 22 regional probes above only. Light theme, the window-bar height, icons/glyph artwork, hover/animation states, settings pages and every feature behaviour are outside this evidence.

Reference coverage

The reconstructed reference is a component sheet, not a full-application reference. It must never be cited as screenshot parity for the whole official client.

Region Measured (class-matched) Validated on official capture Excluded / not representative
Window caption bar — (native overlay; title bar test) fill #121a2c 44 px height (source token --tsv-header-window-bar-height; captures cropped)
Channel/content header fill, 71 px height, title type/colour/font, separator, mode-button count 71 px, fill, 4 px separator icon artwork, button glyphs, button placement detail
Player tile border, radius, fill, name label size/colour/insets 2 px border colour/width hover capsule controls, viewer/volume overlays, pagination, more/pop-out buttons
Chat system rows height, pitch, radius, gradient fill, text/name/time colours, emphasis, time count all of these avatars, text messages/bubbles, timestamps format beyond HH:MM - weekday
Composer container fill/border/radius, input size, toolbar presence/height/fill/button count, action count message-field fill toolbar icons (blank placeholders; only "Others" label renders), emoji/attach/send glyphs
Client context menu radius, size, fill, item heights, text/title/caption/destructive colours, caption count, width colours, plain 30 px / submenu 34 px items icon glyphs, avatar in title row, submenus
Server tree channel 44 px / client 40 px rows, name size/colours, pane fill — (no tree capture) channel/client icons, channel cards/banners, talk/mute indicators, compact density choice (INFERENCE)
Sidebar pane, settings, dialogs, onboarding, stream setup — — not reconstructed; need separate source-component checks

Final acceptance therefore also requires a full three-pane screenshot of the actual product compared against the user's source images and the source component constraints (icon placement, text alignment, cards, rich controls). No-overflow checks alone are not acceptance.

Fonts: the official family is "Noto Sans" loaded from the official bundle's own @font-face file. Platform-font metrics only match if TeamsPeach ships a separately licensed Noto Sans (SIL OFL 1.1, from the upstream Noto project, with its licence in LICENSES/) — never the official bundle's font file. Without it Chromium falls back (e.g. Segoe UI on Windows) and the platform-font metrics fail.

Connection-aware feature execution

Synthetic server events carry connectionId; request fixtures implement (connectionId, command, args). The disposable application's real initial native connection is retained rather than replaced with a fake connection manager. Generated transport sources are keyed by connection and stream ID, including two simultaneous native processes with colliding stream IDs. The stage suite exercises hide/show, focus/strip, paging, drag/keyboard ordering and internal overlays without starting native presentation.

smoke-official-shell-offscreen.mjs captures every rendered settings category, not a hard-coded set of legacy panels. smoke-i18n.mjs checks bound strings in both languages through the real renderer. Catalog symmetry and placeholder formatting have consumer unit tests; dynamic local namespace helpers are not treated as standalone catalog keys. smoke-identity-offscreen.mjs drives create/edit/default/delete and cancellation against the real native identity CLI. smoke-whisper-offscreen.mjs drives actual local storage/restart and real disconnected-core rejection; it does not claim a successful server whisper route.

The final package uses a separate Cargo target directory and an explicit temporary builder config; normal core/target, core-bin, dist, version and publication state are unchanged. Runtime helpers use the isolated executable through the packaged-source safety guard. Authored scripts/tests are not evidence of a pass until their result/log is recorded in the final feature matrix.

Final execution: 224/224 component metrics passed; full-shell 324 cases / 1,001 checks passed and actual three-pane/settings/menu/admin/recording/file-browser pixels were inspected. The stream stage passed 249 checks with three real generated receivers across two native connection processes, no physical capture request and no fullscreen/native-PiP request. Standalone child media identity/restore is proven with explicitly authorized test-only CDP viewport emulation: Electron 44.9.3's actual offscreen guest started at 0×0. The native size and emulation are retained in evidence; ordinary visible-window painting is not claimed. See popout-offscreen-limitation.json and final-feature-matrix.json.