fix: improve presentation evidence and architecture figure
This commit is contained in:
@@ -81,6 +81,12 @@ describe("ArchitectureScene", () => {
|
||||
expect(onFocusPathChange).toHaveBeenCalledWith(["runtime-providers"]);
|
||||
});
|
||||
|
||||
it("uses the wide figure presentation for the defense architecture scene", () => {
|
||||
renderArchitecture({ focusPath: [] });
|
||||
expect(screen.getByRole("group", { name: /architecture/i })).toHaveAttribute("data-figure-size", "wide");
|
||||
expect(screen.getByTestId("architecture-scene")).toBeInTheDocument();
|
||||
});
|
||||
|
||||
it("renders a directly linked nested provider view", () => {
|
||||
renderArchitecture({
|
||||
focusPath: ["runtime-providers", "configured-providers"],
|
||||
|
||||
@@ -20,7 +20,7 @@ export const ArchitectureScene = ({
|
||||
onFocusPathChange,
|
||||
motionDisabled,
|
||||
}: ArchitectureSceneProps) => (
|
||||
<>
|
||||
<section className="architecture-scene" data-testid="architecture-scene">
|
||||
<StageCaption eyebrow={`Act II · ${scene.claimClass}`} title={scene.title}>
|
||||
<p>{beat.caption}</p>
|
||||
</StageCaption>
|
||||
@@ -30,6 +30,7 @@ export const ArchitectureScene = ({
|
||||
activeNodeId={activeNodeId}
|
||||
onFocusPathChange={onFocusPathChange}
|
||||
motionDisabled={motionDisabled}
|
||||
size="wide"
|
||||
/>
|
||||
</>
|
||||
</section>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user