diff --git a/src/components/Header.tsx b/src/components/Header.tsx index 71f27eb1..b7462612 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -251,9 +251,9 @@ export function Header() { className="flex items-center gap-2 hover:opacity-80 transition-opacity" title={t("header.openWelcome")} > - PopiArt +

- popiart-node + Popi.TV

diff --git a/src/components/__tests__/Header.test.tsx b/src/components/__tests__/Header.test.tsx index 84a41691..ce618df4 100644 --- a/src/components/__tests__/Header.test.tsx +++ b/src/components/__tests__/Header.test.tsx @@ -75,14 +75,16 @@ describe("Header", () => { describe("Basic Rendering", () => { it("should render the app title", () => { render(
); - expect(screen.getByText("popiart-node")).toBeInTheDocument(); + expect(screen.getByText("Popi.TV")).toBeInTheDocument(); }); it("should render the brand icon", () => { - render(
); - const icon = screen.getByAltText("PopiArt"); + const { container } = render(
); + const icon = container.querySelector('img[src="/banana_icon.png"]'); expect(icon).toBeInTheDocument(); expect(icon).toHaveAttribute("src", "/banana_icon.png"); + expect(icon).toHaveAttribute("alt", ""); + expect(icon).toHaveAttribute("aria-hidden", "true"); }); it("should hide external author link", () => {