dfdc37eec1
Cross-checks the rendered .device-badge.new count against the API's isNew count rather than forcing a synthetic new-device scenario -- that would permanently pollute the production seen_macs table on every test run. Full end-to-end verification (synthetic device injected via devices-raw.json, confirmed isNew: true, confirmed 0 false positives across the other 71 real devices) was done manually against the live deployment and cleaned up afterward; this test guards the UI/API consistency going forward. 16/16 e2e tests green across 9 spec files. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>