From 10bda4456a5d7e968797e88114dd6b977cd003a1 Mon Sep 17 00:00:00 2001 From: ryan-crabbe-berri Date: Fri, 29 May 2026 14:36:06 -0700 Subject: [PATCH] test(e2e): cover Internal Viewer nav, key, and team-info gating (#29075) * test(e2e): cover Internal Viewer nav, key, and team-info gating Three previously-uncovered manual-QA paths for the Internal Viewer role: - Nav only renders the read-only sections; admin-only items (Internal Users, Organizations, Models + Endpoints) stay hidden. - Virtual Keys page hides Create New Key, and the key detail view hides Regenerate / Reset Spend / Delete actions. - Team info page hides Members and Settings tabs for the viewer. * test(e2e): scope viewer nav to sidebar, strengthen tab assertions Address review feedback on the Internal Viewer e2e spec: - Scope the nav test to the sidebar complementary landmark and match items by link role + accessible name. The prior CSS nav, aside selector grabbed the top bar (the sidebar is a complementary landmark, not a