test(web): admin nav is nine tabs — #2527
test-web / test (push) Successful in 40s

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.
This commit is contained in:
2026-08-16 12:08:42 -04:00
parent 8d1f2674fd
commit a31b672b14
+4 -1
View File
@@ -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',