# QA report — EasyDNS Web 0.1.1 ## Release 0.1.1 verification - Login copy simplified: no control-room badge, bearer-token explanation or redundant authentication help. - Footer reduced to right-aligned product caption. - Configuration help replaced with a reload / status / audit workflow. - TOML- and environment-owned Multi-server settings remain authoritative; hidden UI toggles and protected POST endpoints cannot override them. - Servers inventory shows LOCAL/REMOTE and does not display ENV or configuration-source messages; fixed role labels cannot be edited or removed. - Regression tests cover the protected login, conditional Configuration UI, fixed and editable node controls, and the native API mock integration. - Native binary smoke test: panel started with TOML plus two mock EasyDNS APIs; `/login`, `/configuration` and `/servers` were retrieved with session authentication and checked for current text and controls. - Chromium did not complete rendering new PNGs in this environment. Previous Configuration and Servers demo images were moved to `design/archive-0.1.0/` and are explicitly marked as archival. ## Historical checks from 0.1.0: active-server switching and fleet metrics ## Reproduced cause The previous top-bar node selector used an inline `onchange` handler in the HTML template. The panel's existing Content Security Policy (`script-src 'self'`) forbids inline script handlers. In browsers that enforce the CSP, changing the dropdown did not POST `/servers/select`, so the active-server cookie and API client remained unchanged. ## Correction - Move selection-change behavior to the embedded, same-origin `app.js` using `addEventListener('change', ...)`, which is allowed by the CSP. - Remove the redundant **Switch** button; selection submits immediately on change via CSP-compatible external JavaScript. - Display an **ACTIVE SERVER** context strip on each normal DNS screen, including the server name, role label and target API URL. Display a note that pages and actions apply to this server only. - Preserve a list/monitoring view on server change; redirect zone-detail and editor pages to `/zones` to avoid stale zone identities and ETags on the newly selected server. - Never silently fall back to the local client when a stored selected node has been removed: reject DNS writes with HTTP 409, clear the stale cookie and direct subsequent page loads to the Servers view. - Force static assets to revalidate when an updated package retains the same version number. ## Verification - `go test -count=1 ./...` — passed. - `go test -race -count=1 ./...` — passed. - `go vet ./...` — passed. - `sh -n scripts/build_deb.sh scripts/build-deb.sh` — passed. - Unit/integration tests with two independent mock EasyDNS APIs verify different zone lists, server status, overview counters, telemetry isolation, selected-target DNS writes and safe switching back to local. - JavaScript switch event tested with a minimal DOM fixture in Node.js — passed. - Both `.deb` files built and their Debian version and architecture verified as `0.1.0` for `amd64` and `arm64`. Browser automation against a local HTTP server was attempted but the Chromium environment blocked loopback requests (`ERR_BLOCKED_BY_ADMINISTRATOR`). Therefore **a full automated browser E2E run could not be completed** here. No production EasyDNS server was contacted. ## Upgrade note (0.1.1) Install the package `easydns-ui_0.1.1_amd64.deb` (or `arm64`) over an existing 0.1.0 installation. The Debian post-install script restarts `easydns-ui` and preserves credentials and configured connections. When `config.toml` explicitly sets `[multiserver] enabled`, it now overrides any older saved web preference; adjust this TOML setting before restarting if needed. ## Additional verification: Aggregate / Split / Single - Regression tests confirm the three-mode UI and browser preference cookie, unchanged Single mode when the feature is disabled, and all-node scope only in Aggregate/Split. - Telemetry tests verify time-bucket QPS sums across three nodes, weighted cache hit ratio from hit/miss rates, non-additive per-server latency and null gaps for missing/restarted nodes. Secrets are absent from panel JSON/HTML. - A local set of three mock EasyDNS APIs returned differing counters, and a real Go panel process polled their existing `/api/v1/stats` endpoints. Authenticated HTML and telemetry JSON were verified. The HTML was rendered offline in Chromium using embedded CSS/Canvas JS, because the browser policy blocks navigating directly to loopback. These screenshots are clearly marked demo fixtures, not live production DNS. - `node --check` passed for `app.js` and `charts.js`. Existing server-selection, CSRF, token-isolation and write-routing regression tests continue to pass. - The previous release retained **0.1.0**; this release is **0.1.1**; there are no native EasyDNS endpoint changes.