From a31b672b14852b3261b871bd2a17fe6c5e84c214 Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Sun, 16 Aug 2026 12:08:42 -0400 Subject: [PATCH] =?UTF-8?q?test(web):=20admin=20nav=20is=20nine=20tabs=20?= =?UTF-8?q?=E2=80=94=20#2527?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The tab list is pinned by name and order, so adding Missing files failed the assertion. That is the test doing its job: the nav is a deliberate ordering, not an accident, and a new entry should have to be declared rather than slipping in. --- web/src/lib/components/AdminTabs.test.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/web/src/lib/components/AdminTabs.test.ts b/web/src/lib/components/AdminTabs.test.ts index 171b4d3e..85065bbc 100644 --- a/web/src/lib/components/AdminTabs.test.ts +++ b/web/src/lib/components/AdminTabs.test.ts @@ -52,7 +52,7 @@ describe('AdminTabs', () => { ); }); - test('renders all eight tabs in order', () => { + test('renders all nine tabs in order', () => { state.pageUrl = new URL('http://localhost/admin'); render(AdminTabs); const links = screen.getAllByRole('link'); @@ -61,6 +61,9 @@ describe('AdminTabs', () => { 'Integrations', 'Requests', 'Quarantine', + // Missing files sits with Quarantine and Playback errors: the three + // surfaces that show tracks needing an operator's attention. + 'Missing files', 'Playback errors', 'Diagnostics', 'Tuning',