diff --git a/src/App.test.tsx b/src/App.test.tsx index 39d2a07..6564293 100644 --- a/src/App.test.tsx +++ b/src/App.test.tsx @@ -909,7 +909,7 @@ test("does not show stale contact-key metadata after switching sessions", async expect( await screen.findByRole("heading", { name: "Account overview" }), ).toBeInTheDocument(); - fireEvent.click(screen.getAllByRole("link", { name: "Contact keys" })[0]!); + fireEvent.click(screen.getAllByRole("link", { name: "Trusted contacts" })[0]!); expect( await screen.findByRole("heading", { name: "Contact public keys" }), ).toBeInTheDocument(); @@ -934,7 +934,7 @@ test("does not show stale contact-key metadata after switching sessions", async expect( await screen.findByRole("heading", { name: "Account overview" }), ).toBeInTheDocument(); - fireEvent.click(screen.getAllByRole("link", { name: "Contact keys" })[0]!); + fireEvent.click(screen.getAllByRole("link", { name: "Trusted contacts" })[0]!); expect(await screen.findByText("Loading contact keys.")).toBeInTheDocument(); expect(screen.queryByText("Alice trusted contact")).toBeNull(); diff --git a/src/components/proofline/AppShell.tsx b/src/components/proofline/AppShell.tsx index eeaa963..b7d922c 100644 --- a/src/components/proofline/AppShell.tsx +++ b/src/components/proofline/AppShell.tsx @@ -10,8 +10,8 @@ import { useAuth } from "../../auth/use-auth"; const navigation = [ { to: "/", label: "Overview" }, - { to: "/incidents", label: "Records" }, - { to: "/contact-keys", label: "Contact keys" }, + { to: "/incidents", label: "Incidents" }, + { to: "/contact-keys", label: "Trusted contacts" }, { to: "/account", label: "Account" }, ];