test(web): Shell Library link asserts /library/artists
test-web / test (push) Successful in 33s

This commit is contained in:
2026-06-01 21:00:07 -04:00
parent 27f1cefd55
commit 185b8fa9b5
+3 -1
View File
@@ -48,7 +48,9 @@ describe('Shell', () => {
expect(screen.getByRole('link', { name: label })).toBeInTheDocument();
}
expect(screen.getByRole('link', { name: 'Home' })).toHaveAttribute('href', '/');
expect(screen.getByRole('link', { name: 'Library' })).toHaveAttribute('href', '/library');
// Library jumps to the Artists tab directly so SPA navigation
// bypasses the /library 308-redirect.
expect(screen.getByRole('link', { name: 'Library' })).toHaveAttribute('href', '/library/artists');
expect(screen.getByRole('link', { name: 'Discover' })).toHaveAttribute('href', '/discover');
});