diff --git a/web/app/components/header/account-setting/ip-policies-page/__tests__/index.spec.tsx b/web/app/components/header/account-setting/ip-policies-page/__tests__/index.spec.tsx
index b8822d6aec5..a4935daa693 100644
--- a/web/app/components/header/account-setting/ip-policies-page/__tests__/index.spec.tsx
+++ b/web/app/components/header/account-setting/ip-policies-page/__tests__/index.spec.tsx
@@ -567,4 +567,65 @@ describe('IpPoliciesPage', () => {
expect(screen.queryByText('Enforcing')).not.toBeInTheDocument()
},
)
+
+ it.each(['view', 'edit', 'delete'] as const)(
+ 'links agent and regular app references correctly in %s',
+ async (mode) => {
+ const user = userEvent.setup()
+ const queryClient = createConsoleQueryClient()
+ seedNetworkAccessGroups(queryClient, {
+ groups: [
+ createNetworkAccessGroupFixture({
+ used_by_count: 2,
+ enforcing_count: 1,
+ apps: [
+ {
+ id: 'backing-app',
+ bound_agent_id: 'agent-1',
+ name: 'New Agent',
+ mode: 'workflow',
+ icon: null,
+ icon_type: null,
+ icon_background: null,
+ },
+ {
+ id: 'app-2',
+ name: 'Workflow',
+ mode: 'workflow',
+ icon: null,
+ icon_type: null,
+ icon_background: null,
+ },
+ ],
+ }),
+ ],
+ })
+ renderWithConsoleQuery(
+