diff --git a/apps/web/src/components/__tests__/turn-navigation.test.tsx b/apps/web/src/components/__tests__/turn-navigation.test.tsx index 92871bf..f051f41 100644 --- a/apps/web/src/components/__tests__/turn-navigation.test.tsx +++ b/apps/web/src/components/__tests__/turn-navigation.test.tsx @@ -54,11 +54,11 @@ describe("TurnNavigation", () => { expect(container.textContent).not.toContain("—"); }); - it("round badge and combatant name are in separate DOM elements", () => { + it("round badge and combatant name are siblings in the center area", () => { renderNav(); const badge = screen.getByText("R1"); const name = screen.getByText("Goblin"); - expect(badge.parentElement).not.toBe(name.parentElement); + expect(badge.parentElement).toBe(name.parentElement); }); it("updates the round badge when round changes", () => { diff --git a/apps/web/src/components/action-bar.tsx b/apps/web/src/components/action-bar.tsx index 5fafa1f..1b2cdd8 100644 --- a/apps/web/src/components/action-bar.tsx +++ b/apps/web/src/components/action-bar.tsx @@ -437,83 +437,93 @@ export function ActionBar({ - {onManagePlayers && ( - - )} - {bestiaryLoaded && onViewStatBlock && ( -