diff --git a/src/App.test.tsx b/src/App.test.tsx index c1807695..4a6affe3 100644 --- a/src/App.test.tsx +++ b/src/App.test.tsx @@ -11,9 +11,7 @@ describe("App", () => { expect(screen.getByText("Certificates")).toBeVisible(); expect(screen.getByText("Help")).toBeVisible(); expect(screen.getByRole("banner", { name: "App header" })).toBeVisible(); - expect( - screen.getByRole("heading", { name: /codeGate dashboard/i }), - ).toBeVisible(); + expect(screen.getByRole("heading", { name: /codeGate/i })).toBeVisible(); await userEvent.click(screen.getByText("Certificates")); @@ -79,9 +77,7 @@ describe("App", () => { await userEvent.click(screen.getByText("Help")); await waitFor(() => - expect( - screen.getByRole("link", { name: /codeGate dashboard/i }), - ).toBeVisible(), + expect(screen.getByRole("link", { name: /codeGate/i })).toBeVisible(), ); }); @@ -89,9 +85,7 @@ describe("App", () => { render(); await waitFor(() => - expect( - screen.getByRole("link", { name: "CodeGate Dashboard" }), - ).toBeVisible(), + expect(screen.getByRole("link", { name: "CodeGate" })).toBeVisible(), ); const workspaceSelectionButton = screen.getByRole("button", { diff --git a/src/features/header/components/header.tsx b/src/features/header/components/header.tsx index 8006ad62..40e11259 100644 --- a/src/features/header/components/header.tsx +++ b/src/features/header/components/header.tsx @@ -11,7 +11,7 @@ function HomeLink() { return (

- CodeGate Dashboard + CodeGate

);